phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From JamesRTaylor <>
Subject [GitHub] phoenix pull request: PHOENIX-1938 Like operator should throw prop...
Date Wed, 20 May 2015 22:19:01 GMT
Github user JamesRTaylor commented on the pull request:
    Actually, change it to rhs.getDataType().isCoercibleTo(PVarChar.INSTANCE). That's more
or less as you've described, but done in a way that doesn't hard code type checks. Our PDataType
does not necessarily map 1:1 with SQL types, so down the road we might add a PUTF16EncodedType
which would still map to a VARCHAR is SQL. This type of check makes a change like this more

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message