artiship commented on pull request #30263: URL: https://github.com/apache/spark/pull/30263#issuecomment-725810612
@dongjoon-hyun I've verified it again using a distribution dowloaded from the apache spark website: https://www.apache.org/dyn/closer.lua/spark/spark-3.0.1/spark-3.0.1-bin-hadoop2.7.tgz This bug still can reproduce in local mode. The spark-sql should break after the first statement failed. ``` ➜ spark-3.0.1-bin-hadoop2.7 cat 1.sql select * from n; select 2+2; ➜ spark-3.0.1-bin-hadoop2.7 bin/spark-sql -f 1.sql 20/11/12 11:35:28 WARN NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable 20/11/12 11:35:38 WARN HiveConf: HiveConf of name hive.stats.jdbc.timeout does not exist 20/11/12 11:35:38 WARN HiveConf: HiveConf of name hive.stats.retries.wait does not exist 20/11/12 11:35:46 WARN ObjectStore: Version information not found in metastore. hive.metastore.schema.verification is not enabled so recording the schema version 2.3.0 20/11/12 11:35:46 WARN ObjectStore: setMetaStoreSchemaVersion called but recording version is disabled: version = 2.3.0, comment = Set by MetaStore [email protected] Error in query: Table or view not found: n; line 1 pos 14; 'Project [*] +- 'UnresolvedRelation [n] 4 Time taken: 4.39 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]
