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/25 06:35:00 UTC
[jira] [Created] (FLINK-27378) Unexpected rexnode : org.apache.calcite.rex.RexFieldAccess
tartarus created FLINK-27378:
--------------------------------
Summary: Unexpected rexnode : org.apache.calcite.rex.RexFieldAccess
Key: FLINK-27378
URL: https://issues.apache.org/jira/browse/FLINK-27378
Project: Flink
Issue Type: Sub-task
Components: Connectors / Hive
Affects Versions: 1.13.1, 1.15.0
Reporter: tartarus
We can reproduce through a UT
Add test case in HiveDialectITCase
{code:java}
@Test
public void testHiveUnexpectedRexFieldAccess() {
tableEnv.executeSql("create table src (id bigint, type string, complex_struct struct<result:array<struct<name:string,score:double,rank:int>>>) partitioned by (p_date string)");
tableEnv.executeSql("select complex_struct.result.name as tags from src where p_date = '20220319'");
} {code}
--
This message was sent by Atlassian Jira
(v8.20.7#820007)