Yash Sharma 2013-11-06, 05:38
Dhruv 2013-11-06, 05:57
Jason Altekruse 2013-11-06, 07:15
Yash Sharma 2013-11-15, 10:41
Yash Sharma 2013-11-06, 06:29
Timothy Chen 2013-11-15, 18:03
Julian Hyde 2013-11-15, 18:59
Timothy Chen 2013-11-15, 21:20
Julian Hyde 2013-11-15, 21:24
-RE: Thread for discussing CAST functionality
Yash Sharma 2013-11-17, 06:12
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.
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.
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.