Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
1.13.1, 1.15.0
-
None
-
None
Description
We can reproduce through a UT
Add test case in HiveDialectITCase
@Test public void testArrayDoesNotExistForExpression() { tableEnv.loadModule("hive", new HiveModule(hiveCatalog.getHiveVersion())); tableEnv.executeSql("CREATE EXTERNAL TABLE t1(" + " `record` array<struct<name:string,`values`:array<string>,value_type:string>>)" + "PARTITIONED BY (" + " `p_date` string)"); tableEnv.executeSql("SELECT" + "n as dpInfo" + "FROM t1" + "LATERAL VIEW explode(record[0].`values`) nnn as n" + "WHERE p_date = \"20220320\""); }
Attachments
Issue Links
- is duplicated by
-
FLINK-27016 Improve supporting for complex data type for Hive dialect
- Closed