Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Drill >> mail # dev >> Re: [jira] [Created] (DRILL-364) Casting to VarChar throws error CompileException


Copy link to this message
-
Re: [jira] [Created] (DRILL-364) Casting to VarChar throws error CompileException
Hi Mehant,

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
OutputTypeDeterminer.
On Mon, Feb 10, 2014 at 10:43 PM, Mehant Baid (JIRA) <[EMAIL PROTECTED]>wrote: