This is an automated email from the ASF dual-hosted git repository.

wenchen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/master by this push:
     new da03b55  [SPARK-38150][SQL] Update comment of RelationConversions
da03b55 is described below

commit da03b554aa9b7c5fae9d3dc65eed89a8cf003c4c
Author: Angerszhuuuu <[email protected]>
AuthorDate: Wed Feb 9 17:05:50 2022 +0800

    [SPARK-38150][SQL] Update comment of RelationConversions
    
    ### What changes were proposed in this pull request?
    https://github.com/apache/spark/pull/17113 change the behaviors but remain 
comment not correct, this pr update this
    
    ### Why are the changes needed?
    Make comment correct
    
    ### Does this PR introduce _any_ user-facing change?
    No
    
    ### How was this patch tested?
    Not need
    
    Closes #35453 from AngersZhuuuu/SPARK-38150.
    
    Authored-by: Angerszhuuuu <[email protected]>
    Signed-off-by: Wenchen Fan <[email protected]>
---
 sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveStrategies.scala | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveStrategies.scala 
b/sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveStrategies.scala
index 37970fb..6a3de55 100644
--- a/sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveStrategies.scala
+++ b/sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveStrategies.scala
@@ -184,6 +184,8 @@ object HiveAnalysis extends Rule[LogicalPlan] {
  * Relation conversion from metastore relations to data source relations for 
better performance
  *
  * - When writing to non-partitioned Hive-serde Parquet/Orc tables
+ * - When writing to partitioned Hive-serde Parquet/Orc tables when
+ *   `spark.sql.hive.convertInsertingPartitionedTable` is true
  * - When scanning Hive-serde Parquet/ORC tables
  *
  * This rule must be run before all other DDL post-hoc resolution rules, i.e.

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

Reply via email to