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

Switch to Threaded View
Drill >> mail # dev >> Thread for discussing CAST functionality


Copy link to this message
-
Re: Thread for discussing CAST functionality

On Nov 15, 2013, at 1:20 PM, Timothy Chen <[EMAIL PROTECTED]> wrote:

> So Does Optiq use a standard order  of types to test to enforce precedence then?

Not sure what you mean by "precedence". It basically has two matrices, that determine whether an expression of type1 can be converted implicitly or explicitly (via a cast) to type2. The matrices for standard types are in the SQL standard, IIRC.

Non-standard types like ANY are treated specially.

Julian