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

luoyuxia updated FLINK-27016:
-----------------------------
    Description: 
      There are some issue exist while involving complex data type using Hive 
dialect in Flink.
 # It will throw exception when access array type in a struct. For example, 
such sql will fail:

{code:java}
create table t (s6 map<string, struct<f20:array<string>>>);

SELECT s6['key1'].f20[0] FROM nested_tbl_1;{code}
      2. Hive supports to access the field of a struct list by '.' , but it'll 
throw exception using Hive dialect in Flink.

  was:
      There are some issue exist while involving complex data type using Hive 
dialect in Flink.
 # er
 # 23
 # eer


> Improve supporting for complex data type for Hive dialect
> ---------------------------------------------------------
>
>                 Key: FLINK-27016
>                 URL: https://issues.apache.org/jira/browse/FLINK-27016
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Connectors / Hive
>            Reporter: luoyuxia
>            Priority: Major
>
>       There are some issue exist while involving complex data type using Hive 
> dialect in Flink.
>  # It will throw exception when access array type in a struct. For example, 
> such sql will fail:
> {code:java}
> create table t (s6 map<string, struct<f20:array<string>>>);
> SELECT s6['key1'].f20[0] FROM nested_tbl_1;{code}
>       2. Hive supports to access the field of a struct list by '.' , but 
> it'll throw exception using Hive dialect in Flink.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to