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

ck sql上线会自动把表名转为小写 #2636

Closed
Keeyuu opened this issue May 10, 2024 · 1 comment · Fixed by #2637
Closed

ck sql上线会自动把表名转为小写 #2636

Keeyuu opened this issue May 10, 2024 · 1 comment · Fixed by #2637

Comments

@Keeyuu
Copy link

Keeyuu commented May 10, 2024

重现步骤

  1. 原ck的表是有大写字母的
  2. 使用sql上线的时候发现表不存在,仔细看了之后发现会把大写的表面自动转为小写
  3. 报错 表 sv_import_advertisingcosts 不存在!实际表名是sv_import_advertisingCosts
  4. 尝试了阿里云的ck和自己起的ck 是一样的结果

预期外的结果

1

日志文本

1

版本

1.11.1

部署方式

Docker

是否还有其他可以辅助定位问题的信息?比如数据库版本等

clilckhouse:21.8.3
archery:1.11.1

@LeoQuote
Copy link
Collaborator

sql_list = sqlparse.split(sqls)
请看一下这里的逻辑, 是用了 sqlparse 切分了语句, 你可以测试看看是不是 sqlparse 导致的, 欢迎 pr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants