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
This commit is contained in:
Amritpal Singh 2024-09-25 10:57:49 +05:30 committed by Patrick McFadin
parent 2c99e53f2b
commit 1f9ac53b75
1 changed files with 1 additions and 1 deletions

View File

@ -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,