Julian, so is there any way we can use the class directly ?
I guess we might just have to create a similar rule matrix for Drill's 
datatypes.
Thoughts?

- Yash
________________________________________
From: Julian Hyde [[email protected]]
Sent: Saturday, November 16, 2013 2:54 AM
To: [email protected]
Cc: Yash Sharma
Subject: 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

________________________________






NOTE: This message may contain information that is confidential, proprietary, 
privileged or otherwise protected by law. The message is intended solely for 
the named addressee. If received in error, please destroy and notify the 
sender. Any use of this email is prohibited when received in error. Impetus 
does not represent, warrant and/or guarantee, that the integrity of this 
communication has been maintained nor that the communication is free of errors, 
virus, interception or interference.

Reply via email to