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 Excel] When the table column name is purely numeric, the execution of the SQL statement will fail. #2347

Open
3 of 15 tasks
HyperForce opened this issue Feb 12, 2025 · 1 comment
Labels
bug Something isn't working Waiting for reply

Comments

@HyperForce
Copy link

Search before asking

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

Operating system information

Linux

Python version information

=3.11

DB-GPT version

main

Related scenes

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

Installation Information

Device information

none

Models information

None

What happened

在使用Chat Excel过程中,若表格列名为纯数字时,会导致sql语句执行失败

What you expected to happen

建议为表格列名加上前缀,以避免纯数字情况

How to reproduce

建议为表格列名加上前缀,以避免纯数字情况

Additional context

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!
@HyperForce HyperForce added bug Something isn't working Waiting for reply labels Feb 12, 2025
@Aries-ckt Aries-ckt changed the title [Bug] [Chat Excel] 表格列名为纯数字时,会导致sql语句执行失败 [Bug] [Chat Excel] When the table column name is purely numeric, the execution of the SQL statement will fail. Feb 16, 2025
@Aries-ckt
Copy link
Collaborator

can you show your excel data?

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

2 participants