Uploaded image for project: 'Apache HAWQ'
  1. Apache HAWQ
  2. HAWQ-999

Log_error when file count is not in proportion to bucket number of hash table.

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1.0.0-incubating
    • Component/s: Core
    • Labels:
      None

      Description

      By definition, file count of a hash table should be equal to or a multiple of the bucket number of the table. So if mismatch happens, we should not treat it as hash table in data locality algorithm.
      The default behaviour should LOG_ERROR and tell the user "file count is not in proportion to bucket number for hash table with oid=XXXXX. Some data maybe lost, if you still want to continue the query, set GUC assign_randomly_for_mismatched_hash_table to true and try again."
      If GUC assign_randomly_for_mismatched_hash_table is on, the behaviour changed to treat the hash table as random table in data locality algorithm.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                hubertzhang Hubert Zhang
                Reporter:
                hubertzhang Hubert Zhang
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: