You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by pa...@apache.org on 2026/04/10 22:20:27 UTC

(cassandra) branch trunk updated: Update data-modeling_schema.adoc

This is an automated email from the ASF dual-hosted git repository.

patrick pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/cassandra.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 1f9ac53b75 Update data-modeling_schema.adoc
1f9ac53b75 is described below

commit 1f9ac53b75006334acbddb1e545742ec2d630020
Author: Amritpal Singh <30...@users.noreply.github.com>
AuthorDate: Wed Sep 25 10:57:49 2024 +0530

    Update data-modeling_schema.adoc
    
    The SQL statement you provided for creating a table in Cassandra has a small syntax issue with the comment. In Cassandra, comments should be enclosed in single quotes (') and preceded by the keyword WITH. Additionally, the comment text should be properly formatted
---
 .../cassandra/pages/developing/data-modeling/data-modeling_schema.adoc  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/modules/cassandra/pages/developing/data-modeling/data-modeling_schema.adoc b/doc/modules/cassandra/pages/developing/data-modeling/data-modeling_schema.adoc
index 68c0cfcea7..43716af441 100644
--- a/doc/modules/cassandra/pages/developing/data-modeling/data-modeling_schema.adoc
+++ b/doc/modules/cassandra/pages/developing/data-modeling/data-modeling_schema.adoc
@@ -40,7 +40,7 @@ CREATE TABLE hotel.pois_by_hotel (
   hotel_id text,
   description text,
   PRIMARY KEY ((hotel_id), poi_name) )
-  WITH comment = Q3. Find pois near a hotel';
+  WITH comment = 'Q3. Find pois near a hotel';
 
 CREATE TABLE hotel.available_rooms_by_hotel_date (
   hotel_id text,


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