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-47261][SQL] Assign better name for errors _LEGACY_ERROR_TEMP_1172, _LEGACY_ERROR_TEMP_1173, and _LEGACY_ERROR_TEMP_1174 #47421

Closed
wants to merge 2 commits into from

Conversation

junyuc25
Copy link
Contributor

@junyuc25 junyuc25 commented Jul 19, 2024

What changes were proposed in this pull request?

Assign better name for error _LEGACY_ERROR_TEMP_1172, _LEGACY_ERROR_TEMP_1173, and _LEGACY_ERROR_TEMP_1174.

Why are the changes needed?

Proper name improves user experience with Spark SQL.

Does this PR introduce any user-facing change?

Yes.

How was this patch tested?

Added new tests and ran all the tests in the suite:

org.apache.spark.sql.execution.datasources.parquetParquetSchemaSuite
org.apache.spark.SparkThrowableSuite

Was this patch authored or co-authored using generative AI tooling?

No

…OR_TEMP_1173

Assign better name for error _LEGACY_ERROR_TEMP_1174
@github-actions github-actions bot added the SQL label Jul 19, 2024
@junyuc25 junyuc25 changed the title [WIP] Assign better name for errors _LEGACY_ERROR_TEMP_1172, _LEGACY_ERROR_TEMP_1173, and _LEGACY_ERROR_TEMP_1174 [SPARK-47261][SQL] Assign better name for errors _LEGACY_ERROR_TEMP_1172, _LEGACY_ERROR_TEMP_1173, and _LEGACY_ERROR_TEMP_1174 Jul 19, 2024
@junyuc25 junyuc25 marked this pull request as ready for review July 19, 2024 15:16
@junyuc25
Copy link
Contributor Author

Hi @MaxGekk @cloud-fan , I raise a quick PR for https://issues.apache.org/jira/browse/SPARK-47261. Do you mind taking a quick look? Thanks.

@junyuc25
Copy link
Contributor Author

Hi @LuciferYang @yaooqinn, not sure if you could take a look at this quick PR to refine the names for some legacy error types?

@MaxGekk
Copy link
Member

MaxGekk commented Aug 9, 2024

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

@MaxGekk MaxGekk closed this in 731a104 Aug 9, 2024
IvanK-db pushed a commit to IvanK-db/spark that referenced this pull request Sep 20, 2024
…172, _LEGACY_ERROR_TEMP_1173, and _LEGACY_ERROR_TEMP_1174

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

Assign better name for error _LEGACY_ERROR_TEMP_1172, _LEGACY_ERROR_TEMP_1173, and _LEGACY_ERROR_TEMP_1174.

### Why are the changes needed?

Proper name improves user experience with Spark SQL.

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

Yes.

### How was this patch tested?

Added new tests and ran all the tests in the suite:
```
org.apache.spark.sql.execution.datasources.parquetParquetSchemaSuite
org.apache.spark.SparkThrowableSuite
```

### Was this patch authored or co-authored using generative AI tooling?

No

Closes apache#47421 from junyuc25/SPARK-47261.

Authored-by: junyuc25 <JunyuChen-0115@users.noreply.github.com>
Signed-off-by: Max Gekk <max.gekk@gmail.com>
attilapiros pushed a commit to attilapiros/spark that referenced this pull request Oct 4, 2024
…172, _LEGACY_ERROR_TEMP_1173, and _LEGACY_ERROR_TEMP_1174

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

Assign better name for error _LEGACY_ERROR_TEMP_1172, _LEGACY_ERROR_TEMP_1173, and _LEGACY_ERROR_TEMP_1174.

### Why are the changes needed?

Proper name improves user experience with Spark SQL.

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

Yes.

### How was this patch tested?

Added new tests and ran all the tests in the suite:
```
org.apache.spark.sql.execution.datasources.parquetParquetSchemaSuite
org.apache.spark.SparkThrowableSuite
```

### Was this patch authored or co-authored using generative AI tooling?

No

Closes apache#47421 from junyuc25/SPARK-47261.

Authored-by: junyuc25 <JunyuChen-0115@users.noreply.github.com>
Signed-off-by: Max Gekk <max.gekk@gmail.com>
himadripal pushed a commit to himadripal/spark that referenced this pull request Oct 19, 2024
…172, _LEGACY_ERROR_TEMP_1173, and _LEGACY_ERROR_TEMP_1174

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

Assign better name for error _LEGACY_ERROR_TEMP_1172, _LEGACY_ERROR_TEMP_1173, and _LEGACY_ERROR_TEMP_1174.

### Why are the changes needed?

Proper name improves user experience with Spark SQL.

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

Yes.

### How was this patch tested?

Added new tests and ran all the tests in the suite:
```
org.apache.spark.sql.execution.datasources.parquetParquetSchemaSuite
org.apache.spark.SparkThrowableSuite
```

### Was this patch authored or co-authored using generative AI tooling?

No

Closes apache#47421 from junyuc25/SPARK-47261.

Authored-by: junyuc25 <JunyuChen-0115@users.noreply.github.com>
Signed-off-by: Max Gekk <max.gekk@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants