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] Flink reserved key led to error 源数据库的表中存在flink保留字段,导致创建增量同步时异常 #238

Closed
caiqing0204 opened this issue Jun 20, 2023 · 1 comment
Labels
3.8.0 bug Something isn't working
Milestone

Comments

@caiqing0204
Copy link

caiqing0204 commented Jun 20, 2023

报错信息:
/tis.log:Caused by: org.apache.calcite.sql.parser.SqlParseException: Encountered "method" at line 1, column 63.
./tis.log-Was expecting one of:
./tis.log- <BRACKET_QUOTED_IDENTIFIER> ...
./tis.log- <QUOTED_IDENTIFIER> ...
./tis.log- <BACK_QUOTED_IDENTIFIER> ...
./tis.log- <HYPHENATED_IDENTIFIER> ...
./tis.log- ...
./tis.log- <UNICODE_QUOTED_IDENTIFIER> ...
./tis.log-
./tis.log- at org.apache.flink.sql.parser.impl.FlinkSqlParserImpl.convertException(FlinkSqlParserImpl.java:450)
./tis.log- at org.apache.flink.sql.parser.impl.FlinkSqlParserImpl.normalizeException(FlinkSqlParserImpl.java:213)
./tis.log- at org.apache.calcite.sql.parser.SqlParser.handleException(SqlParser.java:140)
./tis.log- at org.apache.calcite.sql.parser.SqlParser.parseQuery(SqlParser.java:155)
./tis.log- at org.apache.calcite.sql.parser.SqlParser.parseStmt(SqlParser.java:180)
./tis.log- at org.apache.flink.table.planner.parse.CalciteParser.parse(CalciteParser.java:54)
./tis.log- ... 149 common frames omitted

Flink Reserverd Keyword list in below url
https://nightlies.apache.org/flink/flink-docs-release-1.16/docs/dev/table/sql/overview/

@caiqing0204
Copy link
Author

@baisui1981

@baisui1981 baisui1981 changed the title 源数据库的表中存在flink保留字段,导致创建增量同步时异常 [bug] Flink reserved key led to error 源数据库的表中存在flink保留字段,导致创建增量同步时异常 Jun 20, 2023
@baisui1981 baisui1981 added bug Something isn't working 3.8.0 labels Jun 20, 2023
@baisui1981 baisui1981 added this to the v3.8.0 milestone Jun 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.8.0 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants