ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Kuznetsov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-8432) GridSqlQueryParser.java throws null pointer if there is a mismatch between the column name casing
Date Tue, 20 Nov 2018 09:33:00 GMT

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

Pavel Kuznetsov commented on IGNITE-8432:
-----------------------------------------

let's merge master to branch and re-run tests.

> GridSqlQueryParser.java throws null pointer if there is a mismatch between the column
name casing
> -------------------------------------------------------------------------------------------------
>
>                 Key: IGNITE-8432
>                 URL: https://issues.apache.org/jira/browse/IGNITE-8432
>             Project: Ignite
>          Issue Type: Improvement
>          Components: sql
>    Affects Versions: 2.4
>            Reporter: Courtney
>            Assignee: Pavel Kuznetsov
>            Priority: Trivial
>
> In the SQL we generate we had a mismatch between column name casing due to unquoted identifiers
being upper cased and we were quoting the column name in the column list but not in the primary
key list.
> That lead to a null pointer exception which wasn't the most obvious thing to trace because
it was being caught, wrapped and re-thrown.
> Line 1043 of GridSqlQueryParser.java has an assert which leads to the error.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message