Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
[CARBONDATA-4317] Fix TPCDS performance issues
Why is this PR needed? The following issues has degraded the TPCDS query performance 1. If dynamic filters is not present in partitionFilters Set, then that filter is skipped, to pushdown to spark. 2. In some cases, some nodes like Exchange / Shuffle is not reused, because the CarbonDataSourceSCan plan is not mached 3. While accessing the metadata on the canonicalized plan throws NPE What changes were proposed in this PR? 1. Check if dynamic filters is present in PartitionFilters set. If not, pushdown the filter 2. Match the plans, by converting them to canonicalized and by normalising the expressions 3. Move variables used in metadata(), to avoid NPE while comparing plans This closes #4241
- Loading branch information
1 parent
d629dc0
commit 0f1d2a45e5f614fd123bd734ab37d7e453c21344
Showing
5 changed files
with
54 additions
and
16 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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