You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2020/08/31 00:06:47 UTC
[GitHub] [spark] ulysses-you opened a new pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
ulysses-you opened a new pull request #29586:
URL: https://github.com/apache/spark/pull/29586
<!--
Thanks for sending a pull request! Here are some tips for you:
1. If this is your first time, please read our contributor guidelines: https://spark.apache.org/contributing.html
2. Ensure you have added or run the appropriate tests for your PR: https://spark.apache.org/developer-tools.html
3. If the PR is unfinished, add '[WIP]' in your PR title, e.g., '[WIP][SPARK-XXXX] Your PR title ...'.
4. Be sure to keep the PR description updated to reflect all changes.
5. Please write your PR title to summarize what this PR proposes.
6. If possible, provide a concise example to reproduce the issue for a faster review.
7. If you want to add a new configuration, please read the guideline first for naming configurations in
'core/src/main/scala/org/apache/spark/internal/config/ConfigEntry.scala'.
-->
### What changes were proposed in this pull request?
<!--
Please clarify what changes you are proposing. The purpose of this section is to outline the changes and how this PR fixes the issue.
If possible, please consider writing useful notes for better and faster reviews in your PR. See the examples below.
1. If you refactor some codes with changing classes, showing the class hierarchy will help reviewers.
2. If you fix some SQL features, you can provide some references of other DBMSes.
3. If there is design documentation, please add the link.
4. If there is a discussion in the mailing list, please add the link.
-->
Add distinct info at `UnresolvedFunction.toString`.
### Why are the changes needed?
<!--
Please clarify why the changes are needed. For instance,
1. If you propose a new API, clarify the use case for a new API.
2. If you fix a bug, you can clarify why it is a bug.
-->
Make `UnresolvedFunction` info complete.
```
create table test (c1 int, c2 int);
explain extended select sum(distinct c1) from test;
-- before this pr
== Parsed Logical Plan ==
'Project [unresolvedalias('sum('c1), None)]
+- 'UnresolvedRelation [test]
-- after this pr
== Parsed Logical Plan ==
'Project [unresolvedalias('sum(distinct 'c1), None)]
+- 'UnresolvedRelation [test]
```
### Does this PR introduce _any_ user-facing change?
<!--
Note that it means *any* user-facing change including all aspects such as the documentation fix.
If yes, please clarify the previous behavior and the change this PR proposes - provide the console output, description and/or an example to show the behavior difference if possible.
If possible, please also clarify if this is a user-facing change compared to the released Spark versions or within the unreleased branches such as master.
If no, write 'No'.
-->
Yes, get distinct info during sql parse.
### How was this patch tested?
<!--
If tests were added, say they were added here. Please make sure to add some test cases that check the changes thoroughly including negative and positive cases if possible.
If it was tested in a way different from regular unit tests, please clarify how you tested step by step, ideally copy and paste-able, so that other reviewers can test and check, and descendants can verify in the future.
If tests were not added, please describe why they were not added and/or why it was difficult to add.
-->
manual test.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-688587580
Merged build finished. Test FAILed.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-688804758
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-688575682
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-693143406
Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/128733/
Test FAILed.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-688820648
Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/128402/
Test FAILed.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-693122506
**[Test build #128726 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/128726/testReport)** for PR 29586 at commit [`458d744`](https://github.com/apache/spark/commit/458d74446e663cd5a727a4c054ed6aa31e45cab4).
* This patch **fails Spark unit tests**.
* This patch merges cleanly.
* This patch adds no public classes.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-701715295
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-693177482
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-688883164
**[Test build #128411 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/128411/testReport)** for PR 29586 at commit [`b8c438a`](https://github.com/apache/spark/commit/b8c438a4b0d45fdaad74df94b08ac182103c9ece).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA removed a comment on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
SparkQA removed a comment on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-702535196
**[Test build #129337 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/129337/testReport)** for PR 29586 at commit [`95a3e02`](https://github.com/apache/spark/commit/95a3e028b2d1c83eaeab4baf15c07870df4a66ad).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA removed a comment on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
SparkQA removed a comment on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-683490572
**[Test build #128056 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/128056/testReport)** for PR 29586 at commit [`d4e578c`](https://github.com/apache/spark/commit/d4e578cf6eb7f31d4e727e0154455efbc7ac175e).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA removed a comment on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
SparkQA removed a comment on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-704326351
**[Test build #129453 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/129453/testReport)** for PR 29586 at commit [`95a3e02`](https://github.com/apache/spark/commit/95a3e028b2d1c83eaeab4baf15c07870df4a66ad).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] maropu commented on a change in pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
maropu commented on a change in pull request #29586:
URL: https://github.com/apache/spark/pull/29586#discussion_r479841453
##########
File path: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/unresolved.scala
##########
@@ -256,7 +256,10 @@ case class UnresolvedFunction(
override lazy val resolved = false
override def prettyName: String = name.unquotedString
- override def toString: String = s"'$name(${children.mkString(", ")})"
+ override def toString: String = {
+ val distinct = if (isDistinct) "distinct " else ""
+ s"'$name($distinct${children.mkString(", ")})"
Review comment:
Ah, I see. But, its better to reformat the output, `'Project [unresolvedalias('sum('c1), None)]` into `'Project [unresolvedalias('sum('c1))]` because `None` looks ambigous for users.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-688664411
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-688587580
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] maropu commented on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
maropu commented on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-705896761
Thanks! Merged to master.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-688691801
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-704326351
**[Test build #129453 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/129453/testReport)** for PR 29586 at commit [`95a3e02`](https://github.com/apache/spark/commit/95a3e028b2d1c83eaeab4baf15c07870df4a66ad).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-688989112
Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/128411/
Test FAILed.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-688820639
Merged build finished. Test FAILed.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-705726695
**[Test build #129556 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/129556/testReport)** for PR 29586 at commit [`75d0b58`](https://github.com/apache/spark/commit/75d0b586eb4408694fb06506419336ed7dea10cc).
* This patch passes all tests.
* This patch merges cleanly.
* This patch adds no public classes.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] maropu commented on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
maropu commented on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-704604437
The test failure looks valid.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA removed a comment on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
SparkQA removed a comment on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-693176982
**[Test build #128741 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/128741/testReport)** for PR 29586 at commit [`95a3e02`](https://github.com/apache/spark/commit/95a3e028b2d1c83eaeab4baf15c07870df4a66ad).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] maropu commented on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
maropu commented on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-704321906
retest this please
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-693143397
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-693122573
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-705492036
Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/34161/
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] maropu commented on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
maropu commented on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-701696428
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-705539018
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-705539030
Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/129555/
Test FAILed.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-705538686
**[Test build #129555 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/129555/testReport)** for PR 29586 at commit [`4e10394`](https://github.com/apache/spark/commit/4e10394c1619f1828687eb3e8ef4f22001c004f3).
* This patch **fails Spark unit tests**.
* This patch merges cleanly.
* This patch adds no public classes.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-693094145
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA removed a comment on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
SparkQA removed a comment on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-705461369
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-702585774
Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/33950/
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-693131423
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-688987960
**[Test build #128411 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/128411/testReport)** for PR 29586 at commit [`b8c438a`](https://github.com/apache/spark/commit/b8c438a4b0d45fdaad74df94b08ac182103c9ece).
* This patch **fails Spark unit tests**.
* This patch merges cleanly.
* This patch adds no public classes.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-701715295
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA removed a comment on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
SparkQA removed a comment on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-693093829
**[Test build #128726 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/128726/testReport)** for PR 29586 at commit [`458d744`](https://github.com/apache/spark/commit/458d74446e663cd5a727a4c054ed6aa31e45cab4).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-704389281
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] ulysses-you commented on a change in pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
ulysses-you commented on a change in pull request #29586:
URL: https://github.com/apache/spark/pull/29586#discussion_r484590519
##########
File path: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/unresolved.scala
##########
@@ -256,7 +256,10 @@ case class UnresolvedFunction(
override lazy val resolved = false
override def prettyName: String = name.unquotedString
- override def toString: String = s"'$name(${children.mkString(", ")})"
+ override def toString: String = {
+ val distinct = if (isDistinct) "distinct " else ""
+ s"'$name($distinct${children.mkString(", ")})"
Review comment:
Does this like ok ? please tell me if need to do anything else.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-702567664
Merged build finished. Test FAILed.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-704389306
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-688804758
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-702535196
**[Test build #129337 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/129337/testReport)** for PR 29586 at commit [`95a3e02`](https://github.com/apache/spark/commit/95a3e028b2d1c83eaeab4baf15c07870df4a66ad).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-688820639
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-688768984
Merged build finished. Test FAILed.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-683490572
**[Test build #128056 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/128056/testReport)** for PR 29586 at commit [`d4e578c`](https://github.com/apache/spark/commit/d4e578cf6eb7f31d4e727e0154455efbc7ac175e).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-688575682
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-701722582
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA removed a comment on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
SparkQA removed a comment on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-701697926
**[Test build #129292 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/129292/testReport)** for PR 29586 at commit [`95a3e02`](https://github.com/apache/spark/commit/95a3e028b2d1c83eaeab4baf15c07870df4a66ad).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-701722363
**[Test build #129292 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/129292/testReport)** for PR 29586 at commit [`95a3e02`](https://github.com/apache/spark/commit/95a3e028b2d1c83eaeab4baf15c07870df4a66ad).
* This patch **fails Spark unit tests**.
* This patch merges cleanly.
* This patch adds no public classes.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-683490787
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] maropu commented on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
maropu commented on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-701730955
@ulysses-you could you fix the test failures?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-693217286
Merged build finished. Test FAILed.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-688664162
**[Test build #128379 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/128379/testReport)** for PR 29586 at commit [`7f112c9`](https://github.com/apache/spark/commit/7f112c96bc40578c78aec8c513b0fa0339819d09).
* This patch **fails due to an unknown error code, -9**.
* This patch merges cleanly.
* This patch adds no public classes.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-688820261
**[Test build #128402 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/128402/testReport)** for PR 29586 at commit [`0eeafdc`](https://github.com/apache/spark/commit/0eeafdc88cc0cdf61218cfbf84f5bba2c641fe76).
* This patch **fails Spark unit tests**.
* This patch merges cleanly.
* This patch adds no public classes.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-701710189
Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/33908/
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] maropu commented on a change in pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
maropu commented on a change in pull request #29586:
URL: https://github.com/apache/spark/pull/29586#discussion_r484595886
##########
File path: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/unresolved.scala
##########
@@ -256,7 +256,10 @@ case class UnresolvedFunction(
override lazy val resolved = false
override def prettyName: String = name.unquotedString
- override def toString: String = s"'$name(${children.mkString(", ")})"
+ override def toString: String = {
+ val distinct = if (isDistinct) "distinct " else ""
+ s"'$name($distinct${children.mkString(", ")})"
Review comment:
Could you add tests somewhere?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-688691801
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA removed a comment on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
SparkQA removed a comment on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-688620214
**[Test build #128379 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/128379/testReport)** for PR 29586 at commit [`7f112c9`](https://github.com/apache/spark/commit/7f112c96bc40578c78aec8c513b0fa0339819d09).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-688989104
Merged build finished. Test FAILed.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-688620214
**[Test build #128379 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/128379/testReport)** for PR 29586 at commit [`7f112c9`](https://github.com/apache/spark/commit/7f112c96bc40578c78aec8c513b0fa0339819d09).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-702565012
**[Test build #129337 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/129337/testReport)** for PR 29586 at commit [`95a3e02`](https://github.com/apache/spark/commit/95a3e028b2d1c83eaeab4baf15c07870df4a66ad).
* This patch **fails due to an unknown error code, -9**.
* This patch merges cleanly.
* This patch adds no public classes.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-693131423
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] ulysses-you commented on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
ulysses-you commented on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-704261782
thanks @maropu, can you trigger an another test ? I'm not sure if it is a related test failure.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] maropu closed pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
maropu closed pull request #29586:
URL: https://github.com/apache/spark/pull/29586
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] ulysses-you commented on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
ulysses-you commented on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-705461520
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA removed a comment on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
SparkQA removed a comment on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-688691017
**[Test build #128392 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/128392/testReport)** for PR 29586 at commit [`a784a9b`](https://github.com/apache/spark/commit/a784a9be536ddd08da397a4ba1c4d5640ede9e06).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA removed a comment on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
SparkQA removed a comment on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-693133196
**[Test build #128733 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/128733/testReport)** for PR 29586 at commit [`c340253`](https://github.com/apache/spark/commit/c34025329b8a8a89b09a666daec0d3fa4f307ea1).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-705612060
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-693217294
Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/128741/
Test FAILed.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] ulysses-you commented on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
ulysses-you commented on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-705898173
thanks for merging !
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] ulysses-you commented on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
ulysses-you commented on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-683489894
@maropu sorry for the late pr.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] ulysses-you commented on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
ulysses-you commented on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-705461520
thanks @maropu , this failure is introduced after [#29756](https://github.com/apache/spark/pull/29756). Updated the test.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-702596181
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-693093829
**[Test build #128726 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/128726/testReport)** for PR 29586 at commit [`458d744`](https://github.com/apache/spark/commit/458d74446e663cd5a727a4c054ed6aa31e45cab4).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-704389306
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] ulysses-you commented on a change in pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
ulysses-you commented on a change in pull request #29586:
URL: https://github.com/apache/spark/pull/29586#discussion_r479851165
##########
File path: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/unresolved.scala
##########
@@ -256,7 +256,10 @@ case class UnresolvedFunction(
override lazy val resolved = false
override def prettyName: String = name.unquotedString
- override def toString: String = s"'$name(${children.mkString(", ")})"
+ override def toString: String = {
+ val distinct = if (isDistinct) "distinct " else ""
+ s"'$name($distinct${children.mkString(", ")})"
Review comment:
Seems we can check none in `Expression.flatArguments` to avoid these case.
```
protected def flatArguments: Iterator[Any] = stringArgs.flatMap {
case t: Iterable[_] => t
case single => single :: Nil
case None => Nil
}
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-705727673
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] maropu commented on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
maropu commented on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-705896761
Thanks! Merged to master.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-693143280
**[Test build #128733 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/128733/testReport)** for PR 29586 at commit [`c340253`](https://github.com/apache/spark/commit/c34025329b8a8a89b09a666daec0d3fa4f307ea1).
* This patch **fails Spark unit tests**.
* This patch merges cleanly.
* This patch adds no public classes.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-705612075
Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/34162/
Test FAILed.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-701715273
Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/33908/
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-693217286
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-701722587
Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/129292/
Test FAILed.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-683556021
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-705484126
Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/34161/
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] maropu closed pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
maropu closed pull request #29586:
URL: https://github.com/apache/spark/pull/29586
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-705492054
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-705492054
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-704378464
Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/34060/
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-693122573
Merged build finished. Test FAILed.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] maropu commented on a change in pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
maropu commented on a change in pull request #29586:
URL: https://github.com/apache/spark/pull/29586#discussion_r479851369
##########
File path: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/unresolved.scala
##########
@@ -256,7 +256,10 @@ case class UnresolvedFunction(
override lazy val resolved = false
override def prettyName: String = name.unquotedString
- override def toString: String = s"'$name(${children.mkString(", ")})"
+ override def toString: String = {
+ val distinct = if (isDistinct) "distinct " else ""
+ s"'$name($distinct${children.mkString(", ")})"
Review comment:
Oh, ok. ~Yea, can you?~ NVM, on second though, the current one looks okay.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-693094145
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-702596181
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-693177482
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-693122577
Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/128726/
Test FAILed.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] maropu commented on a change in pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
maropu commented on a change in pull request #29586:
URL: https://github.com/apache/spark/pull/29586#discussion_r479851369
##########
File path: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/unresolved.scala
##########
@@ -256,7 +256,10 @@ case class UnresolvedFunction(
override lazy val resolved = false
override def prettyName: String = name.unquotedString
- override def toString: String = s"'$name(${children.mkString(", ")})"
+ override def toString: String = {
+ val distinct = if (isDistinct) "distinct " else ""
+ s"'$name($distinct${children.mkString(", ")})"
Review comment:
Oh, ok. ~Yea, can you?~ NVM, on second thought, the current one looks okay.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-688691017
**[Test build #128392 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/128392/testReport)** for PR 29586 at commit [`a784a9b`](https://github.com/apache/spark/commit/a784a9be536ddd08da397a4ba1c4d5640ede9e06).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-688768984
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-705539018
Merged build finished. Test FAILed.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-705727673
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-705461369
**[Test build #129555 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/129555/testReport)** for PR 29586 at commit [`4e10394`](https://github.com/apache/spark/commit/4e10394c1619f1828687eb3e8ef4f22001c004f3).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-688575476
**[Test build #128373 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/128373/testReport)** for PR 29586 at commit [`745de51`](https://github.com/apache/spark/commit/745de511995e19f851f6f07b9baeca2a9c6ef38d).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] maropu commented on a change in pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
maropu commented on a change in pull request #29586:
URL: https://github.com/apache/spark/pull/29586#discussion_r479851369
##########
File path: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/unresolved.scala
##########
@@ -256,7 +256,10 @@ case class UnresolvedFunction(
override lazy val resolved = false
override def prettyName: String = name.unquotedString
- override def toString: String = s"'$name(${children.mkString(", ")})"
+ override def toString: String = {
+ val distinct = if (isDistinct) "distinct " else ""
+ s"'$name($distinct${children.mkString(", ")})"
Review comment:
Oh, ok. Yea, can you?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA removed a comment on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
SparkQA removed a comment on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-688883164
**[Test build #128411 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/128411/testReport)** for PR 29586 at commit [`b8c438a`](https://github.com/apache/spark/commit/b8c438a4b0d45fdaad74df94b08ac182103c9ece).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-705612060
Merged build finished. Test FAILed.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-688587456
**[Test build #128373 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/128373/testReport)** for PR 29586 at commit [`745de51`](https://github.com/apache/spark/commit/745de511995e19f851f6f07b9baeca2a9c6ef38d).
* This patch **fails Spark unit tests**.
* This patch merges cleanly.
* This patch adds no public classes.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] ulysses-you commented on a change in pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
ulysses-you commented on a change in pull request #29586:
URL: https://github.com/apache/spark/pull/29586#discussion_r479841236
##########
File path: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/unresolved.scala
##########
@@ -256,7 +256,10 @@ case class UnresolvedFunction(
override lazy val resolved = false
override def prettyName: String = name.unquotedString
- override def toString: String = s"'$name(${children.mkString(", ")})"
+ override def toString: String = {
+ val distinct = if (isDistinct) "distinct " else ""
+ s"'$name($distinct${children.mkString(", ")})"
Review comment:
filter as a child already exists.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-688866380
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-701697926
**[Test build #129292 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/129292/testReport)** for PR 29586 at commit [`95a3e02`](https://github.com/apache/spark/commit/95a3e028b2d1c83eaeab4baf15c07870df4a66ad).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-702596166
Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/33950/
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-688804150
**[Test build #128402 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/128402/testReport)** for PR 29586 at commit [`0eeafdc`](https://github.com/apache/spark/commit/0eeafdc88cc0cdf61218cfbf84f5bba2c641fe76).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-705612024
Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/34162/
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-705599068
Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/34162/
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA removed a comment on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
SparkQA removed a comment on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-705568841
**[Test build #129556 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/129556/testReport)** for PR 29586 at commit [`75d0b58`](https://github.com/apache/spark/commit/75d0b586eb4408694fb06506419336ed7dea10cc).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA removed a comment on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
SparkQA removed a comment on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-705461369
**[Test build #129555 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/129555/testReport)** for PR 29586 at commit [`4e10394`](https://github.com/apache/spark/commit/4e10394c1619f1828687eb3e8ef4f22001c004f3).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-705461369
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-693216735
**[Test build #128741 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/128741/testReport)** for PR 29586 at commit [`95a3e02`](https://github.com/apache/spark/commit/95a3e028b2d1c83eaeab4baf15c07870df4a66ad).
* This patch **fails due to an unknown error code, -9**.
* This patch merges cleanly.
* This patch adds no public classes.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-688620505
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-688664424
Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/128379/
Test FAILed.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] maropu commented on a change in pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
maropu commented on a change in pull request #29586:
URL: https://github.com/apache/spark/pull/29586#discussion_r479841453
##########
File path: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/unresolved.scala
##########
@@ -256,7 +256,10 @@ case class UnresolvedFunction(
override lazy val resolved = false
override def prettyName: String = name.unquotedString
- override def toString: String = s"'$name(${children.mkString(", ")})"
+ override def toString: String = {
+ val distinct = if (isDistinct) "distinct " else ""
+ s"'$name($distinct${children.mkString(", ")})"
Review comment:
Ah, I see.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] maropu commented on a change in pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
maropu commented on a change in pull request #29586:
URL: https://github.com/apache/spark/pull/29586#discussion_r484605952
##########
File path: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/unresolved.scala
##########
@@ -256,7 +256,10 @@ case class UnresolvedFunction(
override lazy val resolved = false
override def prettyName: String = name.unquotedString
- override def toString: String = s"'$name(${children.mkString(", ")})"
+ override def toString: String = {
+ val distinct = if (isDistinct) "distinct " else ""
+ s"'$name($distinct${children.mkString(", ")})"
Review comment:
sgtm
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-693133196
**[Test build #128733 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/128733/testReport)** for PR 29586 at commit [`c340253`](https://github.com/apache/spark/commit/c34025329b8a8a89b09a666daec0d3fa4f307ea1).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-688620505
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-688989104
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-702567664
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] maropu commented on a change in pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
maropu commented on a change in pull request #29586:
URL: https://github.com/apache/spark/pull/29586#discussion_r479851369
##########
File path: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/unresolved.scala
##########
@@ -256,7 +256,10 @@ case class UnresolvedFunction(
override lazy val resolved = false
override def prettyName: String = name.unquotedString
- override def toString: String = s"'$name(${children.mkString(", ")})"
+ override def toString: String = {
+ val distinct = if (isDistinct) "distinct " else ""
+ s"'$name($distinct${children.mkString(", ")})"
Review comment:
~Oh, ok. Yea, can you?~ NVM, on second though, the current one looks okay.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] maropu commented on a change in pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
maropu commented on a change in pull request #29586:
URL: https://github.com/apache/spark/pull/29586#discussion_r479838221
##########
File path: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/unresolved.scala
##########
@@ -256,7 +256,10 @@ case class UnresolvedFunction(
override lazy val resolved = false
override def prettyName: String = name.unquotedString
- override def toString: String = s"'$name(${children.mkString(", ")})"
+ override def toString: String = {
+ val distinct = if (isDistinct) "distinct " else ""
+ s"'$name($distinct${children.mkString(", ")})"
Review comment:
We need to handle `filter`, too?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-688664411
Merged build finished. Test FAILed.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-693143397
Merged build finished. Test FAILed.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] HyukjinKwon commented on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
HyukjinKwon commented on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-702527232
retest this please
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA removed a comment on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
SparkQA removed a comment on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-688575476
**[Test build #128373 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/128373/testReport)** for PR 29586 at commit [`745de51`](https://github.com/apache/spark/commit/745de511995e19f851f6f07b9baeca2a9c6ef38d).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-705492054
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-683490787
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-688768746
**[Test build #128392 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/128392/testReport)** for PR 29586 at commit [`a784a9b`](https://github.com/apache/spark/commit/a784a9be536ddd08da397a4ba1c4d5640ede9e06).
* This patch **fails Spark unit tests**.
* This patch merges cleanly.
* This patch adds no public classes.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-688768991
Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/128392/
Test FAILed.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-683554961
**[Test build #128056 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/128056/testReport)** for PR 29586 at commit [`d4e578c`](https://github.com/apache/spark/commit/d4e578cf6eb7f31d4e727e0154455efbc7ac175e).
* This patch passes all tests.
* This patch merges cleanly.
* This patch adds no public classes.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-693176982
**[Test build #128741 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/128741/testReport)** for PR 29586 at commit [`95a3e02`](https://github.com/apache/spark/commit/95a3e028b2d1c83eaeab4baf15c07870df4a66ad).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-688587584
Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/128373/
Test FAILed.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-683556021
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-705492054
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-705568841
**[Test build #129556 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/129556/testReport)** for PR 29586 at commit [`75d0b58`](https://github.com/apache/spark/commit/75d0b586eb4408694fb06506419336ed7dea10cc).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] ulysses-you commented on a change in pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
ulysses-you commented on a change in pull request #29586:
URL: https://github.com/apache/spark/pull/29586#discussion_r479850174
##########
File path: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/unresolved.scala
##########
@@ -256,7 +256,10 @@ case class UnresolvedFunction(
override lazy val resolved = false
override def prettyName: String = name.unquotedString
- override def toString: String = s"'$name(${children.mkString(", ")})"
+ override def toString: String = {
+ val distinct = if (isDistinct) "distinct " else ""
+ s"'$name($distinct${children.mkString(", ")})"
Review comment:
The none is introduced by `unresolvedalias`, shall we reformat it in this pr ?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-702567674
Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/129337/
Test FAILed.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA removed a comment on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
SparkQA removed a comment on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-688804150
**[Test build #128402 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/128402/testReport)** for PR 29586 at commit [`0eeafdc`](https://github.com/apache/spark/commit/0eeafdc88cc0cdf61218cfbf84f5bba2c641fe76).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] maropu commented on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
maropu commented on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-704321818
> thanks @maropu, can you trigger an another test ? I'm not sure if it is a related test failure.
You cannot do so?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-701722582
Merged build finished. Test FAILed.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #29586:
URL: https://github.com/apache/spark/pull/29586#issuecomment-688866380
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] ulysses-you commented on a change in pull request #29586: [SPARK-32743][SQL] Add distinct info at UnresolvedFunction toString
Posted by GitBox <gi...@apache.org>.
ulysses-you commented on a change in pull request #29586:
URL: https://github.com/apache/spark/pull/29586#discussion_r484598089
##########
File path: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/unresolved.scala
##########
@@ -256,7 +256,10 @@ case class UnresolvedFunction(
override lazy val resolved = false
override def prettyName: String = name.unquotedString
- override def toString: String = s"'$name(${children.mkString(", ")})"
+ override def toString: String = {
+ val distinct = if (isDistinct) "distinct " else ""
+ s"'$name($distinct${children.mkString(", ")})"
Review comment:
How about add test in `explain.sql` ? like this
```
-- distinct func
EXPLAIN EXTENDED
SELECT sum(distinct val)
FROM explain_temp1
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org