[GitHub] spark pull request: [SPARK-10656][SQL]fix selection fails when a c...

2015-11-05 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/spark/pull/8811 --- 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 enab

[GitHub] spark pull request: [SPARK-10656][SQL]fix selection fails when a c...

2015-10-21 Thread cloud-fan
Github user cloud-fan commented on the pull request: https://github.com/apache/spark/pull/8811#issuecomment-149918250 I think the main problem is: we interpret column name with special handling of `.` for DataFrame. This enables us to write something like `df("a.b")` to get the field

[GitHub] spark pull request: [SPARK-10656][SQL]fix selection fails when a c...

2015-10-20 Thread AmplabJenkins
Github user AmplabJenkins commented on the pull request: https://github.com/apache/spark/pull/8811#issuecomment-149765855 Merged build finished. Test PASSed. --- 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

[GitHub] spark pull request: [SPARK-10656][SQL]fix selection fails when a c...

2015-10-20 Thread AmplabJenkins
Github user AmplabJenkins commented on the pull request: https://github.com/apache/spark/pull/8811#issuecomment-149765856 Test PASSed. Refer to this link for build results (access rights to CI server needed): https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/44

[GitHub] spark pull request: [SPARK-10656][SQL]fix selection fails when a c...

2015-10-20 Thread SparkQA
Github user SparkQA commented on the pull request: https://github.com/apache/spark/pull/8811#issuecomment-149765777 **[Test build #44024 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/44024/consoleFull)** for PR 8811 at commit [`626a82b`](https://git

[GitHub] spark pull request: [SPARK-10656][SQL]fix selection fails when a c...

2015-10-20 Thread SparkQA
Github user SparkQA commented on the pull request: https://github.com/apache/spark/pull/8811#issuecomment-149745725 **[Test build #44024 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/44024/consoleFull)** for PR 8811 at commit [`626a82b`](https://gith

[GitHub] spark pull request: [SPARK-10656][SQL]fix selection fails when a c...

2015-10-20 Thread AmplabJenkins
Github user AmplabJenkins commented on the pull request: https://github.com/apache/spark/pull/8811#issuecomment-149745265 Merged build started. --- 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

[GitHub] spark pull request: [SPARK-10656][SQL]fix selection fails when a c...

2015-10-20 Thread AmplabJenkins
Github user AmplabJenkins commented on the pull request: https://github.com/apache/spark/pull/8811#issuecomment-149745253 Merged build triggered. --- 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 h

[GitHub] spark pull request: [SPARK-10656][SQL]fix selection fails when a c...

2015-10-20 Thread zhichao-li
Github user zhichao-li commented on the pull request: https://github.com/apache/spark/pull/8811#issuecomment-149745245 retest this please --- 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

[GitHub] spark pull request: [SPARK-10656][SQL]fix selection fails when a c...

2015-10-20 Thread AmplabJenkins
Github user AmplabJenkins commented on the pull request: https://github.com/apache/spark/pull/8811#issuecomment-149678879 Test FAILed. Refer to this link for build results (access rights to CI server needed): https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/44

[GitHub] spark pull request: [SPARK-10656][SQL]fix selection fails when a c...

2015-10-20 Thread AmplabJenkins
Github user AmplabJenkins commented on the pull request: https://github.com/apache/spark/pull/8811#issuecomment-149678874 Merged build finished. Test FAILed. --- 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

[GitHub] spark pull request: [SPARK-10656][SQL]fix selection fails when a c...

2015-10-20 Thread SparkQA
Github user SparkQA commented on the pull request: https://github.com/apache/spark/pull/8811#issuecomment-149678639 **[Test build #44003 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/44003/consoleFull)** for PR 8811 at commit [`626a82b`](https://git

[GitHub] spark pull request: [SPARK-10656][SQL]fix selection fails when a c...

2015-10-20 Thread SparkQA
Github user SparkQA commented on the pull request: https://github.com/apache/spark/pull/8811#issuecomment-149661135 **[Test build #44003 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/44003/consoleFull)** for PR 8811 at commit [`626a82b`](https://gith

[GitHub] spark pull request: [SPARK-10656][SQL]fix selection fails when a c...

2015-10-20 Thread AmplabJenkins
Github user AmplabJenkins commented on the pull request: https://github.com/apache/spark/pull/8811#issuecomment-149659483 Merged build started. --- 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

[GitHub] spark pull request: [SPARK-10656][SQL]fix selection fails when a c...

2015-10-20 Thread AmplabJenkins
Github user AmplabJenkins commented on the pull request: https://github.com/apache/spark/pull/8811#issuecomment-149659455 Merged build triggered. --- 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 h

[GitHub] spark pull request: [SPARK-10656][SQL]fix selection fails when a c...

2015-10-20 Thread JoshRosen
Github user JoshRosen commented on the pull request: https://github.com/apache/spark/pull/8811#issuecomment-149659111 Jenkins, retest this please. --- 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 h

[GitHub] spark pull request: [SPARK-10656][SQL]fix selection fails when a c...

2015-09-21 Thread AmplabJenkins
Github user AmplabJenkins commented on the pull request: https://github.com/apache/spark/pull/8811#issuecomment-142188195 Test PASSed. Refer to this link for build results (access rights to CI server needed): https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/42

[GitHub] spark pull request: [SPARK-10656][SQL]fix selection fails when a c...

2015-09-21 Thread AmplabJenkins
Github user AmplabJenkins commented on the pull request: https://github.com/apache/spark/pull/8811#issuecomment-142188194 Merged build finished. Test PASSed. --- 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

[GitHub] spark pull request: [SPARK-10656][SQL]fix selection fails when a c...

2015-09-21 Thread SparkQA
Github user SparkQA commented on the pull request: https://github.com/apache/spark/pull/8811#issuecomment-142188133 [Test build #42814 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/42814/console) for PR 8811 at commit [`626a82b`](https://github.

[GitHub] spark pull request: [SPARK-10656][SQL]fix selection fails when a c...

2015-09-21 Thread SparkQA
Github user SparkQA commented on the pull request: https://github.com/apache/spark/pull/8811#issuecomment-142179383 [Test build #42814 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/42814/consoleFull) for PR 8811 at commit [`626a82b`](https://gith

[GitHub] spark pull request: [SPARK-10656][SQL]fix selection fails when a c...

2015-09-21 Thread AmplabJenkins
Github user AmplabJenkins commented on the pull request: https://github.com/apache/spark/pull/8811#issuecomment-142179297 Merged build started. --- 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

[GitHub] spark pull request: [SPARK-10656][SQL]fix selection fails when a c...

2015-09-21 Thread AmplabJenkins
Github user AmplabJenkins commented on the pull request: https://github.com/apache/spark/pull/8811#issuecomment-142179287 Merged build triggered. --- 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 h

[GitHub] spark pull request: [SPARK-10656][SQL]fix selection fails when a c...

2015-09-21 Thread zhichao-li
Github user zhichao-li commented on the pull request: https://github.com/apache/spark/pull/8811#issuecomment-142159010 @chenghao-intel, ` UnresolvedAttribute.parseAttributeName` still lack the ability to solve case like this: ``name``, so we cannot add the back tick to all cases whic

[GitHub] spark pull request: [SPARK-10656][SQL]fix selection fails when a c...

2015-09-21 Thread zhichao-li
Github user zhichao-li commented on a diff in the pull request: https://github.com/apache/spark/pull/8811#discussion_r40047528 --- Diff: sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/SQLQuerySuite.scala --- @@ -1116,6 +1116,18 @@ class SQLQuerySuite extends QueryTest

[GitHub] spark pull request: [SPARK-10656][SQL]fix selection fails when a c...

2015-09-21 Thread AmplabJenkins
Github user AmplabJenkins commented on the pull request: https://github.com/apache/spark/pull/8811#issuecomment-142157874 Test FAILed. Refer to this link for build results (access rights to CI server needed): https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/42

[GitHub] spark pull request: [SPARK-10656][SQL]fix selection fails when a c...

2015-09-21 Thread SparkQA
Github user SparkQA commented on the pull request: https://github.com/apache/spark/pull/8811#issuecomment-142157871 [Test build #42801 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/42801/console) for PR 8811 at commit [`d360b07`](https://github.

[GitHub] spark pull request: [SPARK-10656][SQL]fix selection fails when a c...

2015-09-21 Thread AmplabJenkins
Github user AmplabJenkins commented on the pull request: https://github.com/apache/spark/pull/8811#issuecomment-142157873 Merged build finished. Test FAILed. --- 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

[GitHub] spark pull request: [SPARK-10656][SQL]fix selection fails when a c...

2015-09-21 Thread SparkQA
Github user SparkQA commented on the pull request: https://github.com/apache/spark/pull/8811#issuecomment-142157706 [Test build #42801 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/42801/consoleFull) for PR 8811 at commit [`d360b07`](https://gith

[GitHub] spark pull request: [SPARK-10656][SQL]fix selection fails when a c...

2015-09-21 Thread AmplabJenkins
Github user AmplabJenkins commented on the pull request: https://github.com/apache/spark/pull/8811#issuecomment-142157625 Merged build started. --- 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

[GitHub] spark pull request: [SPARK-10656][SQL]fix selection fails when a c...

2015-09-21 Thread AmplabJenkins
Github user AmplabJenkins commented on the pull request: https://github.com/apache/spark/pull/8811#issuecomment-142157615 Merged build triggered. --- 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 h

[GitHub] spark pull request: [SPARK-10656][SQL]fix selection fails when a c...

2015-09-21 Thread yhuai
Github user yhuai commented on a diff in the pull request: https://github.com/apache/spark/pull/8811#discussion_r39988639 --- Diff: sql/core/src/main/scala/org/apache/spark/sql/DataFrame.scala --- @@ -1181,7 +1181,7 @@ class DataFrame private[sql]( if (shouldRename) {

[GitHub] spark pull request: [SPARK-10656][SQL]fix selection fails when a c...

2015-09-21 Thread yhuai
Github user yhuai commented on a diff in the pull request: https://github.com/apache/spark/pull/8811#discussion_r39988465 --- Diff: sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/SQLQuerySuite.scala --- @@ -1116,6 +1116,18 @@ class SQLQuerySuite extends QueryTest with

[GitHub] spark pull request: [SPARK-10656][SQL]fix selection fails when a c...

2015-09-21 Thread chenghao-intel
Github user chenghao-intel commented on the pull request: https://github.com/apache/spark/pull/8811#issuecomment-141946785 A better place to add the back tick is in the class `Column`? --- If your project is set up for it, you can reply to this email and have your reply appear on GitH

[GitHub] spark pull request: [SPARK-10656][SQL]fix selection fails when a c...

2015-09-20 Thread zhichao-li
Github user zhichao-li commented on the pull request: https://github.com/apache/spark/pull/8811#issuecomment-141891350 cc @chenghao-intel @yhuai @liancheng --- 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

[GitHub] spark pull request: [SPARK-10656][SQL]fix selection fails when a c...

2015-09-18 Thread AmplabJenkins
Github user AmplabJenkins commented on the pull request: https://github.com/apache/spark/pull/8811#issuecomment-141392070 Test PASSed. Refer to this link for build results (access rights to CI server needed): https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/42

[GitHub] spark pull request: [SPARK-10656][SQL]fix selection fails when a c...

2015-09-18 Thread AmplabJenkins
Github user AmplabJenkins commented on the pull request: https://github.com/apache/spark/pull/8811#issuecomment-141392066 Merged build finished. Test PASSed. --- 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

[GitHub] spark pull request: [SPARK-10656][SQL]fix selection fails when a c...

2015-09-18 Thread SparkQA
Github user SparkQA commented on the pull request: https://github.com/apache/spark/pull/8811#issuecomment-141391583 [Test build #42648 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/42648/console) for PR 8811 at commit [`2fa0aa6`](https://github.

[GitHub] spark pull request: [SPARK-10656][SQL]fix selection fails when a c...

2015-09-18 Thread SparkQA
Github user SparkQA commented on the pull request: https://github.com/apache/spark/pull/8811#issuecomment-141370141 [Test build #42648 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/42648/consoleFull) for PR 8811 at commit [`2fa0aa6`](https://gith

[GitHub] spark pull request: [SPARK-10656][SQL]fix selection fails when a c...

2015-09-18 Thread AmplabJenkins
Github user AmplabJenkins commented on the pull request: https://github.com/apache/spark/pull/8811#issuecomment-141369535 Merged build triggered. --- 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 h

[GitHub] spark pull request: [SPARK-10656][SQL]fix selection fails when a c...

2015-09-18 Thread AmplabJenkins
Github user AmplabJenkins commented on the pull request: https://github.com/apache/spark/pull/8811#issuecomment-141369552 Merged build started. --- 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

[GitHub] spark pull request: [SPARK-10656][SQL]fix selection fails when a c...

2015-09-18 Thread zhichao-li
GitHub user zhichao-li opened a pull request: https://github.com/apache/spark/pull/8811 [SPARK-10656][SQL]fix selection fails when a column has special characters Best explained with this example: val df = sqlContext.read.json(sqlContext.sparkContext.makeRDD( """{"a.b":