You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "tartarus (Jira)" <ji...@apache.org> on 2022/04/19 07:32:00 UTC
[jira] [Commented] (FLINK-27304) Flink doesn't support Hive primitive type void yet
[ https://issues.apache.org/jira/browse/FLINK-27304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17524142#comment-17524142 ]
tartarus commented on FLINK-27304:
----------------------------------
Looks like it is caused by the hive binary type,
sample array<struct<name:binary>>
not work too
> Flink doesn't support Hive primitive type void yet
> --------------------------------------------------
>
> Key: FLINK-27304
> URL: https://issues.apache.org/jira/browse/FLINK-27304
> Project: Flink
> Issue Type: Sub-task
> Components: Connectors / Hive
> Affects Versions: 1.13.1, 1.15.0
> Reporter: tartarus
> Priority: Major
>
> We can reproduce through a UT
> Add test case in HiveDialectITCase
> {code:java}
> @Test
> public void testHiveVoidType() {
> tableEnv.loadModule("hive", new HiveModule(hiveCatalog.getHiveVersion()));
> tableEnv.executeSql(
> "create table src (a int, b string, c int, sample array<binary>)");
> tableEnv.executeSql("select a, one from src lateral view explode(sample) samples as one where a > 0 ");
> } {code}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)