Skip to content

Fix 02116_tuple_element with Analyzer - #51669

Merged
tavplubix merged 3 commits into
ClickHouse:masterfrom
rschu1ze:fix-tuple_element
Jul 2, 2023
Merged

tavplubix merged 3 commits into
ClickHouse:masterfrom
rschu1ze:fix-tuple_element

Conversation

@rschu1ze

@rschu1ze rschu1ze commented Jun 30, 2023 •

Copy link
Copy Markdown
Member

Fixes #51667

Changelog category (leave one):

  • Not for changelog (changelog entry is not required)

@robot-ch-test-poll4 robot-ch-test-poll4 added the pr-not-for-changelog This PR should not be mentioned in the changelog label Jun 30, 2023
@robot-ch-test-poll4

robot-ch-test-poll4 commented Jun 30, 2023 •

Copy link
Copy Markdown
Contributor

This is an automated comment for commit 0483421 with description of existing statuses. It's updated for the latest CI running
The full report is available here
The overall status of the commit is 🟡 pending

Check nameDescriptionStatus
CI runningA meta-check that indicates the running CI. Normally, it's in success or pending state. The failed status indicates some problems with the PR🟡 pending
Mergeable CheckChecks if all other necessary checks are successful🟢 success
Push to DockerhubThe check for building and pushing the CI related docker images to docker hub🟢 success

@qoega

qoega commented Jun 30, 2023

Copy link
Copy Markdown
Member

Closes #51667

SELECT tupleElement(t1, 'b') FROM t_tuple_element; -- { serverError NOT_FOUND_COLUMN_IN_BLOCK, UNKNOWN_IDENTIFIER }
SELECT tupleElement(t1, 0) FROM t_tuple_element; -- { serverError ILLEGAL_INDEX }
SELECT tupleElement(t1, 3) FROM t_tuple_element; -- { serverError ILLEGAL_INDEX }
SELECT tupleElement(t1, 0) FROM t_tuple_element SETTINGS allow_experimental_analyzer = 0; -- { serverError ILLEGAL_INDEX }

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that you can pass several errors in the comment to be accepted, e.g. -- { serverError ILLEGAL_INDEX, NOT_FOUND_COLUMN_IN_BLOCK }. That way you don't need to manually test with and without the analyzer (and leave that to global config)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea. I actually saw this syntax yesterday in some other test and wondered if the author made a mistake :-)

@alexey-milovidov alexey-milovidov self-assigned this Jun 30, 2023
@tavplubix

Copy link
Copy Markdown
Member

Integration tests were broken due to docker images update

@tavplubix
tavplubix merged commit d85f5cc into ClickHouse:master Jul 2, 2023
@tavplubix tavplubix added pr-must-backport Pull request should be backported intentionally. Use this label with great care! v23.6-must-backport and removed pr-must-backport Pull request should be backported intentionally. Use this label with great care! labels Jul 5, 2023
@robot-ch-test-poll3 robot-ch-test-poll3 added the pr-backports-created Backport PRs are successfully created, it won't be processed by CI script anymore label Jul 5, 2023
alexey-milovidov added a commit that referenced this pull request Jul 6, 2023
Backport #51669 to 23.6: Fix 02116_tuple_element with Analyzer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-backports-created Backport PRs are successfully created, it won't be processed by CI script anymore pr-not-for-changelog This PR should not be mentioned in the changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Analyzer] flaky test: 02116_tuple_element

7 participants