Skip to content

CALCITE-3848 Materialized view rewriting fails for mv consisting of group by on join keys - #1851

Closed
vineetgarg02 wants to merge 27 commits into
apache:masterfrom
vineetgarg02:CALCITE-3848
Closed

CALCITE-3848 Materialized view rewriting fails for mv consisting of group by on join keys#1851
vineetgarg02 wants to merge 27 commits into
apache:masterfrom
vineetgarg02:CALCITE-3848

Conversation

@vineetgarg02

Copy link
Copy Markdown
Contributor

No description provided.

chunweilei and others added 27 commits February 25, 2020 21:26
…FL 1.1 license (category B)

(cherry picked from commit 134430e)
…uting the digest of AggregateCall

Add 'APPROXIMATE' keyword for the agg call to make the digest different
with call that isn't approximate.

close #1835

(cherry picked from commit cdd141d)
…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)
* Update docs to 1.22.0
* Add release notes for 1.22.0
* Update the NOTICE for copyright year
…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
…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.
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.
@vineetgarg02
vineetgarg02 deleted the CALCITE-3848 branch March 9, 2020 23:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants