Skip to content

Commit 2b90b22

Browse files
committed
Removed a print statement in run.sh and edited README.md
1 parent c6c4662 commit 2b90b22

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

presto/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ We assume that a Presto cluster is already running. For more information, visit
1212
## Steps
1313

1414
1. Download the parquet file and upload it to an S3 Bucket ex. s3://your-bucket/clickbench-parquet/hits/hits.parquet.
15-
2. Create a new schema in the Hive metastore and create the hits table in the new schema using the create.sql file. Modify the end of the table creation statement to use the parquet file on S3.
15+
2. Create a new schema named `clickbench_parquet` in the Hive metastore (Hive catalog) and create the hits table in the new schema using the create.sql file. Modify the end of the table creation statement to use the parquet file on S3.
1616
```
1717
WITH (
1818
format = 'PARQUET',

presto/run.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
TRIES=3
55
cat queries.sql | while read query; do
6-
echo "{\"sql\":\"$query option(timeoutMs=300000)\"}"| tr -d ';' > query.json
76
for i in $(seq 1 $TRIES); do
87
/opt/presto-cli --server 127.0.0.1:8080 --schema "clickbench_parquet" --session offset_clause_enabled=true --catalog "hive" --execute "${query}"
98
done

0 commit comments

Comments
 (0)