panbingkun opened a new pull request, #36561:
URL: https://github.com/apache/spark/pull/36561

   ## What changes were proposed in this pull request?
   Migrate the following errors in QueryParsingErrors onto use error classes:
   
   - cannotCleanReservedNamespacePropertyError => 
   UNSUPPORTED_FEATURE.CLEAN_RESERVED_NAMESPACE_PROPERTY
   - cannotCleanReservedTablePropertyError => 
UNSUPPORTED_FEATURE.CLEAN_RESERVED_TABLE_PROPERTY
   - invalidPropertyKeyForSetQuotedConfigurationError => INVALID_PROPERTY_KEY
   - invalidPropertyValueForSetQuotedConfigurationError => 
INVALID_PROPERTY_VALUE
   - propertiesAndDbPropertiesBothSpecifiedError => 
UNSUPPORTED_FEATURE.PROPERTIES_AND_DBPROPERTIES_BOTH_SPECIFIED_CONFLICT
   
   ### Why are the changes needed?
   Porting parsing errors of partitions to new error framework, improve test 
coverage, and document expected error messages in tests.
   
   ### Does this PR introduce any user-facing change?
   No
   
   ### How was this patch tested?
   By running new test:
   ```
   $ build/sbt "sql/testOnly *QueryParsingErrorsSuite*"
   ```


-- 
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-unsubscr...@spark.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to