1. 25 6月, 2016 5 次提交
    • S
      Refactor concourse build scripts · dfff1008
      Shreedhar Hardikar 提交于
      Create GpcodegenBuild, GporcaBuild and GporcacodegenBuild builds to
      support building GPDB with codegen, orca, and orca_and_codegen.
      dfff1008
    • S
    • N
      Reset faultinjectors at the end of icg tests · 1c7cf2bb
      Nikos Armenatzoglou 提交于
      1c7cf2bb
    • G
      Allocate target's tuple table slot in PortalHeapMemory during split partition · c0e1f00c
      George Caragea 提交于
          When we execute an ALTER TABLE statement that splits default partition into a "New" and a new Default partition, we perform the following 5 steps:
      
           * copy the tuples located in the default partition into a temporary table,
           * drop default partition,
           * create the “New“ partition,
           * create the new DEFAULT partition, and
           * copy all tuples from the temporary table into the newly created partitions.
      
          The last step is executed in split_rows, where for each tuple in the temporary table,
      
           * we determine the target partition/table,
           * construct the slot of the target table (if is NULL), and
           * store the tuple into the target table.
      
          Currently, we allocate the tuple table slot of the target table into a per-tuple memory context. If the size of that memory context exceeds 50KB, then we reset it. This will cause issues, since it will free target table's slot and at the next iteration (copy the next tuple) we will try to access the attributes of a freed (and not NULL) slot. In addition, the target table slot lifespan is much longer than an individual tuple. So it is not correct to allocate the slot in a per-tuple memory context.
      
          To solve this issue, we allocate target's tuple table slot in PortalHeapMemory. This is the CurrentMemoryContext that is used in split_rows before we start copying tuples. PortalHeapMemory is used already for storing the tuple table slot of the temporary table and the ResultRelInfo of the target tables. PortalHeapMemory is not freed while we copy tuples. After copying all tuples to the new partitions, we drop target tables' slots.
      Signed-off-by: NNikos Armenatzoglou <nikos.armenatzoglou@gmail.com>
      c0e1f00c
    • Z
      Create dockerfile and utility scripts for docker image (#773) · c3422654
      Zak Auerbach 提交于
      * Add section to readme with info on how to consume docker image
      * Docker image automatically starts demo cluster and sources relevant env files
      c3422654
  2. 24 6月, 2016 20 次提交
  3. 23 6月, 2016 4 次提交
  4. 22 6月, 2016 8 次提交
  5. 21 6月, 2016 3 次提交