[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

2015-04-21 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/spark/pull/4602 --- 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-5817] [SQL] Fix bug of udtf with column...

2015-04-21 Thread marmbrus
Github user marmbrus commented on the pull request: https://github.com/apache/spark/pull/4602#issuecomment-94958058 Thanks, merged to master. --- 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 t

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

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

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

2015-04-17 Thread SparkQA
Github user SparkQA commented on the pull request: https://github.com/apache/spark/pull/4602#issuecomment-94065756 [Test build #30493 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/30493/consoleFull) for PR 4602 at commit [`c2a5132`](https://gith

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

2015-04-17 Thread SparkQA
Github user SparkQA commented on the pull request: https://github.com/apache/spark/pull/4602#issuecomment-94054050 [Test build #30491 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/30491/consoleFull) for PR 4602 at commit [`556e982`](https://gith

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

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

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

2015-04-17 Thread SparkQA
Github user SparkQA commented on the pull request: https://github.com/apache/spark/pull/4602#issuecomment-94049145 [Test build #30490 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/30490/consoleFull) for PR 4602 at commit [`04ae500`](https://gith

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

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

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

2015-04-17 Thread SparkQA
Github user SparkQA commented on the pull request: https://github.com/apache/spark/pull/4602#issuecomment-94045656 [Test build #30489 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/30489/consoleFull) for PR 4602 at commit [`5ee5d2c`](https://gith

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

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

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

2015-04-17 Thread SparkQA
Github user SparkQA commented on the pull request: https://github.com/apache/spark/pull/4602#issuecomment-94045209 [Test build #30493 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/30493/consoleFull) for PR 4602 at commit [`c2a5132`](https://githu

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

2015-04-17 Thread SparkQA
Github user SparkQA commented on the pull request: https://github.com/apache/spark/pull/4602#issuecomment-94041648 [Test build #30491 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/30491/consoleFull) for PR 4602 at commit [`556e982`](https://githu

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

2015-04-17 Thread SparkQA
Github user SparkQA commented on the pull request: https://github.com/apache/spark/pull/4602#issuecomment-94036310 [Test build #30490 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/30490/consoleFull) for PR 4602 at commit [`04ae500`](https://githu

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

2015-04-17 Thread SparkQA
Github user SparkQA commented on the pull request: https://github.com/apache/spark/pull/4602#issuecomment-94032555 [Test build #30489 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/30489/consoleFull) for PR 4602 at commit [`5ee5d2c`](https://githu

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

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

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

2015-04-17 Thread SparkQA
Github user SparkQA commented on the pull request: https://github.com/apache/spark/pull/4602#issuecomment-93945559 [Test build #30468 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/30468/consoleFull) for PR 4602 at commit [`d2e8b43`](https://gith

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

2015-04-17 Thread chenghao-intel
Github user chenghao-intel commented on a diff in the pull request: https://github.com/apache/spark/pull/4602#discussion_r28575756 --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/generators.scala --- @@ -42,47 +42,27 @@ abstract class Generator exte

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

2015-04-17 Thread SparkQA
Github user SparkQA commented on the pull request: https://github.com/apache/spark/pull/4602#issuecomment-93936975 [Test build #30468 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/30468/consoleFull) for PR 4602 at commit [`d2e8b43`](https://githu

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

2015-04-17 Thread chenghao-intel
Github user chenghao-intel commented on a diff in the pull request: https://github.com/apache/spark/pull/4602#discussion_r28575507 --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/Analyzer.scala --- @@ -473,10 +473,47 @@ class Analyzer( */

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

2015-04-17 Thread chenghao-intel
Github user chenghao-intel commented on a diff in the pull request: https://github.com/apache/spark/pull/4602#discussion_r28575468 --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/CheckAnalysis.scala --- @@ -107,6 +113,12 @@ trait CheckAnalysis {

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

2015-04-14 Thread marmbrus
Github user marmbrus commented on a diff in the pull request: https://github.com/apache/spark/pull/4602#discussion_r28373360 --- Diff: sql/core/src/main/scala/org/apache/spark/sql/execution/Generate.scala --- @@ -31,40 +31,29 @@ import org.apache.spark.sql.catalyst.expressions._

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

2015-04-14 Thread marmbrus
Github user marmbrus commented on a diff in the pull request: https://github.com/apache/spark/pull/4602#discussion_r28372494 --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/generators.scala --- @@ -42,47 +42,27 @@ abstract class Generator extends Ex

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

2015-04-14 Thread marmbrus
Github user marmbrus commented on a diff in the pull request: https://github.com/apache/spark/pull/4602#discussion_r28372352 --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/generators.scala --- @@ -42,47 +42,27 @@ abstract class Generator extends Ex

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

2015-04-14 Thread marmbrus
Github user marmbrus commented on a diff in the pull request: https://github.com/apache/spark/pull/4602#discussion_r28372328 --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/dsl/package.scala --- @@ -284,12 +284,13 @@ package object dsl { seed: Int =

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

2015-04-14 Thread marmbrus
Github user marmbrus commented on a diff in the pull request: https://github.com/apache/spark/pull/4602#discussion_r28372261 --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/CheckAnalysis.scala --- @@ -107,6 +113,12 @@ trait CheckAnalysis {

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

2015-04-14 Thread marmbrus
Github user marmbrus commented on a diff in the pull request: https://github.com/apache/spark/pull/4602#discussion_r28372173 --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/Analyzer.scala --- @@ -473,10 +473,47 @@ class Analyzer( */ obje

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

2015-04-14 Thread marmbrus
Github user marmbrus commented on a diff in the pull request: https://github.com/apache/spark/pull/4602#discussion_r28371985 --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/Analyzer.scala --- @@ -473,10 +473,47 @@ class Analyzer( */ obje

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

2015-04-14 Thread marmbrus
Github user marmbrus commented on a diff in the pull request: https://github.com/apache/spark/pull/4602#discussion_r28371864 --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/plans/logical/basicOperators.scala --- @@ -40,34 +40,41 @@ case class Project(projectLis

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

2015-04-14 Thread marmbrus
Github user marmbrus commented on a diff in the pull request: https://github.com/apache/spark/pull/4602#discussion_r28371774 --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/plans/logical/basicOperators.scala --- @@ -40,34 +40,41 @@ case class Project(projectLis

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

2015-04-14 Thread marmbrus
Github user marmbrus commented on a diff in the pull request: https://github.com/apache/spark/pull/4602#discussion_r28371348 --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/Analyzer.scala --- @@ -473,10 +473,47 @@ class Analyzer( */ obje

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

2015-04-14 Thread marmbrus
Github user marmbrus commented on a diff in the pull request: https://github.com/apache/spark/pull/4602#discussion_r28371222 --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/plans/logical/basicOperators.scala --- @@ -40,34 +40,41 @@ case class Project(projectLis

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

2015-04-14 Thread SparkQA
Github user SparkQA commented on the pull request: https://github.com/apache/spark/pull/4602#issuecomment-92681545 [Test build #30222 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/30222/consoleFull) for PR 4602 at commit [`ca5e7f4`](https://gith

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

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

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

2015-04-13 Thread chenghao-intel
Github user chenghao-intel commented on a diff in the pull request: https://github.com/apache/spark/pull/4602#discussion_r28303497 --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/namedExpressions.scala --- @@ -112,6 +112,8 @@ case class Alias(child:

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

2015-04-13 Thread SparkQA
Github user SparkQA commented on the pull request: https://github.com/apache/spark/pull/4602#issuecomment-92644150 [Test build #30222 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/30222/consoleFull) for PR 4602 at commit [`ca5e7f4`](https://githu

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

2015-04-11 Thread marmbrus
Github user marmbrus commented on a diff in the pull request: https://github.com/apache/spark/pull/4602#discussion_r28199798 --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/namedExpressions.scala --- @@ -112,6 +112,8 @@ case class Alias(child: Expre

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

2015-04-07 Thread chenghao-intel
Github user chenghao-intel commented on the pull request: https://github.com/apache/spark/pull/4602#issuecomment-90749662 @marmbrus updated, can you review it again? --- 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

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

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

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

2015-04-07 Thread SparkQA
Github user SparkQA commented on the pull request: https://github.com/apache/spark/pull/4602#issuecomment-90695907 [Test build #29801 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/29801/consoleFull) for PR 4602 at commit [`607f4fb`](https://gith

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

2015-04-07 Thread SparkQA
Github user SparkQA commented on the pull request: https://github.com/apache/spark/pull/4602#issuecomment-90657029 [Test build #29801 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/29801/consoleFull) for PR 4602 at commit [`607f4fb`](https://githu

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

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

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

2015-04-07 Thread SparkQA
Github user SparkQA commented on the pull request: https://github.com/apache/spark/pull/4602#issuecomment-90470117 [Test build #29789 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/29789/consoleFull) for PR 4602 at commit [`76b820c`](https://gith

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

2015-04-07 Thread SparkQA
Github user SparkQA commented on the pull request: https://github.com/apache/spark/pull/4602#issuecomment-90469761 [Test build #29789 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/29789/consoleFull) for PR 4602 at commit [`76b820c`](https://githu

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

2015-04-07 Thread SparkQA
Github user SparkQA commented on the pull request: https://github.com/apache/spark/pull/4602#issuecomment-90464337 [Test build #29788 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/29788/consoleFull) for PR 4602 at commit [`2a66aa8`](https://gith

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

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

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

2015-04-07 Thread SparkQA
Github user SparkQA commented on the pull request: https://github.com/apache/spark/pull/4602#issuecomment-90463818 [Test build #29788 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/29788/consoleFull) for PR 4602 at commit [`2a66aa8`](https://githu

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

2015-04-06 Thread marmbrus
Github user marmbrus commented on the pull request: https://github.com/apache/spark/pull/4602#issuecomment-90241271 I think that if you just make them arguments to the constructor then all of the work to keep them consistent will come for free. --- If your project is set up for it, y

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

2015-04-05 Thread chenghao-intel
Github user chenghao-intel commented on the pull request: https://github.com/apache/spark/pull/4602#issuecomment-89903531 Yea, that's quite headache, all of the output attribute are created within the `Generate`, and will be bundled by its parent nodes later, the difficulty is to keep

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

2015-04-02 Thread marmbrus
Github user marmbrus commented on the pull request: https://github.com/apache/spark/pull/4602#issuecomment-89102449 Sorry for the delay. I did a quick pass and I think the biggest comment is the mutable state for the output of `Generate`. My initial version had tons of bugs, so I'd

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

2015-04-02 Thread marmbrus
Github user marmbrus commented on a diff in the pull request: https://github.com/apache/spark/pull/4602#discussion_r27710465 --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/plans/logical/basicOperators.scala --- @@ -40,34 +40,69 @@ case class Project(projectLis

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

2015-04-02 Thread marmbrus
Github user marmbrus commented on a diff in the pull request: https://github.com/apache/spark/pull/4602#discussion_r27710490 --- Diff: sql/core/src/main/scala/org/apache/spark/sql/DataFrame.scala --- @@ -700,12 +700,15 @@ class DataFrame private[sql]( */ def explode[A

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

2015-04-02 Thread marmbrus
Github user marmbrus commented on a diff in the pull request: https://github.com/apache/spark/pull/4602#discussion_r27710417 --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/namedExpressions.scala --- @@ -101,6 +101,7 @@ case class Alias(child: Expre

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

2015-04-02 Thread marmbrus
Github user marmbrus commented on a diff in the pull request: https://github.com/apache/spark/pull/4602#discussion_r27710379 --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/Analyzer.scala --- @@ -441,10 +441,23 @@ class Analyzer(catalog: Catalog,

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

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

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

2015-03-18 Thread SparkQA
Github user SparkQA commented on the pull request: https://github.com/apache/spark/pull/4602#issuecomment-83266758 [Test build #28846 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/28846/consoleFull) for PR 4602 at commit [`95187fe`](https://gith

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

2015-03-18 Thread SparkQA
Github user SparkQA commented on the pull request: https://github.com/apache/spark/pull/4602#issuecomment-83238883 [Test build #28846 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/28846/consoleFull) for PR 4602 at commit [`95187fe`](https://githu

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

2015-03-09 Thread chenghao-intel
Github user chenghao-intel commented on the pull request: https://github.com/apache/spark/pull/4602#issuecomment-77994219 cc @yhuai @marmbrus @liancheng can you review the code? I've finished the code refactoring and the bug fixing as we discussed above. --- If your project is set up

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

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

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

2015-03-09 Thread SparkQA
Github user SparkQA commented on the pull request: https://github.com/apache/spark/pull/4602#issuecomment-77990620 [Test build #28414 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/28414/consoleFull) for PR 4602 at commit [`da11e12`](https://gith

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

2015-03-09 Thread SparkQA
Github user SparkQA commented on the pull request: https://github.com/apache/spark/pull/4602#issuecomment-77984222 [Test build #28414 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/28414/consoleFull) for PR 4602 at commit [`da11e12`](https://githu

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

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

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

2015-03-09 Thread SparkQA
Github user SparkQA commented on the pull request: https://github.com/apache/spark/pull/4602#issuecomment-77879123 [Test build #28395 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/28395/consoleFull) for PR 4602 at commit [`7fa6e0d`](https://gith

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

2015-03-09 Thread SparkQA
Github user SparkQA commented on the pull request: https://github.com/apache/spark/pull/4602#issuecomment-77862925 [Test build #28395 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/28395/consoleFull) for PR 4602 at commit [`7fa6e0d`](https://githu

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

2015-03-09 Thread SparkQA
Github user SparkQA commented on the pull request: https://github.com/apache/spark/pull/4602#issuecomment-77818815 [Test build #28384 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/28384/consoleFull) for PR 4602 at commit [`3500042`](https://gith

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

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

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

2015-03-09 Thread SparkQA
Github user SparkQA commented on the pull request: https://github.com/apache/spark/pull/4602#issuecomment-77815033 [Test build #28384 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/28384/consoleFull) for PR 4602 at commit [`3500042`](https://githu

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

2015-02-26 Thread chenghao-intel
Github user chenghao-intel commented on a diff in the pull request: https://github.com/apache/spark/pull/4602#discussion_r25479434 --- Diff: sql/core/src/main/scala/org/apache/spark/sql/execution/Generate.scala --- @@ -34,24 +35,12 @@ import org.apache.spark.sql.catalyst.expression

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

2015-02-26 Thread marmbrus
Github user marmbrus commented on a diff in the pull request: https://github.com/apache/spark/pull/4602#discussion_r25462282 --- Diff: sql/core/src/main/scala/org/apache/spark/sql/execution/Generate.scala --- @@ -34,24 +35,12 @@ import org.apache.spark.sql.catalyst.expressions._

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

2015-02-25 Thread chenghao-intel
Github user chenghao-intel commented on a diff in the pull request: https://github.com/apache/spark/pull/4602#discussion_r25394294 --- Diff: sql/core/src/main/scala/org/apache/spark/sql/execution/Generate.scala --- @@ -34,24 +35,12 @@ import org.apache.spark.sql.catalyst.expression

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

2015-02-25 Thread marmbrus
Github user marmbrus commented on a diff in the pull request: https://github.com/apache/spark/pull/4602#discussion_r25382904 --- Diff: sql/core/src/main/scala/org/apache/spark/sql/execution/Generate.scala --- @@ -34,24 +35,12 @@ import org.apache.spark.sql.catalyst.expressions._

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

2015-02-24 Thread chenghao-intel
Github user chenghao-intel commented on a diff in the pull request: https://github.com/apache/spark/pull/4602#discussion_r25318693 --- Diff: sql/core/src/main/scala/org/apache/spark/sql/execution/Generate.scala --- @@ -34,24 +35,12 @@ import org.apache.spark.sql.catalyst.expression

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

2015-02-24 Thread marmbrus
Github user marmbrus commented on a diff in the pull request: https://github.com/apache/spark/pull/4602#discussion_r25318534 --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/Analyzer.scala --- @@ -501,8 +507,10 @@ class Analyzer(catalog: Catalog,

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

2015-02-24 Thread chenghao-intel
Github user chenghao-intel commented on a diff in the pull request: https://github.com/apache/spark/pull/4602#discussion_r25318498 --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/Analyzer.scala --- @@ -501,8 +507,10 @@ class Analyzer(catalog: Catalog,

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

2015-02-24 Thread marmbrus
Github user marmbrus commented on a diff in the pull request: https://github.com/apache/spark/pull/4602#discussion_r25318420 --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/Analyzer.scala --- @@ -501,8 +507,10 @@ class Analyzer(catalog: Catalog,

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

2015-02-24 Thread marmbrus
Github user marmbrus commented on a diff in the pull request: https://github.com/apache/spark/pull/4602#discussion_r25318272 --- Diff: sql/core/src/main/scala/org/apache/spark/sql/execution/Generate.scala --- @@ -34,24 +35,12 @@ import org.apache.spark.sql.catalyst.expressions._

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

2015-02-24 Thread marmbrus
Github user marmbrus commented on a diff in the pull request: https://github.com/apache/spark/pull/4602#discussion_r25318212 --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/Analyzer.scala --- @@ -144,6 +144,12 @@ class Analyzer(catalog: Catalog,

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

2015-02-24 Thread marmbrus
Github user marmbrus commented on a diff in the pull request: https://github.com/apache/spark/pull/4602#discussion_r25318192 --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/Analyzer.scala --- @@ -144,6 +144,12 @@ class Analyzer(catalog: Catalog,

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

2015-02-24 Thread chenghao-intel
Github user chenghao-intel commented on the pull request: https://github.com/apache/spark/pull/4602#issuecomment-75884037 @yhuai @marmbrus this is a bug fixing, it will be great if you can give more comments on this, and I agree with @yhuai we need to refactor the UDTF expression impl

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

2015-02-21 Thread chenghao-intel
Github user chenghao-intel commented on the pull request: https://github.com/apache/spark/pull/4602#issuecomment-75419540 @yhuai please ignore my previous comment. I was thinking some other possibilities. I agree with you we can move the output column names into the logical plan n

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

2015-02-21 Thread chenghao-intel
Github user chenghao-intel commented on the pull request: https://github.com/apache/spark/pull/4602#issuecomment-75417555 The `generator` is not like the normal expression, which can output multiple columns, in current implementation, the logical plan node `Generate` is for that purpo

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

2015-02-17 Thread yhuai
Github user yhuai commented on the pull request: https://github.com/apache/spark/pull/4602#issuecomment-74807564 @chenghao-intel After another look of the code, I think it may be better to remove aliases from the `generator`. Then, `MultiAlias` can be used to assign the names to the o

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

2015-02-17 Thread chenghao-intel
Github user chenghao-intel commented on the pull request: https://github.com/apache/spark/pull/4602#issuecomment-74801565 /cc @marmbrus @yhuai Any comment on this? --- 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

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

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

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

2015-02-17 Thread SparkQA
Github user SparkQA commented on the pull request: https://github.com/apache/spark/pull/4602#issuecomment-74637694 [Test build #27620 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/27620/consoleFull) for PR 4602 at commit [`f6907d2`](https://gith

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

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

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

2015-02-17 Thread SparkQA
Github user SparkQA commented on the pull request: https://github.com/apache/spark/pull/4602#issuecomment-74636197 [Test build #27617 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/27617/consoleFull) for PR 4602 at commit [`f6907d2`](https://gith

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

2015-02-16 Thread SparkQA
Github user SparkQA commented on the pull request: https://github.com/apache/spark/pull/4602#issuecomment-74629893 [Test build #27620 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/27620/consoleFull) for PR 4602 at commit [`f6907d2`](https://githu

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

2015-02-16 Thread chenghao-intel
Github user chenghao-intel commented on the pull request: https://github.com/apache/spark/pull/4602#issuecomment-74629760 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 t

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

2015-02-16 Thread chenghao-intel
Github user chenghao-intel commented on the pull request: https://github.com/apache/spark/pull/4602#issuecomment-74628619 Thank you @yhuai , I've updated the description and rebased the code. --- If your project is set up for it, you can reply to this email and have your reply appear

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

2015-02-16 Thread SparkQA
Github user SparkQA commented on the pull request: https://github.com/apache/spark/pull/4602#issuecomment-74628623 [Test build #27617 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/27617/consoleFull) for PR 4602 at commit [`f6907d2`](https://githu

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

2015-02-16 Thread yhuai
Github user yhuai commented on the pull request: https://github.com/apache/spark/pull/4602#issuecomment-74600228 I tried the following ``` val rdd = sc.parallelize((1 to 10).map(i => s"""{"a":$i, "b":"str${i}"}""")) sqlContext.jsonRDD(rdd).registerTempTable("jt") sqlCon

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

2015-02-15 Thread chenghao-intel
Github user chenghao-intel commented on the pull request: https://github.com/apache/spark/pull/4602#issuecomment-74402072 @marmbrus any more comments on this? --- 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 projec

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

2015-02-15 Thread chenghao-intel
Github user chenghao-intel commented on a diff in the pull request: https://github.com/apache/spark/pull/4602#discussion_r24718543 --- Diff: sql/core/src/main/scala/org/apache/spark/sql/execution/Generate.scala --- @@ -34,17 +36,22 @@ import org.apache.spark.sql.catalyst.expression

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

2015-02-15 Thread SparkQA
Github user SparkQA commented on the pull request: https://github.com/apache/spark/pull/4602#issuecomment-74401862 [Test build #27499 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/27499/consoleFull) for PR 4602 at commit [`9656e51`](https://gith

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

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

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

2015-02-15 Thread chenghao-intel
Github user chenghao-intel commented on a diff in the pull request: https://github.com/apache/spark/pull/4602#discussion_r24718498 --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/Analyzer.scala --- @@ -137,6 +137,11 @@ class Analyzer(catalog: Catalog,

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

2015-02-15 Thread SparkQA
Github user SparkQA commented on the pull request: https://github.com/apache/spark/pull/4602#issuecomment-74400196 [Test build #27499 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/27499/consoleFull) for PR 4602 at commit [`9656e51`](https://githu

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

2015-02-15 Thread chenghao-intel
Github user chenghao-intel commented on a diff in the pull request: https://github.com/apache/spark/pull/4602#discussion_r24718555 --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/Analyzer.scala --- @@ -137,6 +137,11 @@ class Analyzer(catalog: Catalog,

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

2015-02-14 Thread marmbrus
Github user marmbrus commented on a diff in the pull request: https://github.com/apache/spark/pull/4602#discussion_r24715779 --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/Analyzer.scala --- @@ -137,6 +137,11 @@ class Analyzer(catalog: Catalog,

[GitHub] spark pull request: [SPARK-5817] [SQL] Fix bug of udtf with column...

2015-02-14 Thread marmbrus
Github user marmbrus commented on a diff in the pull request: https://github.com/apache/spark/pull/4602#discussion_r24715815 --- Diff: sql/core/src/main/scala/org/apache/spark/sql/execution/Generate.scala --- @@ -34,17 +36,22 @@ import org.apache.spark.sql.catalyst.expressions._

  1   2   >