[ 
https://issues.apache.org/jira/browse/IMPALA-14720?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18058972#comment-18058972
 ] 

Steve Carlin commented on IMPALA-14720:
---------------------------------------

This should be fixed soon.  I have a backlog of code-reviews right now, but in 
my latest local branch with all these patches, this query does work.

> 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
>            Priority: Major
>
> {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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to