[jira] [Updated] (CASSANDRA-14502) toDate() CQL function is instantiated for wrong argument type

2019-07-08 Thread Michael Shuler (JIRA)


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

Michael Shuler updated CASSANDRA-14502:
---
Fix Version/s: (was: 4.x)
   4.0

> 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: Legacy/CQL
>Reporter: Piotr Sarna
>Assignee: Benjamin Lerer
>Priority: Low
> Fix For: 4.0
>
> Attachments: CASSANDRA-14502.txt
>
>
> {{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-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Updated] (CASSANDRA-14502) toDate() CQL function is instantiated for wrong argument type

2018-07-31 Thread Benjamin Lerer (JIRA)


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

Benjamin Lerer updated CASSANDRA-14502:
---
Resolution: Fixed
Status: Resolved  (was: Ready to Commit)

Committed in trunk as 76c7d02c94c735bc5e7ef6ff45d9ddc777b176dd

> 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.x
>
> Attachments: CASSANDRA-14502.txt
>
>
> {{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-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Updated] (CASSANDRA-14502) toDate() CQL function is instantiated for wrong argument type

2018-07-31 Thread Robert Stupp (JIRA)


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

Robert Stupp updated CASSANDRA-14502:
-
Status: Ready to Commit  (was: Patch Available)

> 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.x
>
> Attachments: CASSANDRA-14502.txt
>
>
> {{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-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Updated] (CASSANDRA-14502) toDate() CQL function is instantiated for wrong argument type

2018-07-31 Thread Robert Stupp (JIRA)


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

Robert Stupp updated CASSANDRA-14502:
-
Reviewer: Robert Stupp

+1

> 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.x
>
> Attachments: CASSANDRA-14502.txt
>
>
> {{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-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Updated] (CASSANDRA-14502) toDate() CQL function is instantiated for wrong argument type

2018-07-30 Thread Benjamin Lerer (JIRA)


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

Benjamin Lerer updated CASSANDRA-14502:
---
Attachment: CASSANDRA-14502.txt
Status: Patch Available  (was: Open)

> 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.x
>
> Attachments: CASSANDRA-14502.txt
>
>
> {{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-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org



[jira] [Updated] (CASSANDRA-14502) toDate() CQL function is instantiated for wrong argument type

2018-07-02 Thread Michael Shuler (JIRA)


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

Michael Shuler updated CASSANDRA-14502:
---
Fix Version/s: (was: 4.0.x)
   4.x

> 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.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-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org