File tree Expand file tree Collapse file tree 5 files changed +10
-5
lines changed
duckdb-datalake-partitioned
duckdb-parquet-partitioned Expand file tree Collapse file tree 5 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
3
# Install
4
+ export HOME=${HOME:= ~}
4
5
curl https://install.duckdb.org | sh
5
- export PATH=' /.duckdb/cli/latest' :$PATH
6
+ export PATH=$HOME ' /.duckdb/cli/latest' :$PATH
6
7
7
8
echo -n " Load time: "
8
9
command time -f ' %e' duckdb hits.db -f create.sql
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
3
# Install
4
+ export HOME=${HOME:= ~}
4
5
curl https://install.duckdb.org | sh
5
- export PATH=' /.duckdb/cli/latest' :$PATH
6
+ export PATH=$HOME ' /.duckdb/cli/latest' :$PATH
6
7
7
8
echo -n " Load time: "
8
9
command time -f ' %e' duckdb hits.db -f create.sql
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
3
# Install
4
+ export HOME=${HOME:= ~}
4
5
curl https://install.duckdb.org | sh
5
- export PATH=' /.duckdb/cli/latest' :$PATH
6
+ export PATH=$HOME ' /.duckdb/cli/latest' :$PATH
6
7
7
8
# Load the data
8
9
seq 0 99 | xargs -P100 -I{} bash -c ' wget --continue --progress=dot:giga https://datasets.clickhouse.com/hits_compatible/athena_partitioned/hits_{}.parquet'
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
3
# Install
4
+ export HOME=${HOME:= ~}
4
5
curl https://install.duckdb.org | sh
5
- export PATH=' /.duckdb/cli/latest' :$PATH
6
+ export PATH=$HOME ' /.duckdb/cli/latest' :$PATH
6
7
7
8
# Load the data
8
9
wget --continue --progress=dot:giga ' https://datasets.clickhouse.com/hits_compatible/hits.parquet'
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
3
# Install
4
+ export HOME=${HOME:= ~}
4
5
curl https://install.duckdb.org | sh
5
- export PATH=' /.duckdb/cli/latest' :$PATH
6
+ export PATH=$HOME ' /.duckdb/cli/latest' :$PATH
6
7
7
8
# Load the data
8
9
sudo apt-get install -y pigz
You can’t perform that action at this time.
0 commit comments