Michaël Figuière created CASSANDRA-9228:
-------------------------------------------

             Summary: Add documentation for Type Cast, Type Conversion and 
Function Overloading
                 Key: CASSANDRA-9228
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-9228
             Project: Cassandra
          Issue Type: Task
            Reporter: Michaël Figuière
            Priority: Minor


While digging around UDF overloading and type conversion it appeared that 
several topics aren't currently documented in the CQL spec:
* Explicit type casting has been added with CASSANDRA-5226 in Cassandra 1.2.2 
and is currently not explained in the spec.
* UDFs support overloading, this should be explained in the CQL spec, along 
with a clear definition of what is considered as an ambiguous function call.
* In this context it also becomes important to document the type conversion 
rules, that is, which type A can be converted to which type B without raising 
an error.
* Not directly related but it would also be useful to document the column type 
changes that are allowed in {{ALTER TABLE}} statements.

All these fairly important topics are currently not obvious or hard to figure 
out for the user.



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

Reply via email to