Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-5674

Drill should support .zip compression

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.10.0
    • Fix Version/s: None
    • Component/s: Storage - Text & CSV
    • Labels:
      None

      Description

      Zip is a very common compression format. Create a compressed CSV file with column headers: data.csv.zip.

      Define a storage plugin config for the file, call it "dfs.myws", set delimiter = ",", extract header = true, skip header = false.

      Run a simple query:

      SELECT * FROM dfs.myws.`data.csv.zip`

      The result is garbage as the CSV reader is trying to parse Zipped data as if it were text.

      DRILL-5506 asks how to do this; the responder said to add a library to the path. Better would be to simply support zip out-of-the-box as a default format.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              paul-rogers Paul Rogers
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: