Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Plain 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:
 
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB