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

Incorrect check of hawqregister in case of randomly distributed table with non-default `default_hash_table_bucket_number` value.

    XMLWordPrintableJSON

Details

    Description

      Bug reproduce process:

      postgres=# set default_hash_table_bucket_number=10;
      
      postgres=# create table sales2( amount numeric(10,2), year integer) with(appendonly=true) distributed randomly partition by range(year) (start(2014) end (2016) every(1));
      
      postgres=# create table sales6( amount numeric(10,2), year integer) with(appendonly=true) distributed randomly partition by range(year) (start(2014) end (2016) every(1));
      
      hawq extract -d postgres -o sales2.yml sales2
      
      hawq register -d postgres --config sales2.yml sales6
      
      gpadmin-[ERROR]:-Bucket number of public.sales6_1_prt_1 is not consistent with previous bucket number
      

      Attachments

        Issue Links

          Activity

            People

              xunzhang Hong Wu
              xunzhang Hong Wu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: