1. 19 10月, 2017 2 次提交
    • H
      Move test on dropping distribution key column from TINC. · 892e3b0e
      Heikki Linnakangas 提交于
      There were basically two test scenarios in this TINC test:
      
      1. ALTER TABLE SET DISTRIBUTED BY. We have plenty of coverage for that
         in the 'alter_distribution_policy' test already, so remove it.
      
      2. Dropping a column that is part of the distribution key. We had some
         coverage for that too, e.g. n the 'alter_table' test. But that's an
         upstream test, so I'd rather not rely on that staying the same. There
         were a few other tests too, but droppign the distribution key column
         seemed accidental rather than deliberate on those, so add a bespoken
         test case for this in 'alter_distribution_policy'
      892e3b0e
    • H
      Reduce the number of combinations in AOCO compression TINC tests. · 60c3f686
      Heikki Linnakangas 提交于
      We don't really need to test compression with every different compression
      level. Don't need to test so many different block sizes either.
      60c3f686
  2. 18 10月, 2017 13 次提交
  3. 17 10月, 2017 3 次提交
    • H
      Remove unused fields from VacuumStatsContext, and move it to vacuum.c. · baa098d7
      Heikki Linnakangas 提交于
      It's only used within vacuum.c, so let's have it there rather than pollute
      the headers.
      baa098d7
    • H
      Add support for "order none" directive to atmsort. · 5390d8b7
      Heikki Linnakangas 提交于
      This allows overriding the heuristic on whether a query has an ORDER BY.
      
      Use the directive in one of the queries in the 'gporca' test, which
      contains a subquery with an ORDER BY that fools the atmsort's usual
      heuristic. The overall order of the query is not well-defined, even though
      there is an ORDER BY in the subquery. The current implementation of
      DISTINCT in fact always also sorts the output, which is why this test
      is passing, but that is about to be relaxed soon, when we merge upstream
      commit 63247bec.
      5390d8b7
    • H
      Fix assertion failure if a window function's PARTITION BY is constant. · e49c5e70
      Heikki Linnakangas 提交于
      If a window function had a PARTITION BY clause, but the planner was able
      to deduce that it's a constant at runtime, we would still try to distribute
      the rows according to the non-existent hash expression. Creating a hash
      locus with no hash expressions tripped an assertion.
      
      Fixes github issues #3423 and #3446. Backpatch to 5X_STABLE.
      e49c5e70
  4. 16 10月, 2017 1 次提交
  5. 14 10月, 2017 7 次提交
  6. 13 10月, 2017 10 次提交
  7. 12 10月, 2017 4 次提交