Repository navigation
Backport #115716 to 26.3: Report a clean error when a table expression has no columns to read - #119654
Merged
Conversation
…n has no columns to read
Contributor
|
Workflow [BackportPR], commit [01780aa] Summary: ✅ |
The two tests #115716 added build their column-less table expression with `ENGINE = Alias(...)`. On master `allow_experimental_alias_table_engine` is `MAKE_OBSOLETE` and the guard is gone from `StorageAlias.cpp` altogether, so no setting is needed there. On 26.3 the setting is still a live `Bool` defaulting to `false` and `registerStorageAlias` throws at `LoadingStrictnessLevel::CREATE`: Code: 344. DB::Exception: Experimental Alias table engine is not enabled (turn on setting 'allow_experimental_alias_table_engine'). (SUPPORT_IS_DISABLED) So both tests failed on their first `CREATE`, on the initial run and on the retry, in `Stateless tests (amd_asan, distributed plan, parallel, 1/2)` and `(2/2)`. Nothing else in those jobs failed. Enabling the setting is what every other alias test on this branch already does (`03636_storage_alias_basic.sql`, `03636_storage_alias_syntax.sql`, `03802_storage_alias_referential_check.sql`, `04055_storage_alias_bake_currentDatabase.sql`, `03636_storage_alias_access_rights.sh`). The guard fires only on `CREATE`, so the later sessions that grant on, select from and drop the aliases need nothing, and neither test echoes its input, so the reference files are unchanged. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Original pull-request #115716
This pull-request is a last step of an automated backporting.
Treat it as a standard pull-request: look at the checks and resolve conflicts.
Merge it only if you intend to backport changes to the target branch, otherwise just close it.
The PR source
The PR is created in the CI job
Version info
26.3.33.67