You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Julian Hyde (JIRA)" <ji...@apache.org> on 2017/03/17 21:34:41 UTC
[jira] [Resolved] (CALCITE-1704) CSV files from command line
[ https://issues.apache.org/jira/browse/CALCITE-1704?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Julian Hyde resolved CALCITE-1704.
----------------------------------
Resolution: Fixed
Fixed in http://git-wip-us.apache.org/repos/asf/calcite/commit/0e11746a.
> 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
> Fix For: 1.12.0
>
>
> 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)