Move timezone with timestamp plan checker to intermediate plan stage #23374
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.
Description
This plan check is added in #23200
However, it does not check the row expressions in table scan node (for example filters pushed down into table scan). Since we will need to check the type of table scan and add logic for all connectors if we want to solve it in the plan checker, I instead choose to move the plan check to the intermediate plan stage, which happens before filter pushdown.
Motivation and Context
Cover queries which not covered
Impact
Cover queries which not covered
Test Plan
Existing unit tests and newly added test
Contributor checklist
Release Notes
Please follow release notes guidelines and fill in the release notes below.