-
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
sqlsmith: nil pointer in tryBuildOpaque during ALTER TABLE DROP COLUMN CASCADE #99764
Labels
branch-master
Failures and bugs on the master branch.
branch-release-23.1
Used to mark GA and release blockers, technical advisories, and bugs for 23.1
C-test-failure
Broken test (automatically or manually discovered).
GA-blocker
O-roachtest
O-robot
Originated from a bot.
T-sql-foundations
SQL Foundations Team (formerly SQL Schema + SQL Sessions)
Milestone
Comments
cockroach-teamcity
added
branch-release-23.1
Used to mark GA and release blockers, technical advisories, and bugs for 23.1
C-test-failure
Broken test (automatically or manually discovered).
O-roachtest
O-robot
Originated from a bot.
labels
Mar 28, 2023
Reduced to: SET sql_safe_updates = off;
CREATE TABLE tab26 (
"c
ol0_2" BYTES,
"co l0_3" TIMETZ,
"col😏0%p_4" REGROLE,
col0_5 TIMESTAMPTZ,
"cOl0_7" GEOGRAPHY[],
"c'oL0_8" BOOL,
col0_12 CHAR,
"-col0_14" DATE NOT NULL,
UNIQUE ("co l0_3" ASC, lower(CAST("co l0_3" AS STRING)) ASC)
);
ALTER TABLE tab26 RENAME TO tab454;
ALTER TABLE tab454 DROP COLUMN "co l0_3" CASCADE; |
Further reduced to: SET sql_safe_updates = off;
CREATE TABLE t (
col TIMETZ,
UNIQUE (col, CAST(col AS STRING))
);
ALTER TABLE t DROP COLUMN col CASCADE; Error is:
|
michae2
changed the title
roachtest: sqlsmith/setup=empty/setting=default failed
sqlsmith: nil pointer in tryBuildOpaque during ALTER TABLE DROP COLUMN CASCADE
Mar 30, 2023
@Xiang-Gu can you have a look? |
craig bot
pushed a commit
that referenced
this issue
Apr 6, 2023
100651: roachtest/version-upgrade: re-enable schema changer workload r=fqazi a=fqazi Previously, the schema changer workload was disabled inside the version upgrade test because of intermittent job errors. This patch re-enables this workload again for the version upgrade test. It also updates the test to handle mixed version declarative schema changer support. Fixes: #100409 Release note: None 100750: schemachanger: fixed a bug dropping a column used in expression index r=rafiss a=Xiang-Gu Previously, if we are dropping a column used in an index that includes other columns, we will hit a nil-pointer dereference error. The root cause here is that we might be dropping the same secondary index twice without enough "idempotency" checks. Epic: None Fixes: #99764 Release note (bug fix): Fixed a bug where dropping a column cascade when that column is used in an index that involves other expression column caused a panic. 100836: build: pass `-fno-use-linker-plugin` to compiler r=rail,herkolategan a=rickystewart The missing flag here was causing builds of krb5 to fail. Epic: none Release note: None Co-authored-by: Faizan Qazi <[email protected]> Co-authored-by: Xiang Gu <[email protected]> Co-authored-by: Ricky Stewart <[email protected]>
blathers-crl bot
pushed a commit
that referenced
this issue
Apr 6, 2023
Previously, if we are dropping a column used in an index that includes other columns, we will hit a nil-pointer dereference error. This PR fixes that. Epic: None Fixes: #99764 Release note (bug fix): Fixed a bug where dropping a column cascade when that column is used in an index that involves other expression column caused a panic.
Xiang-Gu
added a commit
to Xiang-Gu/cockroach
that referenced
this issue
Apr 10, 2023
Previously, if we are dropping a column used in an index that includes other columns, we will hit a nil-pointer dereference error. This PR fixes that. Epic: None Fixes: cockroachdb#99764 Release note (bug fix): Fixed a bug where dropping a column cascade when that column is used in an index that involves other expression column caused a panic.
exalate-issue-sync
bot
added
T-sql-foundations
SQL Foundations Team (formerly SQL Schema + SQL Sessions)
and removed
T-sql-schema-deprecated
Use T-sql-foundations instead
labels
May 10, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
branch-master
Failures and bugs on the master branch.
branch-release-23.1
Used to mark GA and release blockers, technical advisories, and bugs for 23.1
C-test-failure
Broken test (automatically or manually discovered).
GA-blocker
O-roachtest
O-robot
Originated from a bot.
T-sql-foundations
SQL Foundations Team (formerly SQL Schema + SQL Sessions)
roachtest.sqlsmith/setup=empty/setting=default failed with artifacts on release-23.1 @ 3551dc089ac3efcb3772df2109164dcb01e79d8f:
Parameters:
ROACHTEST_cloud=gce
,ROACHTEST_cpu=4
,ROACHTEST_encrypted=false
,ROACHTEST_ssd=0
Help
See: roachtest README
See: How To Investigate (internal)
Same failure on other branches
This test on roachdash | Improve this report!
Jira issue: CRDB-26058
The text was updated successfully, but these errors were encountered: