You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2020/11/11 17:01:40 UTC

[GitHub] [spark] dongjoon-hyun edited a comment on pull request #30263: [SPARK-33358][SQL] Return code when command process failed

dongjoon-hyun edited a comment on pull request #30263:
URL: https://github.com/apache/spark/pull/30263#issuecomment-725540255


   Hi, @artiship . Does this bug happen only in YARN environment? It seems to work correctly in the local environment.
   ```
   spark-3.0.1-bin-hadoop3.2:$ cat 1.sql
   select * from n;
   select 2;
   
   spark-3.0.1-bin-hadoop3.2:$ bin/spark-sql -f 1.sql
   Error in query: Table or view not found: n; line 1 pos 14;
   'Project [*]
   +- 'UnresolvedRelation [n]
   
   2
   Time taken: 2.244 seconds, Fetched 1 row(s)
   ```


----------------------------------------------------------------
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



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org