anchovYu commented on code in PR #43926:
URL: https://github.com/apache/spark/pull/43926#discussion_r1401368945


##########
common/utils/src/main/resources/error/README.md:
##########
@@ -1347,7 +1347,7 @@ The following SQLSTATEs are collated from:
 |XX001    |XX   |Internal Error                                    |001     
|data_corrupted                                              |PostgreSQL     |N 
      |PostgreSQL Redshift                                                      
   |
 |XX002    |XX   |Internal Error                                    |002     
|index_corrupted                                             |PostgreSQL     |N 
      |PostgreSQL Redshift                                                      
   |
 |XXKD0    |XX   |Internal Error                                    |KD0     
|Analysis - Bad plan                                         |Databricks     |N 
      |Databricks                                                               
   |
-|XXKDA    |XX   |Internal Error                                    |KAS     
|Scheduler (Aether Scheduler)                                |Databricks     |N 
      |Databricks                                                               
   |

Review Comment:
   I think 'Databricks' here means the 'origin' and 'used by', similar to 
errors that originates from other engines. Taken an example of 
   ```
   |XXKD0    |XX   |Internal Error                                    |KD0     
|Analysis - Bad plan                                         |Databricks     |N 
      |Databricks           
   ```
   , it's used in open source error class:
   ```
     "PLAN_VALIDATION_FAILED_RULE_IN_BATCH" : {
       "message" : [
         "Rule <rule> in batch <batch> generated an invalid plan: <reason>"
       ],
       "sqlState" : "XXKD0"
     },
   ```



-- 
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