You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by hongbin ma <ma...@apache.org> on 2015/08/07 05:31:08 UTC

sqlline in calcite 1.3 not working

Hi,

I downloaded the calcite 1.3 (commitid:
495f1859f84b41ae70b2099c3d15c696a49a5100)
and followed http://calcite.incubator.apache.org/docs/tutorial.html to run
csv example,

but I got:

➜  csv git:(495f185) ✗ ./sqlline

[INFO] Scanning for projects...

[INFO]

[INFO] Using the builder
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder
with a thread count of 1

[INFO]


[INFO]
------------------------------------------------------------------------

[INFO] Building Calcite Example CSV 1.3.0-incubating

[INFO]
------------------------------------------------------------------------

[INFO]

[INFO] --- maven-dependency-plugin:2.10:build-classpath (default-cli) @
calcite-example-csv ---

[INFO] Wrote classpath file
'/Users/honma/work/opensrc/incubator-calcite/example/csv/target/classpath.txt'.

[INFO]
------------------------------------------------------------------------

[INFO] BUILD SUCCESS

[INFO]
------------------------------------------------------------------------

[INFO] Total time: 1.211 s

[INFO] Finished at: 2015-08-07T11:27:40+08:00

[INFO] Final Memory: 12M/310M

[INFO]
------------------------------------------------------------------------

Error: Could not find or load main class sqlline.SqlLine

*​Anything wrong here? besides, there's a sqline in home folder, and
another in example/csv, which should I use?​*

-- 
Regards,

*Bin Mahone | 马洪宾*
Apache Kylin: http://kylin.io
Github: https://github.com/binmahone

Re: sqlline in calcite 1.3 not working

Posted by Julian Hyde <jh...@apache.org>.
You are probably running into https://issues.apache.org/jira/browse/CALCITE-752 - fixed in 1.4.

> On Aug 6, 2015, at 8:31 PM, hongbin ma <ma...@apache.org> wrote:
> 
> Hi,
> 
> I downloaded the calcite 1.3 (commitid:
> 495f1859f84b41ae70b2099c3d15c696a49a5100)
> and followed http://calcite.incubator.apache.org/docs/tutorial.html to run
> csv example,
> 
> but I got:
> 
> ➜  csv git:(495f185) ✗ ./sqlline
> 
> [INFO] Scanning for projects...
> 
> [INFO]
> 
> [INFO] Using the builder
> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder
> with a thread count of 1
> 
> [INFO]
> 
> 
> [INFO]
> ------------------------------------------------------------------------
> 
> [INFO] Building Calcite Example CSV 1.3.0-incubating
> 
> [INFO]
> ------------------------------------------------------------------------
> 
> [INFO]
> 
> [INFO] --- maven-dependency-plugin:2.10:build-classpath (default-cli) @
> calcite-example-csv ---
> 
> [INFO] Wrote classpath file
> '/Users/honma/work/opensrc/incubator-calcite/example/csv/target/classpath.txt'.
> 
> [INFO]
> ------------------------------------------------------------------------
> 
> [INFO] BUILD SUCCESS
> 
> [INFO]
> ------------------------------------------------------------------------
> 
> [INFO] Total time: 1.211 s
> 
> [INFO] Finished at: 2015-08-07T11:27:40+08:00
> 
> [INFO] Final Memory: 12M/310M
> 
> [INFO]
> ------------------------------------------------------------------------
> 
> Error: Could not find or load main class sqlline.SqlLine
> 
> *​Anything wrong here? besides, there's a sqline in home folder, and
> another in example/csv, which should I use?​*
> 
> -- 
> Regards,
> 
> *Bin Mahone | 马洪宾*
> Apache Kylin: http://kylin.io
> Github: https://github.com/binmahone