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 2021/02/20 15:10:45 UTC
[GitHub] [spark] sarutak opened a new pull request #31601: [SPARK-34484][SQL] Introduce a new syntax to represent attributes with the Catalyst DSL
sarutak opened a new pull request #31601:
URL: https://github.com/apache/spark/pull/31601
### 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.
-->
This PR proposes to introduce a new syntax `attr()` to represent attributes with the Catalyst DSL.
### 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.
-->
With the Catalyst DSL (`dsl/package.scala`), we have two ways to represent attributes.
1. Symbol literals (`'` syntax)
2. `$""` syntax which is defined in `sql/catalyst` module using string context.
But they have problems.
Regarding symbol literals, the scala community deprecates the symbol literals in Scala 2.13. We could alternatively use `Symbol` constructor but what is worse, Scala will completely remove `Symbol` in the future (https://scalacenter.github.io/scala-3-migration-guide/docs/incompatibilities/dropped-features.html).
> Although scala.Symbol is useful for migration, beware that it is deprecated and that it will be removed from the scala-library. You are recommended, as a second step, to replace them with plain string literals "xwy" or a dedicated class.
Regarding `$""` syntax, this has two problems.
The first problem is that the syntax conflicts with another `$""` syntax defined in `sql/core` module.
You can easily see the problem with the Spark Shell.
```
import org.apache.spark.sql.catalyst.dsl.expressions._
val attr1 = $"attr1"
error: type mismatch;
found : StringContext
required: ?{def $: ?}
Note that implicit conversions are not applicable because they are ambiguous:
both method StringToColumn in class SQLImplicits of type (sc: StringContext): spark.implicits.StringToColumn
and method StringToAttributeConversionHelper in trait ExpressionConversions of type (sc: StringContext): org.apache.spark.sql.catalyst.dsl.expressions.StringToAttributeConversionHelper
are possible conversion functions from StringContext to ?{def $: ?}
```
The second problem is that we can't write like `$"attr".map(StringType, StringType)`, though we can write `'attr.map(StringType, StringType)`.
This seems to be a bug of the Scala compiler and will be fixed in neither `2.12` nor `2.13` (https://github.com/scala/scala/pull/7396).
Actually, I'm working on replacing all the symbol literals with `$""` syntax in SPARK-34443 (#31569) and I found this problem in the following test code.
* EncoderResolutionSuite.scala
* ComplexTypeSuite.scala
* ObjectExpressionsSuite.scala
* NestedColumnAliasingSuite.scala
* ReplaceNullWithFalseInPredicateSuite.scala
* SimplifyCastsSuite.scala
* SimplifyConditionalSuite.scala
```
[error] /home/kou/work/oss/spark-scala-2.13/sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/encoders/EncoderResolutionSuite.scala:212:28: too many arguments (found 2, expected 1) for method map: (f: org.apache.spark.sql.catalyst.expressions.Expression => A): Seq[A]
[error] $"a".map(StringType, StringType)).foreach { attr =>
```
As a solution for those problems, I propose to introduce a new syntax `attr("attr_name")`, which doesn't break the API compatibility and has the same capability as the symbol literal syntax.
Another solution would be using string interpolation but it's difficult to have workaround when the syntax is conflict with another string interpolation like `$""` defined in `catalyst` and `core` so I don't adopt this solution.
### 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. This PR introduces `attr()` for users to represent attributes but doesn't break API compatibility.
### 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.
-->
Modified the tests mentioned above to use `attr()` rather than symbol literals.
----------------------------------------------------------------
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] cloud-fan edited a comment on pull request #31601: [SPARK-34484][SQL] Rename `map` to `mapAttr` in Catalyst DSL
Posted by GitBox <gi...@apache.org>.
cloud-fan edited a comment on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-801695451
If scala will keep that backward compatibility feature forever, then we don't need to do anything. Otherwise, we still need to prepare for the removal of the symbol syntax.
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Introduce a new syntax to represent attributes with the Catalyst DSL
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-783609168
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/39931/
----------------------------------------------------------------
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] sarutak commented on a change in pull request #31601: [SPARK-34484][SQL] Introduce a new syntax to represent attributes with the Catalyst DSL
Posted by GitBox <gi...@apache.org>.
sarutak commented on a change in pull request #31601:
URL: https://github.com/apache/spark/pull/31601#discussion_r580271651
##########
File path: sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/encoders/EncoderResolutionSuite.scala
##########
@@ -54,38 +54,38 @@ class EncoderResolutionSuite extends PlanTest {
val encoder = ExpressionEncoder[StringLongClass]
// int type can be up cast to long type
- val attrs1 = Seq('a.string, 'b.int)
+ val attrs1 = Seq(attr("a").string, attr("b").int)
Review comment:
It was my first idea but I thought it might be confusable that `"abc"` with implicit conversion doesn't look like an `attribute`. But DSL is for internal so it might be acceptable. What do you think?
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Introduce a new syntax to represent attributes with the Catalyst DSL
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-784905651
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/39992/
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Rename `map` to `mapAttr` in Catalyst DSL
Posted by GitBox <gi...@apache.org>.
SparkQA removed a comment on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-786789228
**[Test build #135517 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/135517/testReport)** for PR 31601 at commit [`0af19a1`](https://github.com/apache/spark/commit/0af19a1227eb9f14d9b4ce6dffe1e720258381ed).
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Introduce a new syntax to represent attributes with the Catalyst DSL
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-783507695
**[Test build #135351 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/135351/testReport)** for PR 31601 at commit [`9f78964`](https://github.com/apache/spark/commit/9f78964a52b49323a443495e72bc13c559cd865a).
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Rename `map` to `mapAttr` in Catalyst DSL
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-786467220
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/40073/
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Rename `map` to `mapAttr` in Catalyst DSL
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-786933010
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/135517/
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Rename `map` to `mapAttr` in Catalyst DSL
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-786410268
**[Test build #135490 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/135490/testReport)** for PR 31601 at commit [`a9e3490`](https://github.com/apache/spark/commit/a9e34901612042997441a767f2501df2cd7b3729).
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Introduce a new syntax to represent attributes with the Catalyst DSL
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-783609168
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/39931/
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Introduce a new syntax to represent attributes with the Catalyst DSL
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-783489695
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/135348/
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Rename `map` to `mapAttr` in Catalyst DSL
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-789482570
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/40273/
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Rename `map` to `mapAttr` in Catalyst DSL
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-785464395
**[Test build #135440 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/135440/testReport)** for PR 31601 at commit [`1c689ae`](https://github.com/apache/spark/commit/1c689ae7dd90506e66c71014bc8df4301431321e).
* 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 #31601: [SPARK-34484][SQL] Introduce a new syntax to represent attributes with the Catalyst DSL
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-784912676
**[Test build #135412 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/135412/testReport)** for PR 31601 at commit [`b306786`](https://github.com/apache/spark/commit/b3067863c0f62c13d869683fbb22464ff2f7ce97).
* This patch **fails Scala style 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 removed a comment on pull request #31601: [SPARK-34484][SQL] Rename `map` to `mapAttr` in Catalyst DSL
Posted by GitBox <gi...@apache.org>.
SparkQA removed a comment on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-785317822
**[Test build #135437 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/135437/testReport)** for PR 31601 at commit [`71bf596`](https://github.com/apache/spark/commit/71bf59665af3e2b2daffbddd5c8d7621575b859b).
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Rename `map` to `mapAttr` in Catalyst DSL
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-789430916
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/135691/
----------------------------------------------------------------
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] sarutak commented on a change in pull request #31601: [SPARK-34484][SQL] Introduce a new syntax to represent attributes with the Catalyst DSL
Posted by GitBox <gi...@apache.org>.
sarutak commented on a change in pull request #31601:
URL: https://github.com/apache/spark/pull/31601#discussion_r580244109
##########
File path: sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/encoders/EncoderResolutionSuite.scala
##########
@@ -54,38 +54,38 @@ class EncoderResolutionSuite extends PlanTest {
val encoder = ExpressionEncoder[StringLongClass]
// int type can be up cast to long type
- val attrs1 = Seq('a.string, 'b.int)
+ val attrs1 = Seq(attr("a").string, attr("b").int)
Review comment:
Actually, it's not enough. `"name".attr` returns `UnresolvedAttribute` so we still fail to `"name".attr.map`.
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Rename `map` to `mapAttr` in Catalyst DSL
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-785464586
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/135440/
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Introduce a new syntax to represent attributes with the Catalyst DSL
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-784911380
**[Test build #135412 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/135412/testReport)** for PR 31601 at commit [`b306786`](https://github.com/apache/spark/commit/b3067863c0f62c13d869683fbb22464ff2f7ce97).
----------------------------------------------------------------
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] cloud-fan commented on pull request #31601: [SPARK-34484][SQL] Rename `map` to `mapAttr` in Catalyst DSL
Posted by GitBox <gi...@apache.org>.
cloud-fan commented on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-786398080
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 commented on pull request #31601: [SPARK-34484][SQL] Introduce a new syntax to represent attributes with the Catalyst DSL
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-783598451
Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/39931/
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Rename `map` to `mapAttr` in Catalyst DSL
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-785548648
Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/40028/
----------------------------------------------------------------
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] sarutak edited a comment on pull request #31601: [SPARK-34484][SQL] Rename `map` to `mapAttr` in Catalyst DSL
Posted by GitBox <gi...@apache.org>.
sarutak edited a comment on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-787703342
No, but we get warning with Scala 2.13.
EDIT: dotty seems not to support symbol literals.
https://scalacenter.github.io/scala-3-migration-guide/docs/incompatibilities/dropped-features.html
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Rename `map` to `mapAttr` in Catalyst DSL
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-786789228
**[Test build #135517 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/135517/testReport)** for PR 31601 at commit [`0af19a1`](https://github.com/apache/spark/commit/0af19a1227eb9f14d9b4ce6dffe1e720258381ed).
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Introduce a new syntax to represent attributes with the Catalyst DSL
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-782742196
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/135315/
----------------------------------------------------------------
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] sarutak edited a comment on pull request #31601: [SPARK-34484][SQL] Rename `map` to `mapAttr` in Catalyst DSL
Posted by GitBox <gi...@apache.org>.
sarutak edited a comment on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-787714489
> OK seems the ship is already sailed. Let's wait a bit more but I'm not sure we can change that decision...
Yeah, I think so too. At least, symbol literals will be no longer supported as dotty already removed them.
https://dotty.epfl.ch/docs/reference/dropped-features/symlits.html
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Rename `map` to `mapAttr` in Catalyst DSL
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-786932228
**[Test build #135517 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/135517/testReport)** for PR 31601 at commit [`0af19a1`](https://github.com/apache/spark/commit/0af19a1227eb9f14d9b4ce6dffe1e720258381ed).
* This patch passes all tests.
* This patch merges cleanly.
* This patch adds the following public classes _(experimental)_:
* `sealed trait PartitionSpec extends LeafExpression with Unevaluable `
* `trait V2PartitionCommand extends Command `
* `case class TruncateTable(table: LogicalPlan) extends Command `
* `case class TruncatePartition(`
* `case class TruncatePartitionExec(`
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Introduce a new syntax to represent attributes with the Catalyst DSL
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-783536335
Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/39931/
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Rename `map` to `mapAttr` in Catalyst DSL
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-785622027
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Rename `map` to `mapAttr` in Catalyst DSL
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-785649480
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/135450/
----------------------------------------------------------------
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] cloud-fan commented on pull request #31601: [SPARK-34484][SQL] Rename `map` to `mapAttr` in Catalyst DSL
Posted by GitBox <gi...@apache.org>.
cloud-fan commented on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-801695451
If scala will keep that backward compatibility feature forever, then we don't need to do anything. Otherwise, we still need to prepare for the removal of the symbol literal.
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Introduce a new syntax to represent map types with the Catalyst DSL
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-784996706
**[Test build #135421 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/135421/testReport)** for PR 31601 at commit [`fb6041e`](https://github.com/apache/spark/commit/fb6041e4bb2284c5dbb0f5f708998b9ba42b603b).
----------------------------------------------------------------
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] cloud-fan commented on a change in pull request #31601: [SPARK-34484][SQL] Introduce a new syntax to represent attributes with the Catalyst DSL
Posted by GitBox <gi...@apache.org>.
cloud-fan commented on a change in pull request #31601:
URL: https://github.com/apache/spark/pull/31601#discussion_r580257116
##########
File path: sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/encoders/EncoderResolutionSuite.scala
##########
@@ -54,38 +54,38 @@ class EncoderResolutionSuite extends PlanTest {
val encoder = ExpressionEncoder[StringLongClass]
// int type can be up cast to long type
- val attrs1 = Seq('a.string, 'b.int)
+ val attrs1 = Seq(attr("a").string, attr("b").int)
Review comment:
My general idea is, previous the DSL is based on symbol, can we update the DSL (those implicts) so that it's based on string? Ideally we should simply replace `'abc` to `"abc"` in the test code.
----------------------------------------------------------------
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] sarutak commented on pull request #31601: [SPARK-34484][SQL] Rename `map` to `mapAttr` in Catalyst DSL
Posted by GitBox <gi...@apache.org>.
sarutak commented on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-786392476
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 commented on pull request #31601: [SPARK-34484][SQL] Rename `map` to `mapAttr` in Catalyst DSL
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-786824069
Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/40097/
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Rename `map` to `mapAttr` in Catalyst DSL
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-786447116
Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/40073/
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Rename `map` to `mapAttr` in Catalyst DSL
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-785592871
Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/40030/
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Introduce a new syntax to represent attributes with the Catalyst DSL
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-783511927
Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/39929/
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Rename `map` to `mapAttr` in Catalyst DSL
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-786459283
Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/40073/
----------------------------------------------------------------
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] cloud-fan commented on pull request #31601: [SPARK-34484][SQL] Rename `map` to `mapAttr` in Catalyst DSL
Posted by GitBox <gi...@apache.org>.
cloud-fan commented on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-787709295
OK seems the ship is already sailed. Let's wait a bit more but I'm not sure we can change that decision...
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Rename `map` to `mapAttr` in Catalyst DSL
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-789458901
Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/40273/
----------------------------------------------------------------
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] sarutak commented on pull request #31601: [SPARK-34484][SQL] Rename `map` to `mapAttr` in Catalyst DSL
Posted by GitBox <gi...@apache.org>.
sarutak commented on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-787714489
> OK seems the ship is already sailed. Let's wait a bit more but I'm not sure we can change that decision...
Yeah, I think so too. At least, symbol literal will be no longer supported.
----------------------------------------------------------------
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] cloud-fan removed a comment on pull request #31601: [SPARK-34484][SQL] Introduce a new syntax to represent attributes with the Catalyst DSL
Posted by GitBox <gi...@apache.org>.
cloud-fan removed a comment on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-783841836
instead of creating a new syntax, can we use `"abc".attr.int` to do the same thing?
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Introduce a new syntax to represent attributes with the Catalyst DSL
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-782716351
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/39895/
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Introduce a new syntax to represent map types with the Catalyst DSL
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-785012776
Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/40001/
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Rename `map` to `mapAttr` in Catalyst DSL
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-786850583
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/40097/
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Introduce a new syntax to represent attributes with the Catalyst DSL
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-782707299
Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/39895/
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Rename `map` to `mapAttr` in Catalyst DSL
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-785402188
**[Test build #135437 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/135437/testReport)** for PR 31601 at commit [`71bf596`](https://github.com/apache/spark/commit/71bf59665af3e2b2daffbddd5c8d7621575b859b).
* 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 #31601: [SPARK-34484][SQL] Introduce a new syntax to represent attributes with the Catalyst DSL
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-783680467
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/135351/
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Introduce a new syntax to represent attributes with the Catalyst DSL
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-783680467
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/135351/
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Introduce a new syntax to represent attributes with the Catalyst DSL
Posted by GitBox <gi...@apache.org>.
SparkQA removed a comment on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-783507695
**[Test build #135351 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/135351/testReport)** for PR 31601 at commit [`9f78964`](https://github.com/apache/spark/commit/9f78964a52b49323a443495e72bc13c559cd865a).
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Rename `map` to `mapAttr` in Catalyst DSL
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-786421444
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/135490/
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Introduce a new syntax to represent attributes with the Catalyst DSL
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-782699020
**[Test build #135315 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/135315/testReport)** for PR 31601 at commit [`5b9c205`](https://github.com/apache/spark/commit/5b9c205854ef0082703f2cc7273e5c407926a0f4).
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Rename `map` to `mapAttr` in Catalyst DSL
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-785649480
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/135450/
----------------------------------------------------------------
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] sarutak commented on pull request #31601: [SPARK-34484][SQL] Introduce a new syntax to represent attributes with the Catalyst DSL
Posted by GitBox <gi...@apache.org>.
sarutak commented on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-783364907
cc: @cloud-fan
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Introduce a new syntax to represent map types with the Catalyst DSL
Posted by GitBox <gi...@apache.org>.
SparkQA removed a comment on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-784996706
**[Test build #135421 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/135421/testReport)** for PR 31601 at commit [`fb6041e`](https://github.com/apache/spark/commit/fb6041e4bb2284c5dbb0f5f708998b9ba42b603b).
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Introduce a new syntax to represent attributes with the Catalyst DSL
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-782741104
**[Test build #135315 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/135315/testReport)** for PR 31601 at commit [`5b9c205`](https://github.com/apache/spark/commit/5b9c205854ef0082703f2cc7273e5c407926a0f4).
* 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 #31601: [SPARK-34484][SQL] Introduce a new syntax to represent map types with the Catalyst DSL
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-785029403
Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/40001/
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Rename `map` to `mapAttr` in Catalyst DSL
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-786467220
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/40073/
----------------------------------------------------------------
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] sarutak commented on pull request #31601: [SPARK-34484][SQL] Rename `map` to `mapAttr` in Catalyst DSL
Posted by GitBox <gi...@apache.org>.
sarutak commented on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-787591528
@cloud-fan According to [this](https://github.com/apache/spark/pull/31569#issuecomment-786344739), should we wait for what happens as a result of the discussion?
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Rename `map` to `mapAttr` in Catalyst DSL
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-785548911
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/40028/
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Rename `map` to `mapAttr` in Catalyst DSL
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-786412028
**[Test build #135490 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/135490/testReport)** for PR 31601 at commit [`a9e3490`](https://github.com/apache/spark/commit/a9e34901612042997441a767f2501df2cd7b3729).
* This patch **fails to build**.
* 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] cloud-fan commented on pull request #31601: [SPARK-34484][SQL] Rename `map` to `mapAttr` in Catalyst DSL
Posted by GitBox <gi...@apache.org>.
cloud-fan commented on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-787702782
Is there a released Scala version that forbids the symbol's literal syntax?
----------------------------------------------------------------
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] sarutak commented on pull request #31601: [SPARK-34484][SQL] Rename `map` to `mapAttr` in Catalyst DSL
Posted by GitBox <gi...@apache.org>.
sarutak commented on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-787703342
No, but we get warning with Scala 2.13.
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Rename `map` to `mapAttr` in Catalyst DSL
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-786933010
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/135517/
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Introduce a new syntax to represent attributes with the Catalyst DSL
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-783677553
**[Test build #135351 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/135351/testReport)** for PR 31601 at commit [`9f78964`](https://github.com/apache/spark/commit/9f78964a52b49323a443495e72bc13c559cd865a).
* 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] sarutak edited a comment on pull request #31601: [SPARK-34484][SQL] Introduce a new syntax to represent map types with the Catalyst DSL
Posted by GitBox <gi...@apache.org>.
sarutak edited a comment on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-784900904
Thanks for the advice. Renamed `map` to `mapAttr`. It seems to become not symmetric with `struct` and `array` but it can be acceptable as it's for internal use.
I also updated the description.
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Introduce a new syntax to represent attributes with the Catalyst DSL
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-783489695
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/135348/
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Introduce a new syntax to represent map types with the Catalyst DSL
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-785196664
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/135421/
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Rename `map` to `mapAttr` in Catalyst DSL
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-785402359
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/135437/
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Rename `map` to `mapAttr` in Catalyst DSL
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-786560716
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/135492/
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Introduce a new syntax to represent attributes with the Catalyst DSL
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-782742196
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/135315/
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Introduce a new syntax to represent attributes with the Catalyst DSL
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-784934604
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/135412/
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Introduce a new syntax to represent attributes with the Catalyst DSL
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-783531372
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/39929/
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Rename `map` to `mapAttr` in Catalyst DSL
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-785530350
**[Test build #135448 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/135448/testReport)** for PR 31601 at commit [`a7866ce`](https://github.com/apache/spark/commit/a7866ce92bb056b4c86d4503a04cdff535ef0068).
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Rename `map` to `mapAttr` in Catalyst DSL
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-785622027
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Rename `map` to `mapAttr` in Catalyst DSL
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-785460666
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/40020/
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Introduce a new syntax to represent attributes with the Catalyst DSL
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-784934604
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/135412/
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Rename `map` to `mapAttr` in Catalyst DSL
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-785547065
Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/40028/
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Introduce a new syntax to represent map types with the Catalyst DSL
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-785039325
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/40001/
----------------------------------------------------------------
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] github-actions[bot] commented on pull request #31601: [SPARK-34484][SQL] Rename `map` to `mapAttr` in Catalyst DSL
Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-869077048
We're closing this PR because it hasn't been updated in a while. This isn't a judgement on the merit of the PR in any way. It's just a way of keeping the PR queue manageable.
If you'd like to revive this PR, please reopen it and ask a committer to remove the Stale tag!
--
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.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
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] sarutak commented on a change in pull request #31601: [SPARK-34484][SQL] Introduce a new syntax to represent map types with the Catalyst DSL
Posted by GitBox <gi...@apache.org>.
sarutak commented on a change in pull request #31601:
URL: https://github.com/apache/spark/pull/31601#discussion_r582238928
##########
File path: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/dsl/package.scala
##########
@@ -308,10 +308,10 @@ package object dsl {
AttributeReference(s, arrayType)()
/** Creates a new AttributeReference of type map */
- def map(keyType: DataType, valueType: DataType): AttributeReference =
- map(MapType(keyType, valueType))
+ def mapAttr(keyType: DataType, valueType: DataType): AttributeReference =
+ mapAttr(MapType(keyType, valueType))
- def map(mapType: MapType): AttributeReference =
+ def mapAttr(mapType: MapType): AttributeReference =
AttributeReference(s, mapType, nullable = true)()
Review comment:
I've removed and I found most symbol literals are used with DSL APIs (changed 114 files)...
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Rename `map` to `mapAttr` in Catalyst DSL
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-785609440
Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/40030/
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Rename `map` to `mapAttr` in Catalyst DSL
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-786421444
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/135490/
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Rename `map` to `mapAttr` in Catalyst DSL
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-786559635
**[Test build #135492 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/135492/testReport)** for PR 31601 at commit [`e3dead4`](https://github.com/apache/spark/commit/e3dead46d8e49d137aab17a6c793f9913c4c5405).
* 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 removed a comment on pull request #31601: [SPARK-34484][SQL] Rename `map` to `mapAttr` in Catalyst DSL
Posted by GitBox <gi...@apache.org>.
SparkQA removed a comment on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-786410268
**[Test build #135490 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/135490/testReport)** for PR 31601 at commit [`a9e3490`](https://github.com/apache/spark/commit/a9e34901612042997441a767f2501df2cd7b3729).
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Rename `map` to `mapAttr` in Catalyst DSL
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-786560716
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/135492/
----------------------------------------------------------------
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] sarutak commented on pull request #31601: [SPARK-34484][SQL] Rename `map` to `mapAttr` in Catalyst DSL
Posted by GitBox <gi...@apache.org>.
sarutak commented on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-801720878
> f scala will keep that backward compatibility feature forever,
According to [this](https://github.com/lampepfl/dotty-feature-requests/issues/182#issuecomment-793103603), it seems to be a life extension measure and will be removed in the future.
But I'm asking the Scala community.
----------------------------------------------------------------
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] sarutak commented on a change in pull request #31601: [SPARK-34484][SQL] Introduce a new syntax to represent attributes with the Catalyst DSL
Posted by GitBox <gi...@apache.org>.
sarutak commented on a change in pull request #31601:
URL: https://github.com/apache/spark/pull/31601#discussion_r580244109
##########
File path: sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/encoders/EncoderResolutionSuite.scala
##########
@@ -54,38 +54,38 @@ class EncoderResolutionSuite extends PlanTest {
val encoder = ExpressionEncoder[StringLongClass]
// int type can be up cast to long type
- val attrs1 = Seq('a.string, 'b.int)
+ val attrs1 = Seq(attr("a").string, attr("b").int)
Review comment:
Actually, tt's not enough. `"name".attr` returns `UnresolvedAttribute` so we still fail to `"name".attr.map`.
----------------------------------------------------------------
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] sarutak edited a comment on pull request #31601: [SPARK-34484][SQL] Introduce a new syntax to represent attributes with the Catalyst DSL
Posted by GitBox <gi...@apache.org>.
sarutak edited a comment on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-784900904
Thanks for the advice. Renamed `map` to `mapAttr`. It seems become not symmetric with `struct` and `array` but it can be acceptable as it's for internal use.
I also updated the description.
----------------------------------------------------------------
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] cloud-fan commented on pull request #31601: [SPARK-34484][SQL] Introduce a new syntax to represent attributes with the Catalyst DSL
Posted by GitBox <gi...@apache.org>.
cloud-fan commented on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-783843413
I agree that the `$"abc"` is not great as it conflicts with the well-known syntax defined in sql/core. But I do like the existing `"abc".attr` syntax instead of the new one. Can we rename `map` to `mapAttr` to avoid the scala bug?
----------------------------------------------------------------
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] cloud-fan commented on a change in pull request #31601: [SPARK-34484][SQL] Introduce a new syntax to represent attributes with the Catalyst DSL
Posted by GitBox <gi...@apache.org>.
cloud-fan commented on a change in pull request #31601:
URL: https://github.com/apache/spark/pull/31601#discussion_r580241336
##########
File path: sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/encoders/EncoderResolutionSuite.scala
##########
@@ -54,38 +54,38 @@ class EncoderResolutionSuite extends PlanTest {
val encoder = ExpressionEncoder[StringLongClass]
// int type can be up cast to long type
- val attrs1 = Seq('a.string, 'b.int)
+ val attrs1 = Seq(attr("a").string, attr("b").int)
Review comment:
We already have `"name".attr` (See the implicit `DslString`), can we extend it to support `"name".attr.string` or even shorter `"name".string`?
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Rename `map` to `mapAttr` in Catalyst DSL
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-785460666
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/40020/
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Introduce a new syntax to represent map types with the Catalyst DSL
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-785196664
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/135421/
----------------------------------------------------------------
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] cloud-fan commented on pull request #31601: [SPARK-34484][SQL] Introduce a new syntax to represent attributes with the Catalyst DSL
Posted by GitBox <gi...@apache.org>.
cloud-fan commented on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-783841836
instead of creating a new syntax, can we use `"abc".attr.int` to do the same thing?
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Rename `map` to `mapAttr` in Catalyst DSL
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-789430916
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/135691/
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Rename `map` to `mapAttr` in Catalyst DSL
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-785464586
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/135440/
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Rename `map` to `mapAttr` in Catalyst DSL
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-786407434
Kubernetes integration test unable to build dist.
exiting with code: 1
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/40071/
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Rename `map` to `mapAttr` in Catalyst DSL
Posted by GitBox <gi...@apache.org>.
SparkQA removed a comment on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-786431243
**[Test build #135492 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/135492/testReport)** for PR 31601 at commit [`e3dead4`](https://github.com/apache/spark/commit/e3dead46d8e49d137aab17a6c793f9913c4c5405).
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Rename `map` to `mapAttr` in Catalyst DSL
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-785317822
**[Test build #135437 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/135437/testReport)** for PR 31601 at commit [`71bf596`](https://github.com/apache/spark/commit/71bf59665af3e2b2daffbddd5c8d7621575b859b).
----------------------------------------------------------------
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] sarutak commented on pull request #31601: [SPARK-34484][SQL] Introduce a new syntax to represent attributes with the Catalyst DSL
Posted by GitBox <gi...@apache.org>.
sarutak commented on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-784900904
Thanks for the advice. Renamed `map` to `mapAttr`. It seems become not symmetric with `struct` and `array` but it can be acceptable as it's for internal usage.
I also updated the description.
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Rename `map` to `mapAttr` in Catalyst DSL
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-786843213
Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/40097/
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Introduce a new syntax to represent attributes with the Catalyst DSL
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-783493243
Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/39929/
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Rename `map` to `mapAttr` in Catalyst DSL
Posted by GitBox <gi...@apache.org>.
SparkQA removed a comment on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-785530350
**[Test build #135448 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/135448/testReport)** for PR 31601 at commit [`a7866ce`](https://github.com/apache/spark/commit/a7866ce92bb056b4c86d4503a04cdff535ef0068).
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Introduce a new syntax to represent attributes with the Catalyst DSL
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-783531372
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/39929/
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Introduce a new syntax to represent attributes with the Catalyst DSL
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-783451193
**[Test build #135348 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/135348/testReport)** for PR 31601 at commit [`c87915d`](https://github.com/apache/spark/commit/c87915d7f6908e89a1ce35444706c06313904f24).
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Introduce a new syntax to represent map types with the Catalyst DSL
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-785166662
**[Test build #135421 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/135421/testReport)** for PR 31601 at commit [`fb6041e`](https://github.com/apache/spark/commit/fb6041e4bb2284c5dbb0f5f708998b9ba42b603b).
* 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] github-actions[bot] closed pull request #31601: [SPARK-34484][SQL] Rename `map` to `mapAttr` in Catalyst DSL
Posted by GitBox <gi...@apache.org>.
github-actions[bot] closed pull request #31601:
URL: https://github.com/apache/spark/pull/31601
--
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.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
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] sarutak commented on pull request #31601: [SPARK-34484][SQL] Rename `map` to `mapAttr` in Catalyst DSL
Posted by GitBox <gi...@apache.org>.
sarutak commented on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-801617552
@cloud-fan Surprisingly, Scala 3 seems to implement the backward compatibility feature for symbol literals (it may be a life extension measure, however).
https://github.com/lampepfl/dotty/pull/11588
So, I think replacing symbol literals with `mapAttr` might not be needed.
How about changing `map` to `mapAttr`? Do you think it's not needed too?
If so, I'll just close 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 #31601: [SPARK-34484][SQL] Rename `map` to `mapAttr` in Catalyst DSL
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-786850583
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/40097/
----------------------------------------------------------------
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] cloud-fan commented on a change in pull request #31601: [SPARK-34484][SQL] Introduce a new syntax to represent attributes with the Catalyst DSL
Posted by GitBox <gi...@apache.org>.
cloud-fan commented on a change in pull request #31601:
URL: https://github.com/apache/spark/pull/31601#discussion_r580241336
##########
File path: sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/encoders/EncoderResolutionSuite.scala
##########
@@ -54,38 +54,38 @@ class EncoderResolutionSuite extends PlanTest {
val encoder = ExpressionEncoder[StringLongClass]
// int type can be up cast to long type
- val attrs1 = Seq('a.string, 'b.int)
+ val attrs1 = Seq(attr("a").string, attr("b").int)
Review comment:
We already have `"name".attr` (See the implicit `DslString`), can we extend it to support `"name".attr.string`?
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Rename `map` to `mapAttr` in Catalyst DSL
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-785428437
Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/40020/
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Rename `map` to `mapAttr` in Catalyst DSL
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-786431243
**[Test build #135492 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/135492/testReport)** for PR 31601 at commit [`e3dead4`](https://github.com/apache/spark/commit/e3dead46d8e49d137aab17a6c793f9913c4c5405).
----------------------------------------------------------------
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] sarutak commented on pull request #31601: [SPARK-34484][SQL] Rename `map` to `mapAttr` in Catalyst DSL
Posted by GitBox <gi...@apache.org>.
sarutak commented on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-786422229
Newly added `RemoveNoopUnionSuite` seems to use symbol literal, which causes the build failure.
I'll fix it 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] SparkQA commented on pull request #31601: [SPARK-34484][SQL] Introduce a new syntax to represent attributes with the Catalyst DSL
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-783465212
**[Test build #135348 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/135348/testReport)** for PR 31601 at commit [`c87915d`](https://github.com/apache/spark/commit/c87915d7f6908e89a1ce35444706c06313904f24).
* 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 removed a comment on pull request #31601: [SPARK-34484][SQL] Introduce a new syntax to represent attributes with the Catalyst DSL
Posted by GitBox <gi...@apache.org>.
SparkQA removed a comment on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-782699020
**[Test build #135315 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/135315/testReport)** for PR 31601 at commit [`5b9c205`](https://github.com/apache/spark/commit/5b9c205854ef0082703f2cc7273e5c407926a0f4).
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Rename `map` to `mapAttr` in Catalyst DSL
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-785341072
Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/40017/
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Rename `map` to `mapAttr` in Catalyst DSL
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-785402359
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/135437/
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Rename `map` to `mapAttr` in Catalyst DSL
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-785548911
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/40028/
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Rename `map` to `mapAttr` in Catalyst DSL
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-786407443
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/40071/
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Rename `map` to `mapAttr` in Catalyst DSL
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-786407443
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/40071/
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Introduce a new syntax to represent attributes with the Catalyst DSL
Posted by GitBox <gi...@apache.org>.
SparkQA removed a comment on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-783451193
**[Test build #135348 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/135348/testReport)** for PR 31601 at commit [`c87915d`](https://github.com/apache/spark/commit/c87915d7f6908e89a1ce35444706c06313904f24).
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Rename `map` to `mapAttr` in Catalyst DSL
Posted by GitBox <gi...@apache.org>.
SparkQA removed a comment on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-785396511
**[Test build #135440 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/135440/testReport)** for PR 31601 at commit [`1c689ae`](https://github.com/apache/spark/commit/1c689ae7dd90506e66c71014bc8df4301431321e).
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Rename `map` to `mapAttr` in Catalyst DSL
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-785396511
**[Test build #135440 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/135440/testReport)** for PR 31601 at commit [`1c689ae`](https://github.com/apache/spark/commit/1c689ae7dd90506e66c71014bc8df4301431321e).
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Introduce a new syntax to represent attributes with the Catalyst DSL
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-784905651
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/39992/
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Introduce a new syntax to represent map types with the Catalyst DSL
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-785039325
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/40001/
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Introduce a new syntax to represent attributes with the Catalyst DSL
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-782716351
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/39895/
----------------------------------------------------------------
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] sarutak commented on a change in pull request #31601: [SPARK-34484][SQL] Introduce a new syntax to represent attributes with the Catalyst DSL
Posted by GitBox <gi...@apache.org>.
sarutak commented on a change in pull request #31601:
URL: https://github.com/apache/spark/pull/31601#discussion_r580244109
##########
File path: sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/encoders/EncoderResolutionSuite.scala
##########
@@ -54,38 +54,38 @@ class EncoderResolutionSuite extends PlanTest {
val encoder = ExpressionEncoder[StringLongClass]
// int type can be up cast to long type
- val attrs1 = Seq('a.string, 'b.int)
+ val attrs1 = Seq(attr("a").string, attr("b").int)
Review comment:
Actually, it's not enough. `"name".attr` returns `UnresolvedAttribute` as well as `$"name"` so we still fail to `"name".attr.map`.
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Introduce a new syntax to represent attributes with the Catalyst DSL
Posted by GitBox <gi...@apache.org>.
SparkQA removed a comment on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-784911380
**[Test build #135412 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/135412/testReport)** for PR 31601 at commit [`b306786`](https://github.com/apache/spark/commit/b3067863c0f62c13d869683fbb22464ff2f7ce97).
----------------------------------------------------------------
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] sarutak commented on pull request #31601: [SPARK-34484][SQL] Introduce a new syntax to represent attributes with the Catalyst DSL
Posted by GitBox <gi...@apache.org>.
sarutak commented on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-783665947
cc: @dongjoon-hyun and @HyukjinKwon too for other people's opinion.
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Rename `map` to `mapAttr` in Catalyst DSL
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-789475537
Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/40273/
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Introduce a new syntax to represent attributes with the Catalyst DSL
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-782710761
Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/39895/
----------------------------------------------------------------
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] sarutak edited a comment on pull request #31601: [SPARK-34484][SQL] Rename `map` to `mapAttr` in Catalyst DSL
Posted by GitBox <gi...@apache.org>.
sarutak edited a comment on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-787714489
> OK seems the ship is already sailed. Let's wait a bit more but I'm not sure we can change that decision...
Yeah, I think so too. At least, symbol literals will be no longer supported.
----------------------------------------------------------------
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] sarutak commented on a change in pull request #31601: [SPARK-34484][SQL] Introduce a new syntax to represent attributes with the Catalyst DSL
Posted by GitBox <gi...@apache.org>.
sarutak commented on a change in pull request #31601:
URL: https://github.com/apache/spark/pull/31601#discussion_r580244109
##########
File path: sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/encoders/EncoderResolutionSuite.scala
##########
@@ -54,38 +54,38 @@ class EncoderResolutionSuite extends PlanTest {
val encoder = ExpressionEncoder[StringLongClass]
// int type can be up cast to long type
- val attrs1 = Seq('a.string, 'b.int)
+ val attrs1 = Seq(attr("a").string, attr("b").int)
Review comment:
Actually, it's not enough. `"name".attr` returns `UnresolvedAttribute` as well as `$"name"` so we still fail to do `"name".attr.map`.
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Rename `map` to `mapAttr` in Catalyst DSL
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-785558563
**[Test build #135450 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/135450/testReport)** for PR 31601 at commit [`a9e3490`](https://github.com/apache/spark/commit/a9e34901612042997441a767f2501df2cd7b3729).
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Rename `map` to `mapAttr` in Catalyst DSL
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-785614342
**[Test build #135448 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/135448/testReport)** for PR 31601 at commit [`a7866ce`](https://github.com/apache/spark/commit/a7866ce92bb056b4c86d4503a04cdff535ef0068).
* 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 #31601: [SPARK-34484][SQL] Rename `map` to `mapAttr` in Catalyst DSL
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-785453524
Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/40020/
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Rename `map` to `mapAttr` in Catalyst DSL
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-789482570
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/40273/
----------------------------------------------------------------
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] cloud-fan commented on a change in pull request #31601: [SPARK-34484][SQL] Introduce a new syntax to represent map types with the Catalyst DSL
Posted by GitBox <gi...@apache.org>.
cloud-fan commented on a change in pull request #31601:
URL: https://github.com/apache/spark/pull/31601#discussion_r581968701
##########
File path: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/dsl/package.scala
##########
@@ -308,10 +308,10 @@ package object dsl {
AttributeReference(s, arrayType)()
/** Creates a new AttributeReference of type map */
- def map(keyType: DataType, valueType: DataType): AttributeReference =
- map(MapType(keyType, valueType))
+ def mapAttr(keyType: DataType, valueType: DataType): AttributeReference =
+ mapAttr(MapType(keyType, valueType))
- def map(mapType: MapType): AttributeReference =
+ def mapAttr(mapType: MapType): AttributeReference =
AttributeReference(s, mapType, nullable = true)()
Review comment:
If you have fixed all the places, shall we remove DSL APIs that take Symbol?
----------------------------------------------------------------
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 #31601: [SPARK-34484][SQL] Rename `map` to `mapAttr` in Catalyst DSL
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #31601:
URL: https://github.com/apache/spark/pull/31601#issuecomment-785344233
Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/40017/
----------------------------------------------------------------
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] sarutak commented on a change in pull request #31601: [SPARK-34484][SQL] Introduce a new syntax to represent attributes with the Catalyst DSL
Posted by GitBox <gi...@apache.org>.
sarutak commented on a change in pull request #31601:
URL: https://github.com/apache/spark/pull/31601#discussion_r580292112
##########
File path: sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/encoders/EncoderResolutionSuite.scala
##########
@@ -54,38 +54,38 @@ class EncoderResolutionSuite extends PlanTest {
val encoder = ExpressionEncoder[StringLongClass]
// int type can be up cast to long type
- val attrs1 = Seq('a.string, 'b.int)
+ val attrs1 = Seq(attr("a").string, attr("b").int)
Review comment:
> Ideally we should simply replace 'abc to "abc" in the test code.
Yes ideally it should be like what you suggested but I found it's difficult.
`DslString` implements `ImplicitOperators` but `DslSymbol` implements `ImplicitAttribute`. The implementation of `expr` conflicts. `DslString` implements `expr` as `Literal` but `DslSymbol` implements it as `UnresolvedExpression`.
So, the next option would be introduce a new syntax like `attr""` with `StringContext`.
I said in the description like as follows.
> Another solution would be to introduce a new string interpolation syntax but it's difficult to have workaround when the syntax is conflict with another string interpolation syntax like that $"" defined in catalyst and core conflict so I don't adopt this solution.
But if this is internal usage only, it might be acceptable.
----------------------------------------------------------------
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