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

CSV files from command line

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.12.0
    • None
    • None

    Description

      Make it possible to launch the CSV adapter from sqlline, like this:

      ./sqlline -u "jdbc:calcite:schemaFactory=org.apache.calcite.adapter.file.FileSchemaFactory;schema.directory=/home/jhyde/open1/phoenix"
      sqlline> select count(*) from "calcite_test_failures";
      

      In this case, there is a "calcite_test_failures.csv" file in the phoenix directory.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: