Skip to content

Commit 3787e0a

Browse files
Fix DuckDB
1 parent 0d08c39 commit 3787e0a

File tree

5 files changed

+10
-55
lines changed

5 files changed

+10
-55
lines changed

duckdb-datalake-partitioned/benchmark.sh

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,8 @@
11
#!/bin/bash
22

33
# Install
4-
sudo apt-get update -y
5-
sudo apt-get install -y ninja-build cmake build-essential make ccache pip clang
6-
7-
export CC=clang
8-
export CXX=clang++
9-
git clone https://github.com/duckdb/duckdb
10-
cd duckdb
11-
git checkout v1.3-ossivalis
12-
GEN=ninja NATIVE_ARCH=1 LTO=thin make
13-
export PATH="$PATH:`pwd`/build/release/"
14-
cd ..
4+
curl https://install.duckdb.org | sh
5+
export PATH='/Users/milovidov/.duckdb/cli/latest':$PATH
156

167
echo -n "Load time: "
178
command time -f '%e' duckdb hits.db -f create.sql

duckdb-datalake/benchmark.sh

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,8 @@
11
#!/bin/bash
22

33
# Install
4-
sudo apt-get update -y
5-
sudo apt-get install -y ninja-build cmake build-essential make ccache pip clang
6-
7-
export CC=clang
8-
export CXX=clang++
9-
git clone https://github.com/duckdb/duckdb
10-
cd duckdb
11-
git checkout v1.3-ossivalis
12-
GEN=ninja NATIVE_ARCH=1 LTO=thin make
13-
export PATH="$PATH:`pwd`/build/release/"
14-
cd ..
4+
curl https://install.duckdb.org | sh
5+
export PATH='/Users/milovidov/.duckdb/cli/latest':$PATH
156

167
echo -n "Load time: "
178
command time -f '%e' duckdb hits.db -f create.sql

duckdb-parquet-partitioned/benchmark.sh

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,8 @@
11
#!/bin/bash
22

33
# Install
4-
sudo apt-get update -y
5-
sudo apt-get install -y ninja-build cmake build-essential make ccache pip clang
6-
7-
export CC=clang
8-
export CXX=clang++
9-
git clone https://github.com/duckdb/duckdb
10-
cd duckdb
11-
git checkout v1.3-ossivalis
12-
GEN=ninja NATIVE_ARCH=1 LTO=thin make
13-
export PATH="$PATH:`pwd`/build/release/"
14-
cd ..
4+
curl https://install.duckdb.org | sh
5+
export PATH='/Users/milovidov/.duckdb/cli/latest':$PATH
156

167
# Load the data
178
seq 0 99 | xargs -P100 -I{} bash -c 'wget --continue --progress=dot:giga https://datasets.clickhouse.com/hits_compatible/athena_partitioned/hits_{}.parquet'

duckdb-parquet/benchmark.sh

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,8 @@
11
#!/bin/bash
22

33
# Install
4-
sudo apt-get update -y
5-
sudo apt-get install -y ninja-build cmake build-essential make ccache pip clang
6-
7-
export CC=clang
8-
export CXX=clang++
9-
git clone https://github.com/duckdb/duckdb
10-
cd duckdb
11-
git checkout v1.3-ossivalis
12-
GEN=ninja NATIVE_ARCH=1 LTO=thin make
13-
export PATH="$PATH:`pwd`/build/release/"
14-
cd ..
4+
curl https://install.duckdb.org | sh
5+
export PATH='/Users/milovidov/.duckdb/cli/latest':$PATH
156

167
# Load the data
178
wget --continue --progress=dot:giga 'https://datasets.clickhouse.com/hits_compatible/hits.parquet'

duckdb/benchmark.sh

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,8 @@
11
#!/bin/bash
22

33
# Install
4-
sudo apt-get update -y
5-
sudo apt-get install -y ninja-build cmake build-essential make ccache pip clang
6-
7-
export CC=clang
8-
export CXX=clang++
9-
git clone https://github.com/duckdb/duckdb
10-
cd duckdb
11-
git checkout v1.3-ossivalis
12-
LATEST_STORAGE=1 GEN=ninja NATIVE_ARCH=1 LTO=thin make
13-
export PATH="$PATH:`pwd`/build/release/"
14-
cd ..
4+
curl https://install.duckdb.org | sh
5+
export PATH='/Users/milovidov/.duckdb/cli/latest':$PATH
156

167
# Load the data
178
sudo apt-get install -y pigz

0 commit comments

Comments
 (0)