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:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to