[GitHub] incubator-carbondata pull request #866: [CARBONDATA-986] Update examples for...

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

[GitHub] incubator-carbondata pull request #866: [CARBONDATA-986] Update examples for...

qiuchenjian-2
GitHub user chenerlu opened a pull request:

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

    [CARBONDATA-986] Update examples for code style

    Problem: code style relative problem
   
    Solution: Update examples

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

    $ git pull https://github.com/chenerlu/incubator-carbondata ModifyExample

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

    https://github.com/apache/incubator-carbondata/pull/866.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 #866
   
----
commit 26507b7053555e6671a0394fa37cb02b499b4411
Author: chenerlu <[hidden email]>
Date:   2017-04-27T11:20:09Z

    update the examples

----


---
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 [hidden email] or file a JIRA ticket
with INFRA.
---
Reply | Threaded
Open this post in threaded view
|

[GitHub] incubator-carbondata issue #866: [CARBONDATA-986] Update examples for code s...

qiuchenjian-2
Github user CarbonDataQA commented on the issue:

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



---
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 [hidden email] or file a JIRA ticket
with INFRA.
---
Reply | Threaded
Open this post in threaded view
|

[GitHub] incubator-carbondata pull request #866: [CARBONDATA-986] Update examples for...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user jackylk commented on a diff in the pull request:

    https://github.com/apache/incubator-carbondata/pull/866#discussion_r113791408
 
    --- Diff: examples/spark2/src/main/scala/org/apache/carbondata/examples/AlterTableExample.scala ---
    @@ -55,17 +59,17 @@ object AlterTableExample {
         spark.sql(
           s"""
              | CREATE TABLE carbon_table(
    -         |    shortField short,
    -         |    intField int,
    -         |    bigintField long,
    -         |    doubleField double,
    -         |    stringField string,
    -         |    timestampField timestamp,
    -         |    decimalField decimal(18,2),
    -         |    dateField date,
    -         |    charField char(5),
    -         |    floatField float,
    -         |    complexData array<string>
    +         | shortField short,
    --- End diff --
   
    if you are going to change this, please change all keyword to capital letter, like short to SHORT


---
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 [hidden email] or file a JIRA ticket
with INFRA.
---
Reply | Threaded
Open this post in threaded view
|

[GitHub] incubator-carbondata pull request #866: [CARBONDATA-986] Update examples for...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user chenerlu commented on a diff in the pull request:

    https://github.com/apache/incubator-carbondata/pull/866#discussion_r113839591
 
    --- Diff: examples/spark2/src/main/scala/org/apache/carbondata/examples/AlterTableExample.scala ---
    @@ -55,17 +59,17 @@ object AlterTableExample {
         spark.sql(
           s"""
              | CREATE TABLE carbon_table(
    -         |    shortField short,
    -         |    intField int,
    -         |    bigintField long,
    -         |    doubleField double,
    -         |    stringField string,
    -         |    timestampField timestamp,
    -         |    decimalField decimal(18,2),
    -         |    dateField date,
    -         |    charField char(5),
    -         |    floatField float,
    -         |    complexData array<string>
    +         | shortField short,
    --- End diff --
   
    Done, have changed all keyword to capital letter.


---
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 [hidden email] or file a JIRA ticket
with INFRA.
---
Reply | Threaded
Open this post in threaded view
|

[GitHub] incubator-carbondata issue #866: [CARBONDATA-986] Update examples for code s...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user CarbonDataQA commented on the issue:

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



---
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 [hidden email] or file a JIRA ticket
with INFRA.
---
Reply | Threaded
Open this post in threaded view
|

[GitHub] incubator-carbondata issue #866: [CARBONDATA-986] Update examples for code s...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user chenerlu commented on the issue:

    https://github.com/apache/incubator-carbondata/pull/866
 
    @jackylk @chenliang613 , pls help to review and merge 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 [hidden email] or file a JIRA ticket
with INFRA.
---
Reply | Threaded
Open this post in threaded view
|

[GitHub] incubator-carbondata issue #866: [CARBONDATA-986] Update examples for code s...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user chenliang613 commented on the issue:

    https://github.com/apache/incubator-carbondata/pull/866
 
    LGTM


---
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 [hidden email] or file a JIRA ticket
with INFRA.
---
Reply | Threaded
Open this post in threaded view
|

[GitHub] incubator-carbondata pull request #866: [CARBONDATA-986] Update examples for...

qiuchenjian-2
In reply to this post by qiuchenjian-2
Github user asfgit closed the pull request at:

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


---
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 [hidden email] or file a JIRA ticket
with INFRA.
---