[
https://issues.apache.org/jira/browse/FLINK-15463?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17010306#comment-17010306
]
chenchencc commented on FLINK-15463:
------------------------------------
These are two path to do it:
# package only flink-table-planner module ,then put it to the $FLINK_HOME/lib
# package the flink-table module, it need recompile many modules, then put
flink-table.jar to the $FLINK_HOME/lib
> export table sql jar ,meet error: java.lang.ClassNotFoundException:
> org.apache.flink.calcite.shaded.com.google.protobuf.MessageOrBuilder
> ----------------------------------------------------------------------------------------------------------------------------------------
>
> Key: FLINK-15463
> URL: https://issues.apache.org/jira/browse/FLINK-15463
> Project: Flink
> Issue Type: Bug
> Components: Table SQL / API
> Affects Versions: 1.7.2, 1.9.1
> Environment: Windows 10
> Idea IDE
> Reporter: xiexinyuan
> Priority: Major
> Attachments: phoenix-test.zip
>
>
> I can use JDBCInputFormat connect phoenix correct.but when i export
> flink-table api , the program will crash. the error is :
> java.lang.ClassNotFoundException:
> org.apache.flink.calcite.shaded.com.google.protobuf.MessageOrBuilder
> the program code is zipped in the attachement.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)