[ https://issues.apache.org/jira/browse/FLINK-23549?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17390197#comment-17390197 ]
Mans Singh commented on FLINK-23549: ------------------------------------ Please assign the issue to me. Thanks > Kafka table connector create table example in docs has syntax error > ------------------------------------------------------------------- > > Key: FLINK-23549 > URL: https://issues.apache.org/jira/browse/FLINK-23549 > Project: Flink > Issue Type: Improvement > Components: Connectors / Kafka, Documentation > Affects Versions: 1.13.1 > Reporter: Mans Singh > Priority: Minor > Labels: connector, doc, example, kafka, syntax, table > Fix For: 1.14.0 > > Original Estimate: 0.25h > Remaining Estimate: 0.25h > > The create table example in the docs has an syntax error (extra comma after > the opening bracket): > {quote}CREATE TABLE KafkaTable (, > `ts` TIMESTAMP(3) METADATA FROM 'timestamp', > `user_id` BIGINT, > `item_id` BIGINT, > `behavior` STRING > ) WITH ( > 'connector' = 'kafka', > ... > ) > {quote} > On executing in the FlinkSQL it produces an error: > {quote}[ERROR] Could not execute SQL statement. Reason: > org.apache.flink.sql.parser.impl.ParseException: Encountered "," at line 1, > column 26. > {quote} -- This message was sent by Atlassian Jira (v8.3.4#803005)