[
https://issues.apache.org/jira/browse/IGNITE-25749?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18004611#comment-18004611
]
Aleksey Plekhanov commented on IGNITE-25749:
--------------------------------------------
[~vladsz83] thanks for the review! Merged to master.
> Calcite. Extended string and literals in unoin
> ----------------------------------------------
>
> Key: IGNITE-25749
> URL: https://issues.apache.org/jira/browse/IGNITE-25749
> Project: Ignite
> Issue Type: Bug
> Affects Versions: 2.17
> Reporter: Vladimir Steshin
> Assignee: Aleksey Plekhanov
> Priority: Major
> Labels: calcite, ignite-2, ise
> Fix For: 2.18
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Test:
> {code:java}
> /** */
> @Test
> public void testCalciteUnionCharLiterals() {
> assertQuery("SELECT * FROM (SELECT 'word' i UNION ALL SELECT 'w' i) t1
> WHERE i='w'")
> .returns("w")
> .check();
> } {code}
> fails because literal 'w' CHAR(1) is extended to 'w ' CHAR(4).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)