Julian Hyde created CALCITE-1704:
------------------------------------

             Summary: CSV files from command line
                 Key: CALCITE-1704
                 URL: https://issues.apache.org/jira/browse/CALCITE-1704
             Project: Calcite
          Issue Type: Bug
            Reporter: Julian Hyde
            Assignee: Julian Hyde


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

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

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



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to