You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by "michaelmitchell-bit (via GitHub)" <gi...@apache.org> on 2026/07/03 18:15:13 UTC
[PR] [SPARK-57752][SPARK-57753][SPARK-57754][SQL][4.X] Assign names to Hive UDF Java type error conditions [spark]
michaelmitchell-bit opened a new pull request, #56994:
URL: https://github.com/apache/spark/pull/56994
### What changes were proposed in this pull request?
This backports apache/spark#56905 to branch-4.x.
It assigns named error conditions and SQLSTATEs for three Hive UDF/UDAF/UDTF Java type legacy error classes:
- `_LEGACY_ERROR_TEMP_3090` -> `UNSUPPORTED_HIVE_FUNCTION_TYPE.RAW_LIST`
- `_LEGACY_ERROR_TEMP_3091` -> `UNSUPPORTED_HIVE_FUNCTION_TYPE.RAW_MAP`
- `_LEGACY_ERROR_TEMP_3092` -> `UNSUPPORTED_HIVE_FUNCTION_TYPE.WILDCARD`
The branch-4.x backport required resolving an `error-conditions.json` conflict by preserving branch-4.x's existing `UNSUPPORTED_HIVE_TYPE` entry and inserting `UNSUPPORTED_HIVE_FUNCTION_TYPE` before it.
### Why are the changes needed?
To keep branch-4.x aligned with master for the named error condition migration from apache/spark#56905.
### Does this PR introduce _any_ user-facing change?
Yes. The affected Hive UDF/UDAF/UDTF Java type errors now report named error conditions and SQLSTATEs on branch-4.x, matching master.
### How was this patch tested?
```
./build/sbt "core/testOnly org.apache.spark.SparkThrowableSuite"
./build/sbt "hive/testOnly org.apache.spark.sql.hive.execution.HiveUDFSuite -- -z UDFRaw"
./build/sbt "hive/testOnly org.apache.spark.sql.hive.execution.HiveUDFSuite -- -z UDFWildcardList"
jq empty common/utils/src/main/resources/error/error-conditions.json
git diff --check origin/branch-4.x...HEAD
```
### Was this patch authored or co-authored using generative AI tooling?
Generated-by: OpenAI Codex (GPT-5)
--
This is an automated message from the 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
Re: [PR] [SPARK-57752][SPARK-57753][SPARK-57754][SQL][4.X] Assign names to Hive UDF Java type error conditions [spark]
Posted by "cloud-fan (via GitHub)" <gi...@apache.org>.
cloud-fan commented on PR #56994:
URL: https://github.com/apache/spark/pull/56994#issuecomment-4880506936
thanks, merging to 4.x!
--
This is an automated message from the 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
Re: [PR] [SPARK-57752][SPARK-57753][SPARK-57754][SQL][4.X] Assign names to Hive UDF Java type error conditions [spark]
Posted by "cloud-fan (via GitHub)" <gi...@apache.org>.
cloud-fan commented on PR #56994:
URL: https://github.com/apache/spark/pull/56994#issuecomment-4880508817
**Merge Summary:**
- merged into branch-4.x https://github.com/apache/spark/commit/7d4f75a7a32e8eedc6c9f94bf85423043250474f
*Posted by `merge_spark_pr.py`*
--
This is an automated message from the 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
Re: [PR] [SPARK-57752][SPARK-57753][SPARK-57754][SQL][4.X] Assign names to Hive UDF Java type error conditions [spark]
Posted by "cloud-fan (via GitHub)" <gi...@apache.org>.
cloud-fan closed pull request #56994: [SPARK-57752][SPARK-57753][SPARK-57754][SQL][4.X] Assign names to Hive UDF Java type error conditions
URL: https://github.com/apache/spark/pull/56994
--
This is an automated message from the 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