Krisztian Kasa

Results 10 issues of Krisztian Kasa

Add new constructor to `RelOptMaterialization` with a parameter of `RelFactories.ProjectFactory` to specify custom ProjectFactory. Please review: @kgyrtkirk, @zabetak

### What changes were proposed in this pull request? * Currently Hive represents the empty result operator with `HiveSortLimit(fetch=0)`. Change this to `HiveValues(tuples[])` like Calcite does. * Improve and extend...

tests failed

### What changes were proposed in this pull request? 1. Materialized view incremental rebuild plans depend on * the MV definitions * and whether the source tables has any delete...

tests passed

In `RexSimplify.simplifyCast` after constant reduction return the reduced expressions operand as result if the reduced expression and it's operand type is equal but different in nullability.

### What changes were proposed in this pull request? ### Why are the changes needed? ### Does this PR introduce _any_ user-facing change? ### Is the change a dependency upgrade?...

tests unstable

### What changes were proposed in this pull request? Apply changes in [CALCITE-6513](https://issues.apache.org/jira/browse/CALCITE-6513) into `HiveFilterProjectTransposeRule`. ### Why are the changes needed? Applying the rule to nested project operators that contain...

tests passed

### What changes were proposed in this pull request? Currently CBO is disabled when a query has `DISTRIBUTE BY` or `CLUSTER BY` clauses. This patch lift this limitation by implementing...

tests unstable

### What changes were proposed in this pull request? Merge statements in Hive are rewritten to multi-insert statements (Merge on Read) or insert select statements where the select clause has...

tests passed

### What changes were proposed in this pull request? ### Why are the changes needed? ### Does this PR introduce _any_ user-facing change? ### Is the change a dependency upgrade?...

tests failed

### What changes were proposed in this pull request? * The materialized view registry is initialized by loading all MVs from HMS that are enabled for query rewrite and precompiled....

tests passed