Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
Description
To enable the faster incremental rebuild of materialized views presence of update/delete operations on the source tables of the view since the last rebuild must be checked. Based on the outcome different plan is generated for scenarios in presence of update/delete and insert only operations.
Currently this is done by querying the COMPLETED_TXN_COMPONENTS table however the records from this table is cleaned when MV source tables are compacted. This reduces the chances of incremental MV rebuild.
The goal of this patch is to find an alternative way to store and retrieve this information.
Attachments
Issue Links
- is related to
-
HIVE-25878 Unable to compile cpp metastore thrift client
- Resolved
-
HIVE-26375 Invalid materialized view after rebuild if source table was compacted
- Closed
-
HIVE-25745 Print transactional stats of materialized view source tables
- Resolved
-
HIVE-25747 Make a cost base decision when rebuilding materialized views
- Resolved
-
HIVE-25744 Support backward compatibility of thrift struct CreationMetadata
- Closed
- is required by
-
IMPALA-11390 Describe formatted statement on materialized view should show the view definition
- Resolved
- links to