Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Chat Data hive ERROR!(pyhive.exc.OperationalError)...cannot recognize input near "2024-10-11"',' #2067

Open
4 of 15 tasks
Sloane9511 opened this issue Oct 15, 2024 · 0 comments
Labels
bug Something isn't working Waiting for reply

Comments

@Sloane9511
Copy link

Search before asking

  • I had searched in the issues and found no similar issues.

Operating system information

Linux

Python version information

3.10

DB-GPT version

latest release

Related scenes

  • Chat Data
  • Chat Excel
  • Chat DB
  • Chat Knowledge
  • Model Management
  • Dashboard
  • Plugins

Installation Information

Device information

GPU:1
GPU Memorry:24G

Models information

LLM:CHATGLM4_9B
embedding model:M3E

What happened

Chat Data用hive数据库对话报错但生成的sql查询语句是正确的:
企业微信截图_17287145958956

What you expected to happen

可正常与数据库交互

How to reproduce

1、docker-compose部署
2、新建hive数据库连接,但连接会报错Password should be set if and only if in LDAP or CUSTOM mode
3、修改conn_hive.py如下图,添加auth="custom":
企业微信截图_1728714328492
4、hive数据库连接创建成功
5、chat data与Hive数据库对话,报错但生成的sql查询语句是正确的:
企业微信截图_17287145958956

Additional context

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!
@Sloane9511 Sloane9511 added bug Something isn't working Waiting for reply labels Oct 15, 2024
@Aries-ckt Aries-ckt changed the title [Bug] Chat Data用hive数据库对话报错ERROR!(pyhive.exc.OperationalError)...cannot recognize input near "2024-10-11"',' [Bug] Chat Data hive ERROR!(pyhive.exc.OperationalError)...cannot recognize input near "2024-10-11"',' Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Waiting for reply
Projects
None yet
Development

No branches or pull requests

1 participant