-Re: [jira] [Created] (DRILL-364) Casting to VarChar throws error CompileException
Jinfeng Ni 2014-02-11, 22:27
You are right that vv6 should be declared as a NullableVarCharVector. The
cause of this bug is in the OutputTypeDeterminer for the cast function
definition; we should not use fixed type as the output of cast function.
In stead, we should use a Null-if-Null output type determiner.
I added a new OutputTypeDeterminer when I worked on other SQL functions.
We may fix this cast function bug after we have this new
On Mon, Feb 10, 2014 at 10:43 PM, Mehant Baid (JIRA) <[EMAIL PROTECTED]>wrote: