Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-1676

In file adapter, scan directory for .csv, .json and .gz files

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.12.0
    • Component/s: None
    • Labels:
      None

      Description

      File adapter should scan the directory for .csv and .json files and convert each into a table. If the files have a .gz suffix they are assumed to be gzip-compressed files.

      The first line of a .csv file is the column headers. If the file is empty, the file adapter gives the table a single column, EmptyFileHasNoColumns BOOLEAN.

        Activity

        Show
        julianhyde Julian Hyde added a comment - Fixed in http://git-wip-us.apache.org/repos/asf/calcite/commit/a56b84e3 .
        Hide
        julianhyde Julian Hyde added a comment -

        Resolved in release 1.12.0 (2017-03-24).

        Show
        julianhyde Julian Hyde added a comment - Resolved in release 1.12.0 (2017-03-24).

          People

          • Assignee:
            julianhyde Julian Hyde
            Reporter:
            julianhyde Julian Hyde
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development