[GitHub] spark pull request: [SPARK-15462][SQL][TEST] `unresolved === false...
Github user dongjoon-hyun commented on the pull request: https://github.com/apache/spark/pull/13241#issuecomment-220795489 Thank you, @cloud-fan ! --- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. --- - To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org
[GitHub] spark pull request: [SPARK-15462][SQL][TEST] `unresolved === false...
Github user asfgit closed the pull request at: https://github.com/apache/spark/pull/13241 --- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. --- - To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org
[GitHub] spark pull request: [SPARK-15462][SQL][TEST] `unresolved === false...
Github user cloud-fan commented on the pull request: https://github.com/apache/spark/pull/13241#issuecomment-220782976 LGTM, merging to master and 2.0, 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. --- - To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org
[GitHub] spark pull request: [SPARK-15462][SQL][TEST] `unresolved === false...
Github user AmplabJenkins commented on the pull request: https://github.com/apache/spark/pull/13241#issuecomment-220766617 Test PASSed. Refer to this link for build results (access rights to CI server needed): https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/59068/ 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 does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- - To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org
[GitHub] spark pull request: [SPARK-15462][SQL][TEST] `unresolved === false...
Github user AmplabJenkins commented on the pull request: https://github.com/apache/spark/pull/13241#issuecomment-220766616 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 does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- - To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org
[GitHub] spark pull request: [SPARK-15462][SQL][TEST] `unresolved === false...
Github user SparkQA commented on the pull request: https://github.com/apache/spark/pull/13241#issuecomment-220766575 **[Test build #59068 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/59068/consoleFull)** for PR 13241 at commit [`9374936`](https://github.com/apache/spark/commit/9374936b0cd1ecf1e080c530a3f7c691188a61fd). * This patch passes all tests. * This patch merges cleanly. * This patch adds no public classes. --- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. --- - To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org
[GitHub] spark pull request: [SPARK-15462][SQL][TEST] `unresolved === false...
Github user dongjoon-hyun commented on the pull request: https://github.com/apache/spark/pull/13241#issuecomment-220763620 cc @cloud-fan . --- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. --- - To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org
[GitHub] spark pull request: [SPARK-15462][SQL][TEST] `unresolved === false...
Github user SparkQA commented on the pull request: https://github.com/apache/spark/pull/13241#issuecomment-220763541 **[Test build #59068 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/59068/consoleFull)** for PR 13241 at commit [`9374936`](https://github.com/apache/spark/commit/9374936b0cd1ecf1e080c530a3f7c691188a61fd). --- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. --- - To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org
[GitHub] spark pull request: [SPARK-15462][SQL][TEST] `unresolved === false...
GitHub user dongjoon-hyun opened a pull request: https://github.com/apache/spark/pull/13241 [SPARK-15462][SQL][TEST] `unresolved === false` is enough in testcases. ## What changes were proposed in this pull request? In only `catalyst` module, there exists 7 evaluation test cases on unresolved expressions. But, in real-world situation, those cases doesn't happen since they occurs exceptions before evaluations. ```scala scala> sql("select format_number(null, 3)") res0: org.apache.spark.sql.DataFrame = [format_number(CAST(NULL AS DOUBLE), 3): string] scala> sql("select format_number(cast(null as NULL), 3)") org.apache.spark.sql.catalyst.parser.ParseException: DataType null() is not supported.(line 1, pos 34) ``` This PR makes those testcases more realistic. ```scala -checkEvaluation(FormatNumber(Literal.create(null, NullType), Literal(3)), null) +assert(FormatNumber(Literal.create(null, NullType), Literal(3)).resolved === false) ``` Also, this PR also removes redundant `resolved` checking in `FoldablePropagation` optimizer. ## How was this patch tested? Pass the modified Jenkins tests. You can merge this pull request into a Git repository by running: $ git pull https://github.com/dongjoon-hyun/spark SPARK-15462 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/13241.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 #13241 commit 9374936b0cd1ecf1e080c530a3f7c691188a61fd Author: Dongjoon HyunDate: 2016-05-21T07:13:18Z [SPARK-15462][SQL][TEST] `unresolved === false` is enough in testcases. --- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. --- - To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org