Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SPARK-41012][SQL] Rename _LEGACY_ERROR_TEMP_1022 to ORDER_BY_POS_OUT_OF_RANGE #38508

Closed
wants to merge 1 commit into from

Conversation

itholic
Copy link
Contributor

@itholic itholic commented Nov 4, 2022

What changes were proposed in this pull request?

This PR proposes to rename _LEGACY_ERROR_TEMP_1022 to ORDER_BY_POS_OUT_OF_RANGE

Why are the changes needed?

Error class name should clear/briefly explain the error message.

Does this PR introduce any user-facing change?

User-facing error class name is changed.

How was this patch tested?

./build/sbt "sql/testOnly org.apache.spark.sql.SQLQueryTestSuite -- -z order-by-ordinal.sql"

@itholic itholic changed the title [SPARK-41012][SQL] Rename _LEGACY_ERROR_TEMP_1022 to ORDER_BY_POS_OUT_OF_RANGE [SPARK-41012][SQL] Rename _LEGACY_ERROR_TEMP_1022 to ORDER_BY_POS_OUT_OF_RANGE Nov 4, 2022
@itholic
Copy link
Contributor Author

itholic commented Nov 4, 2022

cc @MaxGekk @srielau @cloud-fan

@MaxGekk
Copy link
Member

MaxGekk commented Nov 4, 2022

+1, LGTM. Merging to master.
Thank you, @itholic.

@MaxGekk MaxGekk closed this in 216a5d2 Nov 4, 2022
SandishKumarHN pushed a commit to SandishKumarHN/spark that referenced this pull request Dec 12, 2022
…OUT_OF_RANGE`

### What changes were proposed in this pull request?

This PR proposes to rename `_LEGACY_ERROR_TEMP_1022` to `ORDER_BY_POS_OUT_OF_RANGE`

### Why are the changes needed?

Error class name should clear/briefly explain the error message.

### Does this PR introduce _any_ user-facing change?

User-facing error class name is changed.

### How was this patch tested?

```
./build/sbt "sql/testOnly org.apache.spark.sql.SQLQueryTestSuite -- -z order-by-ordinal.sql"
```

Closes apache#38508 from itholic/SPARK-41012.

Authored-by: itholic <haejoon.lee@databricks.com>
Signed-off-by: Max Gekk <max.gekk@gmail.com>
@itholic itholic deleted the SPARK-41012 branch April 22, 2023 05:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants