Skip to content

Commit c701220

Browse files
Update README.md
1 parent d0cde86 commit c701220

File tree

2 files changed

+27
-1
lines changed

2 files changed

+27
-1
lines changed

README.md

+27-1
Original file line numberDiff line numberDiff line change
@@ -128,5 +128,31 @@ After putting data to MinIO storage, you can go to the port http://localhost:900
128128
Create your Trino schema and table in Dbeaver
129129

130130
```sql
131+
-- Create the schema if it doesn't exist
132+
CREATE SCHEMA IF NOT EXISTS lakehouse.products
133+
WITH (location = 's3://datalake/');
134+
135+
-- Create the products table
136+
CREATE TABLE IF NOT EXISTS lakehouse.products.products (
137+
id VARCHAR,
138+
name VARCHAR,
139+
original_price DOUBLE,
140+
price DOUBLE,
141+
fulfillment_type VARCHAR,
142+
brand VARCHAR,
143+
review_count INTEGER,
144+
rating_average DOUBLE,
145+
favourite_count INTEGER,
146+
current_seller VARCHAR,
147+
number_of_images INTEGER,
148+
category VARCHAR,
149+
quantity_sold INTEGER,
150+
discount DOUBLE
151+
) WITH (
152+
location = 's3://datalake/products/'
153+
);
154+
```
131155

132-
```
156+
<p align = "center">
157+
<img src="assets/trino_dbeaver.png" width = 80%>
158+
</p>

assets/trino_dbeaver.png

319 KB
Loading

0 commit comments

Comments
 (0)