Spark SQL requires a SQL reference doc for end users, like all the other query engines. https://www.postgresql.org/docs/11/sql.html is an example.
Please follow the format of PRs that were merged. Below are couple of PRs that can
be used as a guideline.
Add additional fields in ExpressionDescription for more granular category in documentation
GitHub Pull Request #27216