You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pr@cassandra.apache.org by GitBox <gi...@apache.org> on 2022/10/07 23:59:22 UTC

[GitHub] [cassandra-sidecar] yifan-c commented on a diff in pull request #37: CASSANDRASC-43 Add Schema API

yifan-c commented on code in PR #37:
URL: https://github.com/apache/cassandra-sidecar/pull/37#discussion_r990556195


##########
src/test/resources/schema/test_keyspace_schema.cql:
##########
@@ -0,0 +1,56 @@
+CREATE KEYSPACE testkeyspace WITH REPLICATION = { 'class' : 'org.apache.cassandra.locator.SimpleStrategy', 'replication_factor': '1' } AND DURABLE_WRITES = true;
+
+CREATE TYPE testkeyspace.cidr_range (
+    id uuid,
+    start inet,
+    end inet,
+    description text
+);
+
+CREATE TABLE testkeyspace.testtable (
+                                        partition_key_1 uuid,

Review Comment:
   nit: can be nicely indented the same as `CREATE TYPE`



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org
For additional commands, e-mail: pr-help@cassandra.apache.org