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

Add back sqlline as a dependency to csv example

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.4.0-incubating
    • None
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              julianhyde Julian Hyde
              jni Jinfeng Ni
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: