wangyum opened a new pull request #23992: [SPARK-27074][SQL] Refactor 
HiveClientImpl.runHive
URL: https://github.com/apache/spark/pull/23992
 
 
   ## What changes were proposed in this pull request?
   
   Hive 3.1.1's `CommandProcessor` have 2 changes:
   1. [HIVE-17626](https://issues.apache.org/jira/browse/HIVE-17626)(Hive 
3.0.0) add ReExecDriver. So the current code path is: 
https://github.com/apache/spark/blob/02bbe977abaf7006b845a7e99d612b0235aa0025/sql/hive/src/main/scala/org/apache/spark/sql/hive/client/HiveClientImpl.scala#L736-L742
   This is incorrect.
   2. [HIVE-18238](http://issues.apache.org/jira/browse/HIVE-18238)(Hive 3.0.0) 
changed the `Driver.close()` function return type. This change is not 
compatible with the built-in Hive.
   
   This pr refactor `HiveClientImpl.runHive` to throw AnalysisException is 
these cases.
   
   ## How was this patch tested?
   
   unit tests
   

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