You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by GitBox <gi...@apache.org> on 2019/05/28 11:29:09 UTC

[GitHub] [carbondata] xubo245 commented on a change in pull request #3213: [CARBONDATA-3380] Fix missing appName and AnalysisException bug in DirectSQLExample

xubo245 commented on a change in pull request #3213: [CARBONDATA-3380] Fix missing appName and AnalysisException bug in DirectSQLExample
URL: https://github.com/apache/carbondata/pull/3213#discussion_r288055134
 
 

 ##########
 File path: examples/spark2/src/main/scala/org/apache/carbondata/examples/DirectSQLExample.scala
 ##########
 @@ -86,7 +87,7 @@ object DirectSQLExample {
     println("Running SQL on carbon files directly")
     try {
       // 2. run queries directly, no need to create table first
-      sql(s"""select * FROM  carbonfile.`$readPath` limit 10""".stripMargin).show()
+      sql(s"""select * FROM carbon.`$readPath` limit 10""".stripMargin).show()
 
 Review comment:
   Can you add this example(DirectSQLExample) to org.apache.carbondata.examplesCI.RunExamples? and do some check? which can avoid fail when other developer change the code in the future.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services