https://github.com/apache/spark
Revision 07f5926a6c3b001801aa1092cd664d7d6265c2f9 authored by Max Gekk on 05 July 2022, 15:20:53 UTC, committed by Max Gekk on 05 July 2022, 15:20:53 UTC
### What changes were proposed in this pull request?
In the PR, I propose to fix args formatting of some regexp functions by adding explicit new lines. That fixes the following items in arg lists.

Before:

<img width="745" alt="Screenshot 2022-07-05 at 09 48 28" src="https://user-images.githubusercontent.com/1580697/177274234-04209d43-a542-4c71-b5ca-6f3239208015.png">

After:

<img width="704" alt="Screenshot 2022-07-05 at 11 06 13" src="https://user-images.githubusercontent.com/1580697/177280718-cb05184c-8559-4461-b94d-dfaaafda7dd2.png">

### Why are the changes needed?
To improve readability of Spark SQL docs.

### Does this PR introduce _any_ user-facing change?
No.

### How was this patch tested?
By building docs and checking manually:
```
$ SKIP_SCALADOC=1 SKIP_PYTHONDOC=1 SKIP_RDOC=1 bundle exec jekyll build
```

Authored-by: Max Gekk <max.gekkgmail.com>
Signed-off-by: Max Gekk <max.gekkgmail.com>
(cherry picked from commit 4e42f8b12e8dc57a15998f22d508a19cf3c856aa)
Signed-off-by: Max Gekk <max.gekkgmail.com>

Closes #37094 from MaxGekk/fix-regexp-docs-3.1.

Authored-by: Max Gekk <max.gekk@gmail.com>
Signed-off-by: Max Gekk <max.gekk@gmail.com>
1 parent cc8ab36
History
Tip revision: 07f5926a6c3b001801aa1092cd664d7d6265c2f9 authored by Max Gekk on 05 July 2022, 15:20:53 UTC
[SPARK-39677][SQL][DOCS][3.1] Fix args formatting of the regexp and like functions
Tip revision: 07f5926

README.md

back to top