wangyum commented on issue #20944: [SPARK-23831][SQL] Add org.apache.derby to 
IsolatedClientLoader
URL: https://github.com/apache/spark/pull/20944#issuecomment-481945365
 
 
   I hint this issue in two places:
   1. Specify `spark.sql.hive.metastore.version` when using derby:
   ```
   wget 
https://www-eu.apache.org/dist/spark/spark-2.4.1/spark-2.4.1-bin-hadoop2.7.tgz 
&& tar -zxf spark-2.4.1-bin-hadoop2.7.tgz && cd spark-2.4.1-bin-hadoop2.7
   bin/spark-sql --conf spark.sql.hive.metastore.version=2.0.0 --conf 
spark.sql.hive.metastore.jars=maven -e "create table t1 as select 1 as c"
   ```
   2. Unit testing when the built-in Hive is upgraded to 
2.3(https://github.com/apache/spark/pull/24044.  Remove [this 
line](https://github.com/apache/spark/pull/24044/files#diff-d613c921507243c65591c003a348f5f3R193)
 and run):
   ```  
   build/sbt  "hive/testOnly *.HiveExternalSessionCatalogSuite 
*.HiveExternalCatalogSuite *.MultiDatabaseSuite"  -Phive -Phadoop-3.2
   ```
   

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


With regards,
Apache Git Services

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

Reply via email to