You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by gu...@apache.org on 2020/03/13 02:46:43 UTC

[spark] branch master updated: [SPARK-28093][FOLLOW-UP] Remove migration guide of TRIM changes

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 1c8526d  [SPARK-28093][FOLLOW-UP] Remove migration guide of TRIM changes
1c8526d is described below

commit 1c8526dc87212b7a51fddf5f180bc8387805e4d0
Author: gatorsmile <ga...@gmail.com>
AuthorDate: Fri Mar 13 11:45:59 2020 +0900

    [SPARK-28093][FOLLOW-UP] Remove migration guide of TRIM changes
    
    ### What changes were proposed in this pull request?
    Since we reverted the original change in https://github.com/apache/spark/pull/27540, this PR is to remove the corresponding migration guide made in the commit https://github.com/apache/spark/pull/24948
    
    ### Why are the changes needed?
    N/A
    
    ### Does this PR introduce any user-facing change?
    N/A
    
    ### How was this patch tested?
    N/A
    
    Closes #27896 from gatorsmile/SPARK-28093Followup.
    
    Authored-by: gatorsmile <ga...@gmail.com>
    Signed-off-by: HyukjinKwon <gu...@apache.org>
---
 docs/sql-migration-guide.md | 2 --
 1 file changed, 2 deletions(-)

diff --git a/docs/sql-migration-guide.md b/docs/sql-migration-guide.md
index 468dcdb..7cca43e 100644
--- a/docs/sql-migration-guide.md
+++ b/docs/sql-migration-guide.md
@@ -34,8 +34,6 @@ license: |
 
   - Since Spark 3.0, configuration `spark.sql.crossJoin.enabled` become internal configuration, and is true by default, so by default spark won't raise exception on sql with implicit cross join.
 
-  - Since Spark 3.0, we reversed argument order of the trim function from `TRIM(trimStr, str)` to `TRIM(str, trimStr)` to be compatible with other databases.
-
   - In Spark version 2.4 and earlier, SQL queries such as `FROM <table>` or `FROM <table> UNION ALL FROM <table>` are supported by accident. In hive-style `FROM <table> SELECT <expr>`, the `SELECT` clause is not negligible. Neither Hive nor Presto support this syntax. Therefore we will treat these queries as invalid since Spark 3.0.
 
   - Since Spark 3.0, the Dataset and DataFrame API `unionAll` is not deprecated any more. It is an alias for `union`.


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