GitHub user wangyum opened a pull request:

    https://github.com/apache/spark/pull/22999

    [SPARK-20319][SQL] Already quoted identifiers are getting wrapped with 
additional quotes

    ## What changes were proposed in this pull request?
    
    Currently JDBC Writer uses dialects to quote the field names but when the 
quotes are explicitly wrapped with the column names, JDBC driver fails to parse 
columns with two double quotes.
    e.g. ```""columnName""```. 
    This pr fix this issue.
    
    ## How was this patch tested?
    
    unit tests
    
    Closes https://github.com/apache/spark/pull/17631


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/wangyum/spark SPARK-20319

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/22999.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #22999
    
----
commit b2af6b33e5289c07b1c70d4eb96c721cc7db8cea
Author: Yuming Wang <yumwang@...>
Date:   2018-11-10T11:05:38Z

    SPARK-20319 Already quoted identifiers are getting wrapped with additional 
quotes

----


---

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

Reply via email to