[ https://issues.apache.org/jira/browse/PHOENIX-3918?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Thomas D'Silva updated PHOENIX-3918:
------------------------------------
Attachment: PHOENIX-3918-v3.patch
[~jamestaylor]
Thanks for the explanation. I have attached a v3 patch.
> Ensure all function implementations handle null args correctly
> --------------------------------------------------------------
>
> Key: PHOENIX-3918
> URL: https://issues.apache.org/jira/browse/PHOENIX-3918
> Project: Phoenix
> Issue Type: Bug
> Reporter: Samarth Jain
> Assignee: Thomas D'Silva
> Fix For: 4.12.0
>
> Attachments: PHOENIX-3918.patch, PHOENIX-3918-v2.patch, PHOENIX-3918-v3.patch
>
>
> {code}
> testBothParametersNull(org.apache.phoenix.end2end.TimezoneOffsetFunctionIT) Time elapsed:
2.272 sec <<< ERROR!
> java.sql.SQLException: ERROR 201 (22000): Illegal data. Unknown timezone
> at org.apache.phoenix.end2end.TimezoneOffsetFunctionIT.testBothParametersNull(TimezoneOffsetFunctionIT.java:130)
> timezoneParameterNull(org.apache.phoenix.end2end.TimezoneOffsetFunctionIT) Time elapsed:
2.273 sec <<< ERROR!
> java.sql.SQLException: ERROR 201 (22000): Illegal data. Unknown timezone
> at org.apache.phoenix.end2end.TimezoneOffsetFunctionIT.timezoneParameterNull(TimezoneOffsetFunctionIT.java:151)
> dateParameterNull(org.apache.phoenix.end2end.TimezoneOffsetFunctionIT) Time elapsed:
2.254 sec <<< ERROR!
> java.sql.SQLException: ERROR 201 (22000): Illegal data. Expected length of at least 8
bytes, but had 0
> at org.apache.phoenix.end2end.TimezoneOffsetFunctionIT.dateParameterNull(TimezoneOffsetFunctionIT.java:172)
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
|