[jira] [Commented] (FLINK-15404) How to insert hive table for different catalog

2019-12-27 Thread hehuiyuan (Jira)
[ https://issues.apache.org/jira/browse/FLINK-15404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17003994#comment-17003994 ] hehuiyuan commented on FLINK-15404: --- {code:java} org.apache.flink.table.api.TableException: Stream

[jira] [Commented] (FLINK-15404) How to insert hive table for different catalog

2019-12-26 Thread hehuiyuan (Jira)
[ https://issues.apache.org/jira/browse/FLINK-15404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17003899#comment-17003899 ] hehuiyuan commented on FLINK-15404: --- Hi [~lzljs3620320] , thanks , I ingore to invoke the

[jira] [Commented] (FLINK-15404) How to insert hive table for different catalog

2019-12-26 Thread Jingsong Lee (Jira)
[ https://issues.apache.org/jira/browse/FLINK-15404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17003879#comment-17003879 ] Jingsong Lee commented on FLINK-15404: -- [~hehuiyuan] You need invoke "tableEnv.execute" > How to

[jira] [Commented] (FLINK-15404) How to insert hive table for different catalog

2019-12-26 Thread hehuiyuan (Jira)
[ https://issues.apache.org/jira/browse/FLINK-15404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17003873#comment-17003873 ] hehuiyuan commented on FLINK-15404: --- Hi  [~lzljs3620320]  ,   that is not ok. My usage may be wrong.

[jira] [Commented] (FLINK-15404) How to insert hive table for different catalog

2019-12-26 Thread Jingsong Lee (Jira)
[ https://issues.apache.org/jira/browse/FLINK-15404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17003625#comment-17003625 ] Jingsong Lee commented on FLINK-15404: -- "default" is the keyword of calcite SQL. So you need do:

[jira] [Commented] (FLINK-15404) How to insert hive table for different catalog

2019-12-26 Thread Jingsong Lee (Jira)
[ https://issues.apache.org/jira/browse/FLINK-15404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17003624#comment-17003624 ] Jingsong Lee commented on FLINK-15404: -- > hive catalog only be used in batch table env? Yes, hive

[jira] [Commented] (FLINK-15404) How to insert hive table for different catalog

2019-12-26 Thread hehuiyuan (Jira)
[ https://issues.apache.org/jira/browse/FLINK-15404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17003617#comment-17003617 ] hehuiyuan commented on FLINK-15404: --- Using the {{HiveCatalog}} and Flink’s connector to Hive, Flink

[jira] [Commented] (FLINK-15404) How to insert hive table for different catalog

2019-12-26 Thread hehuiyuan (Jira)
[ https://issues.apache.org/jira/browse/FLINK-15404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17003606#comment-17003606 ] hehuiyuan commented on FLINK-15404: ---   try  {code:java} insert into myhive.default.hive_table select

[jira] [Commented] (FLINK-15404) How to insert hive table for different catalog

2019-12-26 Thread hehuiyuan (Jira)
[ https://issues.apache.org/jira/browse/FLINK-15404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17003604#comment-17003604 ] hehuiyuan commented on FLINK-15404: --- Hi [~ykt836] , hive catalog only be used in batch table env? >

[jira] [Commented] (FLINK-15404) How to insert hive table for different catalog

2019-12-26 Thread Kurt Young (Jira)
[ https://issues.apache.org/jira/browse/FLINK-15404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17003597#comment-17003597 ] Kurt Young commented on FLINK-15404: try  {noformat} insert into myhive.default.hive_table select *