Uploaded image for project: 'CarbonData'
  1. CarbonData
  2. CARBONDATA-1709

Support sort_columns option in dataframe writer

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.3.0
    • Component/s: sql
    • Labels:
      None

      Description

      While creating carbondata table from dataframe, `sort_column` property is not specified, which by default will use all string columns as `sort_column`. So an option is required to specify it as below:
      ```scala
      df.write
      .format("carbondata")
      .options(...)
      .option("sort_columns", "c1,c2")
      .save
      ```

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                xuchuanyin Chuanyin Xu
                Reporter:
                xuchuanyin Chuanyin Xu
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 5h 20m
                  5h 20m