[
https://issues.apache.org/jira/browse/CASSANDRA-14337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17427617#comment-17427617
]
Andres de la Peña commented on CASSANDRA-14337:
-----------------------------------------------
Thanks for the review, committed to {{trunk}} as
[0d4cc2ef0d246df34d534ef2f0df8ad9bb043206|https://github.com/apache/cassandra/commit/0d4cc2ef0d246df34d534ef2f0df8ad9bb043206].
> cast function is not working in INSERT statement
> ------------------------------------------------
>
> Key: CASSANDRA-14337
> URL: https://issues.apache.org/jira/browse/CASSANDRA-14337
> Project: Cassandra
> Issue Type: Improvement
> Components: Legacy/CQL
> Environment: cqlsh
> Reporter: Rakesh Roshan
> Assignee: Andres de la Peña
> Priority: Normal
> Fix For: 4.x
>
>
> INSERT INTO test.table(last_modified) values(cast(
> ('2018-03-20 13:05:56.063000+0000' as timestamp));
>
> fails with error
> *no viable alternative at input '('*
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]