Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-22111

Materialized view based on replicated table might not get refreshed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • Materialized views, repl
    • None

    Description

      Consider the following scenario:

      • create a base table which we replicate
      • create a materialized view in the target hive based on the base table
      • modify (delete/update) the base table in the source hive
      • replicate the changes (delete/update) to the target hive
      • query the materialized view in the target hive

      We do not refresh the data, since when the transaction is created by replication we set ctc_update_delete to 'N'.

      Attachments

        Activity

          People

            Unassigned Unassigned
            pvary Peter Vary
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: