[
https://issues.apache.org/jira/browse/CALCITE-752?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14619156#comment-14619156
]
Julian Hyde commented on CALCITE-752:
-------------------------------------
Sorry I didn't see and review the patch earlier.
The patch makes sqlline a dependency of core, and it will bring in its own
dependencies (e.g. jline2). It's not acceptable to have "user interface" stuff
like this in core.
There's a better way to do this, which is to add sqlline as a test dependency
in example/csv. I'll check in a fix based on that shortly.
> Add back SqlLine dependency to csv example.
> -------------------------------------------
>
> Key: CALCITE-752
> URL: https://issues.apache.org/jira/browse/CALCITE-752
> Project: Calcite
> Issue Type: Bug
> Reporter: Jinfeng Ni
> Assignee: Julian Hyde
> Priority: Minor
> Attachments:
> 0001-Add-back-SqlLine-dependency-to-csv-example-project.patch
>
>
> Tried to run some example query in calcite tutorial
> http://calcite.incubator.apache.org/docs/tutorial.html. Hit the following
> error, when started sqlline under example/csv:
> Error: Could not find or load main class sqlline.SqlLine.
> Turns out CALCITE-619 removed the SqlLine dependency, and CALCITE-692 added
> it back to calcite-core, but only in "test" scope. This means the dependency
> of sqlline is not transitive in example/csv project, and hence hit the error.
> Proposed change is to change the the scope from "test" to default, which is
> transitive.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)