phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Samarth Jain (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PHOENIX-4358) Case Sensitive String match on SqlType in PDataType
Date Thu, 09 Nov 2017 20:07:00 GMT

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

Samarth Jain commented on PHOENIX-4358:
---------------------------------------

Patch looks fine to me, [~dangulo]. Please add a test in PDataTypeTest to make sure a future
change doesn't end up causing a regression.

> Case Sensitive String match on SqlType in PDataType
> ---------------------------------------------------
>
>                 Key: PHOENIX-4358
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-4358
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 4.11.0
>         Environment: OSX and Linux
>            Reporter: Dave Angulo
>            Priority: Minor
>         Attachments: caseFix.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> fromSqlTypeName() method uses a case sensitive match on input SqlType. This causes an
issue in Spark JDBCUtils.makeSetter() which lowerCases input. The result is the error  _Unsupported
sql type: varchar_.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message