phoenix.exception


2021-11-26 19:21:53 org.apache.phoenix.exception.PhoenixParserException: ERROR 602 (42P00): Syntax error. Missing "NAME" at line 1, column 169.     at org.apache.phoenix.exception.PhoenixParserException.newException(PhoenixParserException.java:33)     at org.apache.phoenix.parse.SQLParser.parseStatement(SQLParser.java:111)     at org.apache.phoenix.jdbc.PhoenixStatement$PhoenixStatementParser.parseStatement(PhoenixStatement.java:1644)     at org.apache.phoenix.jdbc.PhoenixStatement.parseStatement(PhoenixStatement.java:1727)     at org.apache.phoenix.jdbc.PhoenixPreparedStatement.(PhoenixPreparedStatement.java:94)     at org.apache.phoenix.jdbc.PhoenixConnection.prepareStatement(PhoenixConnection.java:896)     at mytest.sink.PhoenixSink.checkTable(PhoenixSink.java:110)     at mytest.sink.PhoenixSink.invoke(PhoenixSink.java:49)     at mytest.sink.PhoenixSink.invoke(PhoenixSink.java:25)     at org.apache.flink.streaming.api.operators.StreamSink.processElement(StreamSink.java:54)     at org.apache.flink.streaming.runtime.tasks.OneInputStreamTask$StreamTaskNetworkOutput.emitRecord(OneInputStreamTask.java:205)     at org.apache.flink.streaming.runtime.io.AbstractStreamTaskNetworkInput.processElement(AbstractStreamTaskNetworkInput.java:134)     at org.apache.flink.streaming.runtime.io.AbstractStreamTaskNetworkInput.emitNext(AbstractStreamTaskNetworkInput.java:105)     at org.apache.flink.streaming.runtime.io.StreamOneInputProcessor.processInput(StreamOneInputProcessor.java:66)     at org.apache.flink.streaming.runtime.tasks.StreamTask.processInput(StreamTask.java:423)     at org.apache.flink.streaming.runtime.tasks.mailbox.MailboxProcessor.runMailboxLoop(MailboxProcessor.java:204)     at org.apache.flink.streaming.runtime.tasks.StreamTask.runMailboxLoop(StreamTask.java:681)     at org.apache.flink.streaming.runtime.tasks.StreamTask.executeInvoke(StreamTask.java:636)     at org.apache.flink.streaming.runtime.tasks.StreamTask.runWithCleanUpOnFail(StreamTask.java:647)     at org.apache.flink.streaming.runtime.tasks.StreamTask.invoke(StreamTask.java:620)     at org.apache.flink.runtime.taskmanager.Task.doRun(Task.java:779)     at org.apache.flink.runtime.taskmanager.Task.run(Task.java:566)     at java.lang.Thread.run(Thread.java:748) Caused by: MissingTokenException(inserted [@-1,0:0='',<108>,1:168] at null)     at org.apache.phoenix.parse.PhoenixSQLParser.recoverFromMismatchedToken(PhoenixSQLParser.java:374)     at org.antlr.runtime.BaseRecognizer.match(BaseRecognizer.java:115)     at org.apache.phoenix.parse.PhoenixSQLParser.parseNoReserved(PhoenixSQLParser.java:11194)     at org.apache.phoenix.parse.PhoenixSQLParser.identifier(PhoenixSQLParser.java:11161)     at org.apache.phoenix.parse.PhoenixSQLParser.column_def(PhoenixSQLParser.java:4494)     at org.apache.phoenix.parse.PhoenixSQLParser.column_defs(PhoenixSQLParser.java:4436)     at org.apache.phoenix.parse.PhoenixSQLParser.create_table_node(PhoenixSQLParser.java:1236)     at org.apache.phoenix.parse.PhoenixSQLParser.oneStatement(PhoenixSQLParser.java:868)     at org.apache.phoenix.parse.PhoenixSQLParser.statement(PhoenixSQLParser.java:524)     at org.apache.phoenix.parse.SQLParser.parseStatement(SQLParser.java:108)     ... 21 more