Skip to content

Conversation

carlopi
Copy link
Contributor

@carlopi carlopi commented Mar 24, 2025

Three changes:

  • cherry-picking [chore] Add v1.2.2 to storage versions, preparation for upcoming patch release #16799 already PR'd against v1.2-histrionicus
  • add storage_version 66 alias v1.3.0
  • change the results of SELECT tags['storage_version'] FROM duckdb_databases() so that only lower bound is returned
    this should make so that result is stable across duckdb versions, and as a side effect tests will also be valid across duckdb version
    unsure if adding a table function with the whole mapping might be of use, that would allow via SQL to reconstruct the full bounds.

This PR do not introduce any change that is actually backward incompatible and requiring a version bump, but there are in-flight PRs such as #15637 or #16648 that can then make use of this

carlopi added 3 commits March 24, 2025 09:57
This should make so that `SELECT tags FROM duckdb_databases()` results will remain stable while new versions
of DuckDB (either patches or minor) are added, since only the lower bound (that will stay fixed) is returned.

If upper bound is desirable, I would consider adding a different table function returning the actual mapping, and via SQL
the full bound can be reconstructed.

Also adding a test on storage 66 (introduced in v1.3.0) to be compatible.
@carlopi carlopi changed the title Add storage_version 66 from version 1.3.0 Add storage_version 66 for version 1.3.0 Mar 24, 2025
@carlopi carlopi marked this pull request as draft March 24, 2025 10:16
@carlopi carlopi marked this pull request as ready for review March 24, 2025 12:11
@duckdb-draftbot duckdb-draftbot marked this pull request as draft March 24, 2025 12:37
@carlopi carlopi marked this pull request as ready for review March 24, 2025 12:37
@carlopi
Copy link
Contributor Author

carlopi commented Mar 24, 2025

Failure is tracked at https://github.com/duckdblabs/duckdb-internal/issues/4499, not connected to this PR.

@Mytherin Mytherin merged commit d34a98d into duckdb:main Mar 25, 2025
51 of 52 checks passed
@Mytherin
Copy link
Collaborator

Thanks!

@carlopi carlopi deleted the storage130 branch March 25, 2025 19:43
@szarnyasg szarnyasg added the Needs Documentation Use for issues or PRs that require changes in the documentation label Apr 9, 2025
krlmlr added a commit to duckdb/duckdb-r that referenced this pull request May 15, 2025
Add storage_version 66 for version 1.3.0 (duckdb/duckdb#16800)
Benchmark runner summary (duckdb/duckdb#16759)
NightlyTests.yml: Inline env variables into build command (duckdb/duckdb#16817)
fix: drop useless python import (duckdb/duckdb#16808)
Regression.yml: Actually checkout proper base.sha commit (duckdb/duckdb#16824)
krlmlr added a commit to duckdb/duckdb-r that referenced this pull request May 15, 2025
Add storage_version 66 for version 1.3.0 (duckdb/duckdb#16800)
Benchmark runner summary (duckdb/duckdb#16759)
NightlyTests.yml: Inline env variables into build command (duckdb/duckdb#16817)
fix: drop useless python import (duckdb/duckdb#16808)
Regression.yml: Actually checkout proper base.sha commit (duckdb/duckdb#16824)
krlmlr added a commit to duckdb/duckdb-r that referenced this pull request May 16, 2025
Add storage_version 66 for version 1.3.0 (duckdb/duckdb#16800)
Benchmark runner summary (duckdb/duckdb#16759)
NightlyTests.yml: Inline env variables into build command (duckdb/duckdb#16817)
fix: drop useless python import (duckdb/duckdb#16808)
Regression.yml: Actually checkout proper base.sha commit (duckdb/duckdb#16824)
krlmlr added a commit to duckdb/duckdb-r that referenced this pull request May 16, 2025
Add storage_version 66 for version 1.3.0 (duckdb/duckdb#16800)
Benchmark runner summary (duckdb/duckdb#16759)
NightlyTests.yml: Inline env variables into build command (duckdb/duckdb#16817)
fix: drop useless python import (duckdb/duckdb#16808)
Regression.yml: Actually checkout proper base.sha commit (duckdb/duckdb#16824)
krlmlr added a commit to duckdb/duckdb-r that referenced this pull request May 16, 2025
Add storage_version 66 for version 1.3.0 (duckdb/duckdb#16800)
Benchmark runner summary (duckdb/duckdb#16759)
NightlyTests.yml: Inline env variables into build command (duckdb/duckdb#16817)
fix: drop useless python import (duckdb/duckdb#16808)
Regression.yml: Actually checkout proper base.sha commit (duckdb/duckdb#16824)
krlmlr added a commit to duckdb/duckdb-r that referenced this pull request May 17, 2025
Add storage_version 66 for version 1.3.0 (duckdb/duckdb#16800)
Benchmark runner summary (duckdb/duckdb#16759)
NightlyTests.yml: Inline env variables into build command (duckdb/duckdb#16817)
fix: drop useless python import (duckdb/duckdb#16808)
Regression.yml: Actually checkout proper base.sha commit (duckdb/duckdb#16824)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Documentation Use for issues or PRs that require changes in the documentation Ready For Review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants