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

gurwls223 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 3586cdd  [SPARK-28395][FOLLOW-UP][SQL] Make 
spark.sql.function.preferIntegralDivision internal
3586cdd is described below

commit 3586cdd24d9f5cb7d3f642a3da6a26ced1f88cea
Author: Yuming Wang <yumw...@ebay.com>
AuthorDate: Thu Aug 8 10:42:24 2019 +0900

    [SPARK-28395][FOLLOW-UP][SQL] Make 
spark.sql.function.preferIntegralDivision internal
    
    ## What changes were proposed in this pull request?
    
    This PR makes `spark.sql.function.preferIntegralDivision` to internal 
configuration because it is only used for PostgreSQL test cases.
    
    More details:
    https://github.com/apache/spark/pull/25158#discussion_r309764541
    
    ## How was this patch tested?
    
    N/A
    
    Closes #25376 from wangyum/SPARK-28395-2.
    
    Authored-by: Yuming Wang <yumw...@ebay.com>
    Signed-off-by: HyukjinKwon <gurwls...@apache.org>
---
 .../src/main/scala/org/apache/spark/sql/internal/SQLConf.scala         | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala 
b/sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala
index 80a7d4e..f779bc8 100644
--- a/sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala
+++ b/sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala
@@ -1532,8 +1532,9 @@ object SQLConf {
     .createWithDefault(false)
 
   val PREFER_INTEGRAL_DIVISION = 
buildConf("spark.sql.function.preferIntegralDivision")
+    .internal()
     .doc("When true, will perform integral division with the / operator " +
-      "if both sides are integral types.")
+      "if both sides are integral types. This is for PostgreSQL test cases 
only.")
     .booleanConf
     .createWithDefault(false)
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org
For additional commands, e-mail: commits-h...@spark.apache.org

Reply via email to