[ 
https://issues.apache.org/jira/browse/FLINK-21424?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

HideOnBush updated FLINK-21424:
-------------------------------
    Description: 
{code:java}
Flink view cannot use hive temporal{code}
The kafka table can temporal join Hive Table.

CREATE TABLE kfk_fact_bill_master_pup (

   payLst ROW(groupID int, shopID int, shopName String, isJoinReceived int),

    proctime as PROCTIME()

) WITH (

 'connector' = 'kafka',

 'topic' = 'topic_name',

 'format' = 'json',

);

 

But the next operation will report an error。e.g..

create view test_view as 

  select * from kfk_fact_bill_master_pup;

 

use test_view  temporal join Hive Table will  report error.  and view have 
proctime field.

 

This is Error Message. 

  !screenshot-1.png! 

 

  was:
{code:java}
Flink view cannot use hive temporal{code}
The kafka table can temporal join Hive Table.

CREATE TABLE kfk_fact_bill_master_pup (

   payLst ROW(groupID int, shopID int, shopName String, isJoinReceived int),

    proctime as PROCTIME()

) WITH (

 'connector' = 'kafka',

 'topic' = 'topic_name',

 'format' = 'json',

);

 

But the next operation will report an error。e.g..

create view test_view as 

  select * from kfk_fact_bill_master_pup;

 

use test_view  temporal join Hive Table will  report error.  and view have 
proctime field.

 

This is Error Message. 

 

!企业微信截图_35dfdc08-4f3f-4f34-962f-6db9afcf7cb0.png!

 


> Lookup Hive partitioned table throws exception
> ----------------------------------------------
>
>                 Key: FLINK-21424
>                 URL: https://issues.apache.org/jira/browse/FLINK-21424
>             Project: Flink
>          Issue Type: Wish
>          Components: Connectors / Hive
>    Affects Versions: 1.12.0
>            Reporter: HideOnBush
>            Priority: Major
>         Attachments: screenshot-1.png, screenshot-2.png, 
> 企业微信截图_35dfdc08-4f3f-4f34-962f-6db9afcf7cb0.png
>
>
> {code:java}
> Flink view cannot use hive temporal{code}
> The kafka table can temporal join Hive Table.
> CREATE TABLE kfk_fact_bill_master_pup (
>    payLst ROW(groupID int, shopID int, shopName String, isJoinReceived int),
>     proctime as PROCTIME()
> ) WITH (
>  'connector' = 'kafka',
>  'topic' = 'topic_name',
>  'format' = 'json',
> );
>  
> But the next operation will report an error。e.g..
> create view test_view as 
>   select * from kfk_fact_bill_master_pup;
>  
> use test_view  temporal join Hive Table will  report error.  and view have 
> proctime field.
>  
> This is Error Message. 
>   !screenshot-1.png! 
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to