CALCITE-3848 Materialized view rewriting fails for mv consisting of group by on join keys - #1851
Closed
vineetgarg02 wants to merge 27 commits into
Closed
CALCITE-3848 Materialized view rewriting fails for mv consisting of group by on join keys#1851vineetgarg02 wants to merge 27 commits into
vineetgarg02 wants to merge 27 commits into
Conversation
…when removing a rule
(cherry picked from commit 6fd4de7)
…FL 1.1 license (category B) (cherry picked from commit 134430e)
(cherry picked from commit eab156a)
…leset * Add BindableTableScanRule into the default ruleset, so there are 2 table implementations, the planner would choose the one with cheaper cost * Fix the cost estimation of BindableTableScan if there are no pushings * Allows the Scannable table to have the EnumerableTableScan as impl * For CsvTable and JsonTable in the example module, decoupling the logic of runtime from Table#getRowType, so that these tables can implement as ENUMERABLE convention(when there are no pushings) (cherry picked from commit 2f1b4a9)
(cherry picked from commit a549342)
* Update docs to 1.22.0 * Add release notes for 1.22.0 * Update the NOTICE for copyright year
… range beyond 255 (Vineet Garg) Close #1828
…ng windowing expression (Vineet Garg) Close #1830
…es (addendum) * Fix LatticeTest > testDistinctCount2() Close #1836
…ly check multiset (Xiening Dai) The check of containsMultiset() is shortcut by a "false" constant. Also what the function really does is to check rel node does not contain window aggs. Close #1827
…med as its left input
… support enumerator re-initialization
…rent RelSet Suppose we have 2 RelSets: RelSet A: rel1 RelSet B: rel2 rel1 is the parent of rel2. If there is a transformation rule that transform rel1 to rel2, we will merge RelSet A and B. During merge process, we can safely prune rel1 to avoid further rule apply on rel1 and reduce search space, more importantly, avoid cyclic reference.
…Count,RelMdMinRowCount,RelMdTableReferences
Upgrade to avatica-1.16.0, getting fix for [CALCITE-3199] "DateTimeUtils.unixDateCeil should not return the same value as unixDateFloor". Implement "FLOOR(date TO timeUnit)" for QUARTER, WEEK, and fix bugs in YEAR, MONTH.
String.replaceAll uses regex, which is inefficient, and may not be what we want. For strings, use either String.replace; for regex use Pattern.compile().matcher().replaceAll(), being sure to store the pattern for future use. Add entries to forbidden-apis/signatures.txt to prevent people using String.replaceAll in future.
…roup by on join keys (Vineet Garg)
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.
No description provided.