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

Materialized view based on replicated table might not get refreshed

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Materialized views, repl
    • Labels:
      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

            • Assignee:
              Unassigned
              Reporter:
              pvary Peter Vary
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: