flink1.11写hive

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

flink1.11写hive

Dream-底限
hi:
我这面在flink中注册hivecatalog,想将kafka数据流式写入到hive表中,但是现在建立kafka表的时候默认会保存元数据到hive表,请问有办法不保存这个kafka元数据表吗?如果不注册hivecatalog的话没办法写数据到hive吧。。。。
Reply | Threaded
Open this post in threaded view
|

Re: flink1.11写hive

Jingsong Li
CREATE TEMPORARY TABLE kafka_table...
好像没文档,我建个JIRA跟踪下
https://issues.apache.org/jira/browse/FLINK-18624

Best,
Jingsong

On Fri, Jul 17, 2020 at 5:05 PM Dream-底限 <[hidden email]> wrote:

> hi:
>
> 我这面在flink中注册hivecatalog,想将kafka数据流式写入到hive表中,但是现在建立kafka表的时候默认会保存元数据到hive表,请问有办法不保存这个kafka元数据表吗?如果不注册hivecatalog的话没办法写数据到hive吧。。。。
>


--
Best, Jingsong Lee
Reply | Threaded
Open this post in threaded view
|

Re: flink1.11写hive

Rui Li
建表的时候也可以指定Catalog的,创建kafka表指定default_catalog就不会创建到hive Catalog里去了

On Fri, Jul 17, 2020 at 5:13 PM Jingsong Li <[hidden email]> wrote:

> CREATE TEMPORARY TABLE kafka_table...
> 好像没文档,我建个JIRA跟踪下
> https://issues.apache.org/jira/browse/FLINK-18624
>
> Best,
> Jingsong
>
> On Fri, Jul 17, 2020 at 5:05 PM Dream-底限 <[hidden email]> wrote:
>
> > hi:
> >
> >
> 我这面在flink中注册hivecatalog,想将kafka数据流式写入到hive表中,但是现在建立kafka表的时候默认会保存元数据到hive表,请问有办法不保存这个kafka元数据表吗?如果不注册hivecatalog的话没办法写数据到hive吧。。。。
> >
>
>
> --
> Best, Jingsong Lee
>


--
Best regards!
Rui Li