Daniel Barclay (Drill) created DRILL-2676:
---------------------------------------------

             Summary: Review Drill casting combinations re SQL standard (ISO 
9705:2011 part 2 § 6.13)
                 Key: DRILL-2676
                 URL: https://issues.apache.org/jira/browse/DRILL-2676
             Project: Apache Drill
          Issue Type: Task
            Reporter: Daniel Barclay (Drill)


Drill doesn't allow casting an expression of an ARRAY type to that same ARRAY 
type.  

That doesn't seem to be compatible with the cast-combinations table in the SQL 
spec. (although I haven't checked the rest of the rules yet.

It also seems illogical, since one can't cast something to the type that it 
already has.

We should probably review Drill casting combinations against the casting rules 
in the SQL specification (ISO 9705:2011 part 2 § 6.13).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to