DevanshSingh-Ksolves opened a new pull request, #59401:
URL: https://github.com/apache/spark/pull/59401

   ### What changes were proposed in this pull request?
   This PR assigns a formal error class `UNSUPPORTED_STORE_ASSIGNMENT_POLICY` 
to the legacy temporary error `_LEGACY_ERROR_TEMP_1000`.
   
   Changes include:
   - Added `UNSUPPORTED_STORE_ASSIGNMENT_POLICY` definition to 
`error-conditions.json`.
   - Updated `legacyStoreAssignmentPolicyError` in 
`QueryCompilationErrors.scala` to use the new error class and `toSQLConf()`.
   - Migrated tests in `AlignMergeAssignmentsSuite.scala` and 
`AlignUpdateAssignmentsSuite.scala` to use `checkError()`.
   
   ### Why are the changes needed?
   This change is part of the ongoing effort to standardize Spark's error 
messages by assigning named error classes to temporary legacy errors.
   
   ### Does this PR introduce _any_ user-facing change?
   No behavioral changes, only standardizes the error message class name and 
parameters.
   
   ### How was this patch tested?
   Passes existing test suites:
   ```bash
   build/sbt "sql/testOnly *AlignMergeAssignmentsSuite"
   build/sbt "sql/testOnly *AlignUpdateAssignmentsSuite"


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to