Skip to content

Commit

Permalink
Bump DuckDB to v0.10.2
Browse files Browse the repository at this point in the history
  • Loading branch information
prmoore77 committed Apr 17, 2024
1 parent 666b728 commit 7cad007
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ RUN cmake -S . -B build -G Ninja -DCMAKE_INSTALL_PREFIX=/usr/local && \
COPY --chown=app_user:app_user ./tls ./tls

# Install DuckDB CLI for troubleshooting, etc.
ARG DUCKDB_VERSION="0.10.1"
ARG DUCKDB_VERSION="0.10.2"

RUN case ${TARGETPLATFORM} in \
"linux/amd64") DUCKDB_FILE=https://github.com/duckdb/duckdb/releases/download/v${DUCKDB_VERSION}/duckdb_cli-linux-amd64.zip ;; \
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.ci
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ RUN chmod +x /usr/local/bin/flight_sql_client
COPY --chown=app_user:app_user tls tls

# Install DuckDB CLI for troubleshooting, etc.
ARG DUCKDB_VERSION="0.10.1"
ARG DUCKDB_VERSION="0.10.2"

RUN case ${TARGETPLATFORM} in \
"linux/amd64") DUCKDB_FILE=https://github.com/duckdb/duckdb/releases/download/v${DUCKDB_VERSION}/duckdb_cli-linux-amd64.zip ;; \
Expand Down
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@ The above command will automatically mount a very small TPC-H DuckDB database fi
When running the Docker image - you can have it run your own DuckDB database file (the database must be built with DuckDB version: 0.10.1).

Prerequisite: DuckDB CLI
Install DuckDB CLI version [0.10.1](https://github.com/duckdb/duckdb/releases/tag/v0.10.1) - and make sure the executable is on your PATH.
Install DuckDB CLI version [0.10.2](https://github.com/duckdb/duckdb/releases/tag/v0.10.2) - and make sure the executable is on your PATH.

Platform Downloads:
[Linux x86-64](https://github.com/duckdb/duckdb/releases/download/v0.10.1/duckdb_cli-linux-amd64.zip)
[Linux arm64 (aarch64)](https://github.com/duckdb/duckdb/releases/download/v0.10.1/duckdb_cli-linux-aarch64.zip)
[MacOS Universal](https://github.com/duckdb/duckdb/releases/download/v0.10.1/duckdb_cli-osx-universal.zip)
[Linux x86-64](https://github.com/duckdb/duckdb/releases/download/v0.10.2/duckdb_cli-linux-amd64.zip)
[Linux arm64 (aarch64)](https://github.com/duckdb/duckdb/releases/download/v0.10.2/duckdb_cli-linux-aarch64.zip)
[MacOS Universal](https://github.com/duckdb/duckdb/releases/download/v0.10.2/duckdb_cli-osx-universal.zip)

In this example, we'll generate a new TPC-H Scale Factor 1 (1GB) database file, and then run the docker image to mount it:

Expand Down Expand Up @@ -195,7 +195,7 @@ version(): string
Results:
version(): [
"v0.10.1"
"v0.10.2"
]
Total: 1
Expand Down Expand Up @@ -279,9 +279,9 @@ This option allows choosing from two backends: SQLite and DuckDB. It defaults to

```bash
$ FLIGHT_PASSWORD="flight_password" flight_sql_server --database-filename data/TPC-H-small.duckdb
Apache Arrow version: 15.0.0
Apache Arrow version: 15.0.2
WARNING - TLS is disabled for the Flight SQL server - this is insecure.
DuckDB version: v0.10.1
DuckDB version: v0.10.2
Running Init SQL command:
SET autoinstall_known_extensions = true;
Running Init SQL command:
Expand All @@ -304,7 +304,7 @@ FLIGHT_PASSWORD="flight_password" flight_sql_server --backend sqlite --database-
The above will produce the following:

```bash
Apache Arrow version: 15.0.0
Apache Arrow version: 15.0.2
WARNING - TLS is disabled for the Flight SQL server - this is insecure.
SQLite version: 3.45.0
Using database file: "/opt/flight_sql/data/TPC-H-small.sqlite"
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
pandas==2.1.*
duckdb==0.10.1
duckdb==0.10.2
click==8.1.*
pyarrow==15.0.2
adbc-driver-flightsql==0.11.*
Expand Down
2 changes: 1 addition & 1 deletion third_party/DuckDB_CMakeLists.txt.in
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ ExternalProject_Add(
duckdb_project
PREFIX ${CMAKE_BINARY_DIR}/third_party
GIT_REPOSITORY https://github.com/duckdb/duckdb
GIT_TAG v0.10.1
GIT_TAG v0.10.2
CMAKE_ARGS
-DCMAKE_INSTALL_PREFIX=${CMAKE_BINARY_DIR}/third_party/duckdb
)

0 comments on commit 7cad007

Please sign in to comment.