You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
155482: *: fix lint errors and remove empty tests r=rail a=rickystewart
Many of these changes are fixes to lint failures that were found by the
recent upgrade to Go 1.25.
The others delete empty test packages that serve no purpose (we would
otherwise build, link, and run the test binaries, only to actually run
no tests).
Release note: None
Epic: None
155956: sql/inspect: skip indexes with virtual columns during INSPECT r=spilchen a=spilchen
INSPECT previously attempted to verify index consistency on indexes containing virtual columns, which would result in internal errors. This occurred because INSPECT relies on LEFT LOOKUP JOIN ... `@{FORCE_INDEX=[...]}` constructs, which require all participating columns to be stored. Virtual columns are not compatible with this constraint, leading to a parser rejection.
This change modifies the behavior of INSPECT to skip any index that has a key column over a virtual column, thereby avoiding the internal error. A follow-up task has been opened to add proper support for virtual columns in INSPECT.
Informs: #155676
Informs: #155483
Epic: CRDB-55075
Release note (bug fix): INSPECT no longer fails when checking index consistency on indexes with virtual key columns. Such indexes will now be skipped.
Co-authored-by: Ricky Stewart <ricky@cockroachlabs.com>
Co-authored-by: Matt Spilchen <matt.spilchen@cockroachlabs.com>
0 commit comments