You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by sanoj-mg <gi...@git.apache.org> on 2017/04/08 21:51:05 UTC

[GitHub] incubator-carbondata pull request #769: [CARBONDATA-888] Added include and e...

GitHub user sanoj-mg opened a pull request:

    https://github.com/apache/incubator-carbondata/pull/769

    [CARBONDATA-888] Added include and exclude dictionary columns in dataframe writer

    Added options dictionary_include and dictionary_exclude in dataframe writer. 
    
    Tested successfully in spark 2.6 / HDP 2.5 

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

    $ git pull https://github.com/sanoj-mg/incubator-carbondata CARBONDATA-888-dictionary-incl-excl-dataframe

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

    https://github.com/apache/incubator-carbondata/pull/769.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 #769
    
----
commit c1b1fb47fed5f9323cc28c6e95b663827a6bf86a
Author: Sanoj MG <sa...@gmail.com>
Date:   2017-04-08T21:38:09Z

    Added options to include and exclude dictionary columns in dataframe writer.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-carbondata issue #769: [CARBONDATA-888] Added include and exclude ...

Posted by jackylk <gi...@git.apache.org>.
Github user jackylk commented on the issue:

    https://github.com/apache/incubator-carbondata/pull/769
  
    @sanoj-mg Can you refer to #737, I am doing similar thing for dataframe writer in spark2 module


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-carbondata issue #769: [CARBONDATA-888] Added include and exclude ...

Posted by jackylk <gi...@git.apache.org>.
Github user jackylk commented on the issue:

    https://github.com/apache/incubator-carbondata/pull/769
  
    LGTM, thanks


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-carbondata issue #769: [CARBONDATA-888] Added include and exclude ...

Posted by sanoj-mg <gi...@git.apache.org>.
Github user sanoj-mg commented on the issue:

    https://github.com/apache/incubator-carbondata/pull/769
  
    @jackylk I have created another PR #786 to merge into 12-dev branch


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-carbondata issue #769: [CARBONDATA-888] Added include and exclude ...

Posted by sanoj-mg <gi...@git.apache.org>.
Github user sanoj-mg commented on the issue:

    https://github.com/apache/incubator-carbondata/pull/769
  
    @jackylk Can you please have a look at the test case? Not sure if "desc formatted" the right way to get these column attributes of a carbondata table. 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-carbondata issue #769: [CARBONDATA-888] Added include and exclude ...

Posted by CarbonDataQA <gi...@git.apache.org>.
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/incubator-carbondata/pull/769
  
    Build Failed  with Spark 1.6.2, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder/1521/



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-carbondata issue #769: [CARBONDATA-888] Added include and exclude ...

Posted by CarbonDataQA <gi...@git.apache.org>.
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/incubator-carbondata/pull/769
  
    Build Success with Spark 1.6.2, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder/1544/



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-carbondata issue #769: [CARBONDATA-888] Added include and exclude ...

Posted by jackylk <gi...@git.apache.org>.
Github user jackylk commented on the issue:

    https://github.com/apache/incubator-carbondata/pull/769
  
    #786 is merged, please close this PR


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-carbondata issue #769: [CARBONDATA-888] Added include and exclude ...

Posted by CarbonDataQA <gi...@git.apache.org>.
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/incubator-carbondata/pull/769
  
    Build Success with Spark 1.6.2, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder/1541/



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-carbondata issue #769: [CARBONDATA-888] Added include and exclude ...

Posted by sanoj-mg <gi...@git.apache.org>.
Github user sanoj-mg commented on the issue:

    https://github.com/apache/incubator-carbondata/pull/769
  
    @jackylk I have changed test cases. Can you please review this pr. 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-carbondata issue #769: [CARBONDATA-888] Added include and exclude ...

Posted by CarbonDataQA <gi...@git.apache.org>.
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/incubator-carbondata/pull/769
  
    Build Success with Spark 1.6.2, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder/1523/



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-carbondata issue #769: [CARBONDATA-888] Added include and exclude ...

Posted by jackylk <gi...@git.apache.org>.
Github user jackylk commented on the issue:

    https://github.com/apache/incubator-carbondata/pull/769
  
    I will merge it later as we are preparing version 1.1 release, code is freezed for master branch. Or you can create another PR to merge into 12-dev branch. Thanks.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-carbondata issue #769: [CARBONDATA-888] Added include and exclude ...

Posted by CarbonDataQA <gi...@git.apache.org>.
Github user CarbonDataQA commented on the issue:

    https://github.com/apache/incubator-carbondata/pull/769
  
    Build Success with Spark 1.6.2, Please check CI http://136.243.101.176:8080/job/ApacheCarbonPRBuilder/1552/



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-carbondata pull request #769: [CARBONDATA-888] Added include and e...

Posted by sanoj-mg <gi...@git.apache.org>.
Github user sanoj-mg closed the pull request at:

    https://github.com/apache/incubator-carbondata/pull/769


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-carbondata pull request #769: [CARBONDATA-888] Added include and e...

Posted by jackylk <gi...@git.apache.org>.
Github user jackylk commented on a diff in the pull request:

    https://github.com/apache/incubator-carbondata/pull/769#discussion_r110798836
  
    --- Diff: integration/spark/src/main/scala/org/apache/carbondata/spark/CarbonDataFrameWriter.scala ---
    @@ -175,13 +175,17 @@ class CarbonDataFrameWriter(val dataFrame: DataFrame) {
       }
     
       private def makeCreateTableString(schema: StructType, options: CarbonOption): String = {
    +    val properties = Map("DICTIONARY_INCLUDE" -> options.dictionaryInclude,
    +      "DICTIONARY_EXCLUDE" -> options.dictionaryExclude).filter(_._2.isDefined)
    +      .map(p => s"'${p._1}' = '${p._2.get}'").mkString(",")
    --- End diff --
    
    please format it as in spark2 below


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] incubator-carbondata issue #769: [CARBONDATA-888] Added include and exclude ...

Posted by chenliang613 <gi...@git.apache.org>.
Github user chenliang613 commented on the issue:

    https://github.com/apache/incubator-carbondata/pull/769
  
    @sanoj-mg please let me know your JIRA account's emailid, i will give your contributor right, then you can assign issues to yourself.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---