Skip to content
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
2 changes: 1 addition & 1 deletion src/metadata_provider_mysql.rs
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ impl MetadataProvider for MySqlMetadataProvider {
let rows = sqlx::query(
"SELECT column_id, column_name, column_type, nulls_allowed
FROM ducklake_column
WHERE table_id = ?
WHERE table_id = ? AND end_snapshot IS NULL
ORDER BY column_order",
)
.bind(table_id)
Expand Down
2 changes: 1 addition & 1 deletion src/metadata_provider_postgres.rs
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ impl MetadataProvider for PostgresMetadataProvider {
let rows = sqlx::query(
"SELECT column_id, column_name, column_type, nulls_allowed
FROM ducklake_column
WHERE table_id = $1
WHERE table_id = $1 AND end_snapshot IS NULL
ORDER BY column_order",
)
.bind(table_id)
Expand Down
Loading