cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edward Capriolo (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-4943) CQL3 global name 'unix_time_from_uuid1' is not defined
Date Sat, 10 Nov 2012 18:33:12 GMT
Edward Capriolo created CASSANDRA-4943:
------------------------------------------

             Summary: CQL3 global name 'unix_time_from_uuid1' is not defined
                 Key: CASSANDRA-4943
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4943
             Project: Cassandra
          Issue Type: Bug
    Affects Versions: 1.2.0 beta 1
            Reporter: Edward Capriolo
            Assignee: Aleksey Yeschenko


   1.
      cqlsh:videos> CREATE TABLE video_logging (
   2.
                ...   videoidandtime varchar,
   3.
                ...   hour int,
   4.
                ...   eid timeuuid,
   5.
                ...   event varchar ,
   6.
                ...   PRIMARY KEY( videoidandtime , hour, eid)
   7.
                ... ) WITH COMPACT STORAGE;
   8.
      cqlsh:videos> insert INTO video_logging (videoidandtime,hour,eid,event) values ('123|2012_01_02',3,now,'liked:bob');
   9.
      Bad Request: line 1:85 no viable alternative at input 'now'
  10.
      cqlsh:videos> insert INTO video_logging (videoidandtime,hour,eid,event) values ('123|2012_01_02',3,'now','liked:bob');
  11.
      cqlsh:videos> insert INTO video_logging (videoidandtime,hour,eid,event) values ('123|2012_01_02',3,'now','watched:sara');
  12.
      cqlsh:videos> insert INTO video_logging (videoidandtime,hour,eid,event) values ('123|2012_01_02',3,'now','liked:sara');
  13.
      cqlsh:videos> select * from video_logging;
  14.
      global name 'unix_time_from_uuid1' is not defined


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message