LuciferYang opened a new pull request #29608:
URL: https://github.com/apache/spark/pull/29608


   ### What changes were proposed in this pull request?
   `sql-expression-schema.md` automatically generated by 
ExpressionsSchemaSuite, but only expressions entry are checked in 
`ExpressionsSchemaSuite`. So if we manually modify the contents of the file,  
`ExpressionsSchemaSuite` does not necessarily guarantee the correctness of the 
it. For example, Spark-24884 added `regexp_extract_all`  expression support, 
and manually modify the `sql-expression-schema.md` but not change the content 
of `Number of queries` cause file content inconsistency.
   
   Some checks have been added to `ExpressionsSchemaSuite` to improve the 
correctness guarantee of `sql-expression-schema.md` as follow:
   
   - `Number of queries` should equals size of `expressions entries`
   
   - `Number of expressions that missing example` should equals size of 
`Expressions missing examples`
   
   - `MissExamples` from case should same as  `expectedMissExamples` from 
`sql-expression-schema.md`
   
   ### Why are the changes needed?
   Ensure the correctness of `sql-expression-schema.md` content.
   
   ### Does this PR introduce _any_ user-facing change?
   No
   
   ### How was this patch tested?
   Enhanced 
   


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

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