Skip to content

Latest commit

 

History

History
53 lines (43 loc) · 1.69 KB

step4-cassandra.md

File metadata and controls

53 lines (43 loc) · 1.69 KB
Exercise 3.1: User Defined Types (UDTs) ℹ️ For technical support, please contact us via email.
⬅️ Back Step 4 of 4 Next ➡️
Populate and query the table

✅ Load the data from the videos.csv file using the COPY command:

COPY videos(video_id, added_date, description, tags, title, user_id) 
FROM 'assets/videos.csv' WITH HEADER=true;

✅ Load the data from the videos_encoding.csv file using the COPY command:

COPY videos(video_id, encoding) 
FROM 'assets/videos_encoding.csv' WITH HEADER=true;

✅ Run a query to retrieve the first 10 rows of the videos table:

SELECT * FROM videos LIMIT 10;
⬅️ Back Next ➡️