-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Open
Description
Search before asking
- I had searched in the issues and found no similar issues.
Version
Caused by: java.sql.SQLException: errCode = 2, detailMessage = Syntax error in line 9:
AUTO PARTITION BY RANGE date_trunc(k1, 'year')
^
Encountered: IDENTIFIER
Expected
原因:
实际建表语句是: AUTO PARTITION BY RANGE (date_trunc(k1, 'year'))
show create table语句是: AUTO PARTITION BY RANGE date_trunc(k1, 'year')
少了一个(),导致执行错误
What's Wrong?
Caused by: java.sql.SQLException: errCode = 2, detailMessage = Syntax error in line 9:
AUTO PARTITION BY RANGE date_trunc(k1, 'year')
^
Encountered: IDENTIFIER
Expected
What You Expected?
实际建表语句是: AUTO PARTITION BY RANGE (date_trunc(k1, 'year'))
show create table语句是: AUTO PARTITION BY RANGE date_trunc(k1, 'year')
少了一个(),导致执行错误
How to Reproduce?
No response
Anything Else?
No response
Are you willing to submit PR?
- Yes I am willing to submit a PR!
Code of Conduct
- I agree to follow this project's Code of Conduct
Metadata
Metadata
Assignees
Labels
No labels