Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: 0.12.0
    • Component/s: Planner/Optimizer, Storage
    • Labels:
      None

      Description

      Currently, PartitionedTableScanNode contains the list of partitions and it seems to me that the list has some problems as following:

      1. Duplicate Informs: Task contains Fragment which specify target directory or target file for scanning. A path of partition lists already would write to Fragment.

      2. Network Resource: When scanning lost of partition, it will occupy network resource, for example, several hundred kilobytes or more. It looks like an unnecessary resource because Fragment already has the path of partitions.

      I want to improve above problems by implementing new Fragment called PartitionedFileFragment. Currently, I'm planning the implementation as following:

      • PartitionedFileFragment will borrow FileFragment and it contains the partition path and the partition key values.
      • Remove the path array of partitions from PartitionedTableScanNode.
      • Implement a method for getting filtered partition directories in FileTableSpace.
      • Implement a method for making PartitionedFileFragment array.
      • Before making splits, call above method and use it for making splits.

        Attachments

        1. TAJO-1952.patch
          128 kB
          Jaehwa Jung
        2. TAJO-1952_2.patch
          83 kB
          Jaehwa Jung

          Issue Links

            Activity

              People

              • Assignee:
                blrunner Jaehwa Jung
                Reporter:
                blrunner Jaehwa Jung
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: