× Heads up!

Aqua Data Studio / nhilam

Follow
IDE for Relational Databases
×
funfun reported 2013-09-24T05:38:11Z  · tariqrahiman last modified 2013-10-02T21:02:25Z

Cassandra: value of timeuuid and uuid cannot be quoted in the generated script on 1.2.3+ servers


Dev
Fun Fun
funfun
QA
Tariq Rahiman
tariqrahiman
Priority Major
Complexity Unknown
Component DB - Cassandra
Version 14.0

While testing Cassandra 1.2.1, 1.2.3 and 1.2.4 servers for issue 10020, I noticed that values assigned to timeuuid and uuid data types cannot be quoted on 1.2.3 and 1.2.4 servers. For examples, all of following statements work on 1.2.1 server:
  // --- timeuuid/uuid values are quoted ---
  INSERT INTO "Test_KS_3"."tmp_tbl_data_timeuuid"("c_key", "c_timeuuid")
    VALUES(1, '6ba7b810-9dad-11d1-80b4-00c04fd430c8')
  GO
  INSERT INTO "Test_KS_3"."tmp_tbl_data_uuid"("c_key", "c_uuid")
    VALUES(4, '177f42e6-6f22-44d9-93f6-8c475170daf6')
  GO
  // --- timeuuid/uuid values are NOT quoted ---
  INSERT INTO "Test_KS_3"."tmp_tbl_data_timeuuid"("c_key", "c_timeuuid")
    VALUES(1, 6ba7b810-9dad-11d1-80b4-00c04fd430c8)
  GO
  INSERT INTO "Test_KS_3"."tmp_tbl_data_uuid"("c_key", "c_uuid")
    VALUES(4, 177f42e6-6f22-44d9-93f6-8c475170daf6)
  GO
On 1.2.3 and 1.2.4 servers, the first two statements above won't work.

In the current implementation, timeuuid/uuid values are quoted in the generated script which won't work on 1.2.3/1.2.4 servers. We need to review ADS components where script can be generated and make changes accordingly, e.g. Schema Script Generator, Script Object to As ..., etc.

2 attachments

Issue #10161

Closed
Fixed
Resolved 2013-09-25T04:22:03Z
 
 
Completion
No due date
Fixed Build 14.0.0-rc-30/15.0.0-dev-16
No time estimate

About AquaClusters Privacy Policy Support Version - 19.0.2-4 AquaFold, Inc Copyright © 2007-2017