[ 
https://issues.apache.org/jira/browse/CASSANDRA-18328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17704983#comment-17704983
 ] 

Michael Semb Wever commented on CASSANDRA-18328:
------------------------------------------------

[~adelapena], are these test failures, in dtests-upgrade for 3.0 and 3.11, with 
the following error message related?
{noformat}
cassandra.InvalidRequest: Error from server: code=2200 [Invalid query] 
message="Unknown function 'toTimestamp'"
{noformat}

 - 
https://butler.cassandra.apache.org/#/ci/upstream/workflow/Cassandra-3.0/failure/upgrade_tests.cql_tests/TestCQLNodes2RF1_Upgrade_current_2_1_x_To_indev_3_0_x/test_function_with_null
 - 
https://butler.cassandra.apache.org/#/ci/upstream/workflow/Cassandra-3.0/failure/upgrade_tests.cql_tests/TestCQLNodes2RF1_Upgrade_current_2_1_x_To_indev_3_0_x/test_clustering_order_and_functions
 - 
https://butler.cassandra.apache.org/#/ci/upstream/workflow/Cassandra-3.11/failure/upgrade_tests.cql_tests/TestCQLNodes2RF1_Upgrade_current_2_1_x_To_indev_3_11_x/test_function_with_null
 - 
https://butler.cassandra.apache.org/#/ci/upstream/workflow/Cassandra-3.11/failure/upgrade_tests.cql_tests/TestCQLNodes3RF3_Upgrade_current_2_1_x_To_indev_3_11_x/test_clustering_order_and_functions
 


> Remove deprecated CQL functions dateof and unixtimestampof
> ----------------------------------------------------------
>
>                 Key: CASSANDRA-18328
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-18328
>             Project: Cassandra
>          Issue Type: Task
>          Components: CQL/Syntax
>            Reporter: Andres de la Peña
>            Assignee: Andres de la Peña
>            Priority: Normal
>             Fix For: 5.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> The CQL functions {{dateof}} and {{unixtimestampof}} were [deprecated on 
> Cassandra 
> 2.2.0|https://github.com/apache/cassandra/commit/c08aaabd95d4872593c29807de6ec1485cefa7fa],
>  almost eight years ago. They were deprecated in favour of the then new 
> {{totimestamp}} and {{tounixtimestamp}} functions.
> A note about their deprecation was added to 
> [{{NEWS.txt}}|https://github.com/apache/cassandra/blob/trunk/NEWS.txt#L1421-L1423],
>  and they were marked as deprecated on 
> [{{CQL.textile}}|https://github.com/apache/cassandra/blob/trunk/doc/cql3/CQL.textile#time-conversion-functions].
>  They are also listed as deprecated on [the new 
> doc|https://github.com/apache/cassandra/blob/trunk/doc/modules/cassandra/pages/cql/functions.adoc#time-conversion-functions].
> We can finally remove those functions in 5.0, since they have been deprecated 
> for so long.
> Discussion thread 
> [here|https://lists.apache.org/thread/0gs824fpsngn5dr0yq2x1h8qsflj5sr0].



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to