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

CSV files from command line

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    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

      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

            • Assignee:
              julianhyde Julian Hyde
              Reporter:
              julianhyde Julian Hyde

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment