GitHub user zygitup opened a pull request:

    https://github.com/apache/carbondata/pull/2961

    Fixing the getOrCreateCarbonSession method parameter to an empty 
stri…[[JIRA CARBONDATA-3119]]

    1.No interface changes
    
    2.Backward compatibility is not affected
    
    3.The document does not need to be updated
    
    val carbon = 
SparkSession.builder().config(sc.getConf).getOrCreateCarbonSession("")
    val carbon = 
SparkSession.builder().config(sc.getConf).getOrCreateCarbonSession(" ")
    carbon.sql("SELECT * FROM TABLE").show() is ok.

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

    $ git pull https://github.com/zygitup/carbondata master

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

    https://github.com/apache/carbondata/pull/2961.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 #2961
    
----
commit f934d7938ae3694f2508b1c5c278c805892ba6ec
Author: zygitup <18310672430@...>
Date:   2018-11-28T12:38:56Z

    Fixing the getOrCreateCarbonSession method parameter to an empty string 
causes the select table data to be empty

----


---

Reply via email to