Jacek Lewandowski created CASSANDRA-19701:
---------------------------------------------

             Summary: Creating a map with duration type should be disallowed
                 Key: CASSANDRA-19701
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-19701
             Project: Cassandra
          Issue Type: Bug
          Components: CQL/Semantics
            Reporter: Jacek Lewandowski


The method {{MapType.referencesDuration}} returns true only if the map value 
references duration. The implementation should check both key and value types 
because maps are compared by keys and values and duration type cannot be 
consistently compared.

This needs to take into account the existing databases which already references 
such types



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to