Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump pg_lakehouse to the latest release #741

Merged
merged 1 commit into from
Aug 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions contrib/pg_lakehouse/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,17 @@ RUN apt-get update && apt-get install -y \
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y

# Set default Rust version
RUN /root/.cargo/bin/rustup default stable
RUN /root/.cargo/bin/rustup default 1.78.0-x86_64-unknown-linux-gnu
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

At least one other extension does this already, so doing to as a quick workaround seemed fine rather than figuring out how to update the pgrx base image.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should also update the base pgrx image tho, yes?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, but I touch this repo infrequently and as 1.8.0 only came out two weeks ago I wasn't in a rush to figure it out.

But yeah, it might be nice if these builders didn't break when new rust versions come out.


# Clone repository
RUN git clone https://github.com/paradedb/paradedb

ARG LAKEHOUSE_VERSION=v0.7.5
ARG LAKEHOUSE_VERSION=v0.9.0
ARG PG_VERSION=15

# Build extension
RUN cd paradedb/pg_lakehouse && \
git fetch origin ${LAKEHOUSE_VERSION} && \
git checkout ${LAKEHOUSE_VERSION} && \
cargo pgrx init --pg${PG_VERSION} /usr/bin/pg_config && \
cargo pgrx package
cargo pgrx package
3 changes: 2 additions & 1 deletion contrib/pg_lakehouse/Trunk.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
[extension]
name = "pg_lakehouse"
version = "0.7.5"
version = "0.9.0"
repository = "https://github.com/paradedb/paradedb"
license = "AGPL-3.0"
description = "An analytical query engine for Postgres, similar to DuckDB"
homepage = "https://github.com/paradedb/paradedb/tree/dev/pg_lakehouse"
documentation = "https://github.com/paradedb/paradedb/blob/dev/pg_lakehouse/README.md"
categories = ["analytics", "data_transformations"]
loadable_libraries = [{ library_name = "pg_lakehouse", requires_restart = true }]

[dependencies]
apt = ["libc6"]
Expand Down