Skip to content

Instantly share code, notes, and snippets.

@rmitula
Created July 28, 2023 07:27
Show Gist options
  • Save rmitula/17044b7517c158d52b6b961c7a309058 to your computer and use it in GitHub Desktop.
Save rmitula/17044b7517c158d52b6b961c7a309058 to your computer and use it in GitHub Desktop.
SELECT changelog.product_id,
changelog.name,
changelog.price,
changelog._change_type,
changelog._commit_snapshot_id,
snapshots.committed_at
FROM "apache_iceberg_showcase"."products_changelog" AS changelog
INNER JOIN "apache_iceberg_showcase"."products$snapshots" as snapshots
ON changelog._commit_snapshot_id = snapshots.snapshot_id
WHERE "name" = 'Product A'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment