Skip to content

Conversation

@itholic
Copy link
Contributor

@itholic itholic commented Oct 7, 2022

What changes were proposed in this pull request?

This PR proposes to migrate 25 execution errors onto temporary error classes with the prefix _LEGACY_ERROR_TEMP_2151 to _LEGACY_ERROR_TEMP_2175.

The error classes are prefixed with _LEGACY_ERROR_TEMP_ indicates the dev-facing error messages, and won't be exposed to end users.

Why are the changes needed?

To speed-up the error class migration.

The migration on temporary error classes allow us to analyze the errors, so we can detect the most popular error classes.

Does this PR introduce any user-facing change?

No

How was this patch tested?

$ build/sbt "sql/testOnly org.apache.spark.sql.SQLQueryTestSuite"
$ build/sbt "test:testOnly *SQLQuerySuite"
$ build/sbt -Phive-thriftserver "hive-thriftserver/testOnly org.apache.spark.sql.hive.thriftserver.ThriftServerQueryTestSuite"

@MaxGekk
Copy link
Member

MaxGekk commented Oct 12, 2022

@itholic Please, resolve conflicts.

@itholic
Copy link
Contributor Author

itholic commented Oct 13, 2022

Resolved!

@MaxGekk
Copy link
Member

MaxGekk commented Oct 13, 2022

@itholic Is it ready for review?

@itholic itholic marked this pull request as ready for review October 13, 2022 04:44
@itholic
Copy link
Contributor Author

itholic commented Oct 13, 2022

Oh, I forgot switching to ready for review.

Yes, It's ready!

@MaxGekk MaxGekk changed the title [WIP][SPARK-40663][SQL] Migrate execution errors onto error classes: _LEGACY_ERROR_TEMP_2151-2175 [SPARK-40663][SQL] Migrate execution errors onto error classes: _LEGACY_ERROR_TEMP_2151-2175 Oct 13, 2022
@MaxGekk
Copy link
Member

MaxGekk commented Oct 13, 2022

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

@MaxGekk MaxGekk closed this in 42d4f84 Oct 13, 2022
SandishKumarHN pushed a commit to SandishKumarHN/spark that referenced this pull request Dec 12, 2022
…CY_ERROR_TEMP_2151-2175

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

This PR proposes to migrate 25 execution errors onto temporary error classes with the prefix `_LEGACY_ERROR_TEMP_2151` to `_LEGACY_ERROR_TEMP_2175`.

The error classes are prefixed with `_LEGACY_ERROR_TEMP_` indicates the dev-facing error messages, and won't be exposed to end users.

### Why are the changes needed?

To speed-up the error class migration.

The migration on temporary error classes allow us to analyze the errors, so we can detect the most popular error classes.

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

No

### How was this patch tested?

```
$ build/sbt "sql/testOnly org.apache.spark.sql.SQLQueryTestSuite"
$ build/sbt "test:testOnly *SQLQuerySuite"
$ build/sbt -Phive-thriftserver "hive-thriftserver/testOnly org.apache.spark.sql.hive.thriftserver.ThriftServerQueryTestSuite"
```

Closes apache#38149 from itholic/SPARK-40540-2151-2200.

Authored-by: itholic <[email protected]>
Signed-off-by: Max Gekk <[email protected]>
@itholic itholic deleted the SPARK-40540-2151-2200 branch April 22, 2023 05:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants