cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Lerer (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (CASSANDRA-14502) toDate() CQL function is instantiated for wrong argument type
Date Fri, 08 Jun 2018 07:18:00 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-14502?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Benjamin Lerer reassigned CASSANDRA-14502:
------------------------------------------

    Assignee: Benjamin Lerer

> toDate() CQL function is instantiated for wrong argument type
> -------------------------------------------------------------
>
>                 Key: CASSANDRA-14502
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-14502
>             Project: Cassandra
>          Issue Type: Bug
>          Components: CQL
>            Reporter: Piotr Sarna
>            Assignee: Benjamin Lerer
>            Priority: Minor
>             Fix For: 4.0.x
>
>
> {{toDate()}} function is instantiated to work for {{timeuuid}} and {{date}} types passed
as an argument, instead of {{timeuuid}} and {{timestamp}}, as stated in this documentation:
[http://cassandra.apache.org/doc/latest/cql/functions.html#datetime-functions]
> As a result it's possible to convert a {{date}} into {{date}}, but not a {{timestamp}}
into {{date}}, which is probably what was meant.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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


Mime
View raw message