kasakrisz opened a new pull request #2663: URL: https://github.com/apache/hive/pull/2663
### What changes were proposed in this pull request? 1. Add Calcite rule to turn on populating writeId in insert only TableScans. 2. Apply the rule in case of incremental materialized view rebuild * when there were no delete operations since the last MV rebuild * or only partition based incremental rebuild can be applied. ### Why are the changes needed? Materialized views with insert only source tables can not be rebuilt incrementally. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? ``` mvn test -Dtest.output.overwrite -DskipSparkTests -Dtest=TestMiniLlapLocalCliDriver -Dqfile=materialized_view_create_rewrite_8.q,materialized_view_create_rewrite_9.q,materialized_view_partitioned_create_rewrite_agg.q,materialized_view_partitioned_create_rewrite_agg_2.q,materialized_view_partitioned_create_rewrite_agg_3.q -pl itests/qtest -Pitests ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
