Skip to content

Conversation

@bill-ph
Copy link
Contributor

@bill-ph bill-ph commented Nov 20, 2025

Problem

As first step for https://docs.google.com/document/d/1bBrl2plIXPqvrdZMyqABrg2ffPxEou5INBka-DArFiI/edit?tab=t.0#heading=h.2d3rsn8s6297

This sets up duck lake catalog and storage inside existing Postgres and MinIO dev containers.

How did you test this code?

It is fully automagic for new environment setup using flox, and requires manual uv sync --active for existing environment.

Reviewer please try hogli start to verify error message on uv sync --active, and verify everything else runs after running uv sync --active with "DuckLake is up!" in log messages.

@bill-ph bill-ph self-assigned this Nov 20, 2025
@posthog-bot posthog-bot requested a review from a team November 20, 2025 21:33
@bill-ph bill-ph requested review from EDsCODE and fuziontech and removed request for a team November 20, 2025 21:33
@bill-ph bill-ph changed the title Set up ducklake catalog in dev environment build:Set up ducklake catalog in dev environment Nov 20, 2025
@bill-ph bill-ph changed the title build:Set up ducklake catalog in dev environment build: Set up ducklake catalog in dev environment Nov 20, 2025
Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

8 files reviewed, no comments

Edit Code Review Agent Settings | Greptile

@github-actions
Copy link
Contributor

github-actions bot commented Nov 20, 2025

Size Change: 0 B

Total Size: 3.4 MB

ℹ️ View Unchanged
Filename Size
frontend/dist/toolbar.js 3.4 MB

compressed-size-action

Comment on lines +56 to +63
if ! python3 - <<'PY' >/dev/null 2>&1
import duckdb # noqa: F401
PY
then
echo "DuckLake requires the duckdb Python package."
echo "Run 'uv sync --active' (or activate Flox) before executing hogli start."
exit 1
fi
Copy link
Contributor

Choose a reason for hiding this comment

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

I'd argue we don't need to check for things that are in Python deps and installed with uv since that is pretty much a given they should be present.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

On new environment this would not trigger because people would run uv sync as part of setup process. But on an existing dev environment, if I'm not mistaken, people are not expected to run uv sync --active every time, and hogli start will fail.

Copy link
Collaborator

@EDsCODE EDsCODE left a comment

Choose a reason for hiding this comment

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

works great (tested in existing environment)

@bill-ph bill-ph force-pushed the ducklake-catalog-dev branch from 2da0e52 to 54ae59c Compare November 21, 2025 15:19
@bill-ph bill-ph merged commit 121e6cb into master Nov 21, 2025
200 of 201 checks passed
@bill-ph bill-ph deleted the ducklake-catalog-dev branch November 21, 2025 16:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants