Skip to content

Commit d6c34c3

Browse files
Fix ES|QL docs railroad diagrams comma positions for optional parameters (#134298)
The SVG images in ES|QL docs had many mistakes with comma positions inside optional parameter groups. For example, the bucket command does not include the comma in the optional group, making it look like we need to type a trailing comma. Almost twenty images are fixed, while also taking care to handle commas at the end of trailing optional parameters, and complex cases like COALESCE. We also added unit tests for the RailRoadDiagram class to make it much easier to test and debug this, as well as reducing the chance that further refinements break anything.
1 parent 4419e4c commit d6c34c3

File tree

23 files changed

+211
-55
lines changed

23 files changed

+211
-55
lines changed

docs/reference/query-languages/esql/images/functions/bucket.svg

Lines changed: 1 addition & 1 deletion
Loading

docs/reference/query-languages/esql/images/functions/categorize.svg

Lines changed: 1 addition & 1 deletion
Loading

docs/reference/query-languages/esql/images/functions/count_distinct.svg

Lines changed: 1 addition & 1 deletion
Loading

docs/reference/query-languages/esql/images/functions/count_distinct_over_time.svg

Lines changed: 1 addition & 1 deletion
Loading

docs/reference/query-languages/esql/images/functions/knn.svg

Lines changed: 1 addition & 1 deletion
Loading

docs/reference/query-languages/esql/images/functions/locate.svg

Lines changed: 1 addition & 1 deletion
Loading

0 commit comments

Comments
 (0)