Csaba Ringhofer created IMPALA-10341:
----------------------------------------
Summary: Casting NaN to VARCHAR does not enforce max length
Key: IMPALA-10341
URL: https://issues.apache.org/jira/browse/IMPALA-10341
Project: IMPALA
Issue Type: Bug
Components: Backend
Reporter: Csaba Ringhofer
select cast(0/0 as varchar(1))
release: returns "nan", which shouldn't be possible with varchar(1)
debug: hits a dcheck and crashes
I realized that this is not handled well during the review of
https://gerrit.cloudera.org/#/c/16719/
Hopefully the same patch will fix this issue.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]