Skip to content

Commit 1f9ac53

Browse files
Amritmattipmcfadin
authored andcommitted
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
1 parent 2c99e53 commit 1f9ac53

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

doc/modules/cassandra/pages/developing/data-modeling/data-modeling_schema.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ CREATE TABLE hotel.pois_by_hotel (
4040
hotel_id text,
4141
description text,
4242
PRIMARY KEY ((hotel_id), poi_name) )
43-
WITH comment = Q3. Find pois near a hotel';
43+
WITH comment = 'Q3. Find pois near a hotel';
4444
4545
CREATE TABLE hotel.available_rooms_by_hotel_date (
4646
hotel_id text,

0 commit comments

Comments
 (0)