You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Benjamin Lerer (Jira)" <ji...@apache.org> on 2021/10/08 15:51:00 UTC

[jira] [Commented] (CASSANDRA-14337) cast function is not working in INSERT statement

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

Benjamin Lerer commented on CASSANDRA-14337:
--------------------------------------------

[~adelapena] If I am not mistaken you have a patch for that ticket, right?

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