You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "weihua zhang (Jira)" <ji...@apache.org> on 2026/02/04 09:45:00 UTC

[jira] [Created] (IMPALA-14720) select 'aaa' union select 'bbbbbbb' throw error

weihua zhang created IMPALA-14720:
-------------------------------------

             Summary: select 'aaa' union select 'bbbbbbb' throw error
                 Key: IMPALA-14720
                 URL: https://issues.apache.org/jira/browse/IMPALA-14720
             Project: IMPALA
          Issue Type: Sub-task
            Reporter: weihua zhang



{code:java}
[localhost:21050] testdb> set use_calcite_planner=1;
USE_CALCITE_PLANNER set to 1
[localhost:21050] testdb> select 'aaa' union select  'bbbbbbb';
Query: select 'aaa' union select  'bbbbbbb'
Query submitted at: 2026-02-04 09:39:08 (Coordinator: http://b6c067f5e758:25000)
2026-02-04 09:39:08 [Exception]  ERROR: Query 9541cfffc7fadcaa:a932339d00000000 failed:
AssertionError: Conversion to relational algebra failed to preserve datatypes:
validated type:
RecordType(VARCHAR(2147483647) CHARACTER SET "UTF-8" EXPR$0) NOT NULL
converted type:
RecordType(VARCHAR(2147483647) CHARACTER SET "UTF-8" NOT NULL EXPR$0) NOT NULL
rel:
LogicalValues(tuples=[[{ _UTF-8'aaa' }, { _UTF-8'bbbbbbb' }]])
{code}




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org