kamu-data / kamu-cli

Next-generation decentralized data lakehouse and a multi-party stream processing network
https://kamu.dev
Other
303 stars 13 forks source link

kamu-cli help sql #36

Closed JvD007 closed 3 years ago

JvD007 commented 3 years ago

Kamu-cli sql -h gives me to following example:

When I run my command

I got the following error: Error: Error running query: org.apache.spark.sql.AnalysisException: Table or view not found: amersfoort.opendata; line 1 pos 14; 'GlobalLimit 10 +- 'LocalLimit 10 +- 'Project [*] +- 'UnresolvedRelation [amersfoort, opendata] (state=,code=0)

I think the command must look like this, where ' is ` in the command below

Then it works, maybe a change for in the help of kamu-cli.

PS: In the help you are using kamu as command, but we use kamu-cli. Bit confusing.

sergiimk commented 3 years ago

Thanks Jaco, I've added the missing backticks to the SQL command example.

PS: In the help you are using kamu as command, but we use kamu-cli. Bit confusing.

I've also update the release scripts to package the executable as kamu instead of kamu-cli from now on to avoid the confusion.