Skip to content

Commit e3cc155

Browse files
jrodewigedh-oss
andauthored
Add/update source block delimeters (#83624) (#83854)
Asciidoc source blocks are to be delimited with four dashes. This adds missing delimiters, and updates some that contained only three dashes. It matters for parsing purposes. (cherry picked from commit 5ef77ef) Co-authored-by: edh-oss <[email protected]>
1 parent 366e22d commit e3cc155

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

docs/reference/how-to/fix-common-cluster-issues.asciidoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -693,9 +693,9 @@ see the number of active threads in each thread pool and
693693
how many tasks are queued, how many have been rejected, and how many have completed.
694694

695695
[source,console]
696-
---
696+
----
697697
GET /_cat/thread_pool?v&s=t,n&h=type,name,node_name,active,queue,rejected,completed
698-
---
698+
----
699699

700700
**Inspect the hot threads on each node**
701701

@@ -705,9 +705,9 @@ to determine if the thread has sufficient
705705
resources to progress and gauge how quickly it is progressing.
706706

707707
[source,console]
708-
---
708+
----
709709
GET /_nodes/hot_threads
710-
---
710+
----
711711

712712
**Look for long running tasks**
713713

docs/reference/sql/functions/conditional.asciidoc

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,12 @@ E.g.:
8686
for the following query:
8787
8888
[source, sql]
89+
----
8990
CASE WHEN a = 1 THEN null
9091
WHEN a > 2 THEN 10
9192
WHEN a > 5 THEN 'foo'
9293
END
94+
----
9395
9496
an error message would be returned, mentioning that *'foo'* is of data type *keyword*,
9597
which does not match the expected data type *integer* (based on result *10*).
@@ -105,6 +107,7 @@ interesting than every single value, CASE can create custom buckets as in the
105107
following example:
106108

107109
[source, sql]
110+
----
108111
SELECT count(*) AS count,
109112
CASE WHEN NVL(languages, 0) = 0 THEN 'zero'
110113
WHEN languages = 1 THEN 'one'
@@ -115,7 +118,7 @@ SELECT count(*) AS count,
115118
FROM employees
116119
GROUP BY lang_skills
117120
ORDER BY lang_skills;
118-
121+
----
119122
With this query, one can create normal grouping buckets for values _0, 1, 2, 3_ with
120123
descriptive names, and every value _>= 4_ falls into the _multilingual_ bucket.
121124

@@ -281,7 +284,9 @@ include-tagged::{sql-specs}/docs/docs.csv-spec[iifWithoutDefaultValue]
281284
expression. E.g.:
282285
283286
[source, sql]
287+
----
284288
IIF(a = 1, 'one', IIF(a = 2, 'two', IIF(a = 3, 'three', 'many')))
289+
----
285290
=================
286291

287292

0 commit comments

Comments
 (0)