-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
version upgrade failure: jsonb columns are not indexable #101409
Labels
C-bug
Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
T-sql-queries
SQL Queries Team
Comments
rharding6373
added
the
C-bug
Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
label
Apr 13, 2023
Maybe related to the recent jsonb column indexing changes: #99275 |
I suspect randgen changed to introduce JSON types into index keys and that change should have been version gated, or the version-upgrade test should be made to expect these errors. |
This was referenced Apr 14, 2023
fqazi
added a commit
to fqazi/cockroach
that referenced
this issue
Apr 19, 2023
Previously, the mixed version test could generate SQL not valid in a mixed version state with JSON types in indexes. To address this, this patch adds a version check for validating that these indexes are supported. Fixes: cockroachdb#101274, cockroachdb#101409, cockroachdb#101514 Release note: None
craig bot
pushed a commit
that referenced
this issue
Apr 20, 2023
101638: roachtest: schemachange/mixed-versions: check version for JSON types r=fqazi a=fqazi Previously, the mixed version test could generate SQL not valid in a mixed version state with JSON types in indexes. To address this, this patch adds a version check for validating that these indexes are supported. Fixes: #101274, #101409, #101514 Release note: None Co-authored-by: Faizan Qazi <[email protected]>
Fixed by #101638. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
C-bug
Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
T-sql-queries
SQL Queries Team
An acceptance/version-upgrade test failed with the error that jsonb columns are not indexable.
Link to test failure: https://teamcity.cockroachdb.com/viewLog.html?buildId=9576487&tab=buildResultsDiv&buildTypeId=Cockroach_Ci_Tests_LocalRoachtest
The relevant log is in artifacts acceptance/version-upgrade/run_1/artifacts.zip!/run_233330.190485602_n1_workload-run-schemac.log
Error:
The table:
Jira issue: CRDB-26928
The text was updated successfully, but these errors were encountered: