[
https://issues.apache.org/jira/browse/FLINK-23549?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Flink Jira Bot updated FLINK-23549:
-----------------------------------
Labels: connector doc example kafka pull-request-available stale-assigned
syntax table (was: connector doc example kafka pull-request-available syntax
table)
I am the [Flink Jira Bot|https://github.com/apache/flink-jira-bot/] and I help
the community manage its development. I see this issue is assigned but has not
received an update in 30 days, so it has been labeled "stale-assigned".
If you are still working on the issue, please remove the label and add a
comment updating the community on your progress. If this issue is waiting on
feedback, please consider this a reminder to the committer/reviewer. Flink is a
very active project, and so we appreciate your patience.
If you are no longer working on the issue, please unassign yourself so someone
else may work on it.
> 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
> Assignee: Mans Singh
> Priority: Minor
> Labels: connector, doc, example, kafka, pull-request-available,
> stale-assigned, 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)