1. 14 10月, 2017 2 次提交
  2. 13 10月, 2017 10 次提交
  3. 12 10月, 2017 15 次提交
  4. 11 10月, 2017 6 次提交
    • H
      Fix crash with a ROLLUP query. · 281ad5e9
      Heikki Linnakangas 提交于
      This was broken by commit 7e268107, which refactored the code that deals
      with path keys and sorts in plangroupext.c. The new function
      make_sort_from_pathkeys_and_groupingcol(), which replaced the old
      make_sort_from_reordered_groupcols() function, didn't work quite the same
      as the old function. I'm not sure what exactly went wrong there, but the
      caller already has the column number and operator information at hand, so
      we can use it to construct the Sort directly, without trying to re-find the
      original target list entries of the sort columns.
      
      Commit 7e268107 also neglected the comments in
      make_sort_from_pathkeys_and_groupingcol(), but this commit removes the whole
      function.
      
      Fixes github issue #3447.
      281ad5e9
    • X
      copy from on segment should not check random distributing policy · f5e6e79a
      Xiaoran Wang 提交于
      copy from on segment will not check distributing policy
      when the table is distributed randomly.
      Signed-off-by: NXiaoran Wang <xiwang@pivotal.io>
      f5e6e79a
    • K
      Reorganize pipelines to reduce syncronized job starts · 258931be
      Kris Macoskey 提交于
      The GPDB5 deployment in the gpdb5-pipeline AWS account has a week of
      instability, and to the best of our knowledge this appears to be due to
      the "fan out" pattern that is manifested in our pipeline.  After the
      compile steps are completed, many, many jobs are kicked off
      simultaneaously.  This structure, combined with the many copies of the
      master pipeline cause such a large simulaneous workload that concourse
      resources like volume creation can not keep up with the demand.
      
      We do not contend that this structure is the correct structure, and we
      welcome collaboration on what jobs should live where.  Hopefully this
      will keep the deployment humming for the near future.
      Signed-off-by: NDivya Bhargov <dbhargov@pivotal.io>
      258931be
    • T
      Adds missing clean target for gpmapreduce · ffbe5ec6
      Taylor Vesely 提交于
      ffbe5ec6
    • M
      docs: fixes to ALTER EXTERNAL TABLE (#3445) · 545e34fd
      Mel Kiyama 提交于
      * docs: fixes to ALTER EXTERNAL TABLE
      
      see https://github.com/greenplum-db/gpdb/issues/3338
      
      * updates based on review comments.
      --updated command syntax
      --reorganized information
      --added parameter definition USING expression
      545e34fd
    • L
      docs - remove max_resource_groups guc (#3414) · 4dd667a4
      Lisa Owen 提交于
      4dd667a4
  5. 10 10月, 2017 7 次提交
    • H
      Remove obsolete alternative expected output file. · 0c19cf9d
      Heikki Linnakangas 提交于
      It hadn't been kept up-to-date lately, and no-one has complained, so
      apparently it's not needed.
      0c19cf9d
    • H
      Move GPDB-specific tests from 'aggregates' to 'gp_aggregates'. · 474f1db0
      Heikki Linnakangas 提交于
      Let's try to keep the upstream test files as unmodified as possible, to
      make merging easier.
      474f1db0
    • H
      Avoid using same table name in two tests. · fbfa66e9
      Heikki Linnakangas 提交于
      Both 'filter' and 'qp_olap_windowerr' used a test table named
      'filter_test'. Rename the one in 'qp_olap_windowerr' to avoid confusion.
      fbfa66e9
    • H
      Hide the two tuplesort implementations behind a common facade. · bbf40a8c
      Heikki Linnakangas 提交于
      We have two implementations of tuplesort: the "regular" one inherited
      from upstream, in tuplesort.c, and a GPDB-specific tuplesort_mk.c. We had
      modified all the callers to check the gp_enable_mk_sort GUC, and deal with
      both of them. However, that makes merging with upstream difficult, and
      litters the code with the boilerplate to check the GUC and call one of
      the two implementations.
      
      Simplify the callers, by providing a single API that hides the two
      implementations from the rest of the system. The API is the tuplesort_*
      functions, as in upstream. This requires some preprocessor trickery,
      so that tuplesort.c can use the tuplesort_* function names as is, but in
      the rest of the codebase, calling tuplesort_*() will call a "switcheroo"
      function that decides which implementation to actually call. While this
      is more lines of code overall, it keeps all the ugliness confined in
      tuplesort.h, not littered throughout the codebase.
      bbf40a8c
    • P
      resgroup: ignore a memory_spill_ratio case · 6013a6a1
      Pengzhou Tang 提交于
      Due to 39e726819f75e13, a resourc group is not assigned for
      SET/SHOW command which means GUC memory_spill_ratio will
      stay unchanged even you set current role to another role.
      
      SET/SHOW commands are not meant to use memory_spill_ratio,
      so it should be safe to keep memory_spill_ratio until a non
      SET/SHOW command is executed.
      6013a6a1
    • P
      resgroup: bypass SET/SHOW command for resource group · 056fc574
      Pengzhou Tang 提交于
      SET or SHOW GUC won't take significant resource including cpu and
      memory, we can safely let it run. It's useful that not be blocked
      when changing from a busy group immediately to another group. For
      later integration with WLM, it's also helpful.
      
      We only check the type of current statement when there are no free
      slots in the current group, so the overhead of parsing will not
      affect normal procedure.
      056fc574
    • N
      Disable all resgroup spill tests. · 9ac9ad9b
      Ning Yu 提交于
      These tests were derived from the resqueue tests, however they did not
      work stable enough with resgroup. We'll disable them for now to make the
      pipeline green. Later we'll refactor and reenable them.
      9ac9ad9b