Skip to content

Commit 081dd64

Browse files
jrodewigedh-oss
andauthored
Add/update source block delimeters (#83624) (#83855)
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 608d519 commit 081dd64

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
@@ -694,9 +694,9 @@ see the number of active threads in each thread pool and
694694
how many tasks are queued, how many have been rejected, and how many have completed.
695695

696696
[source,console]
697-
---
697+
----
698698
GET /_cat/thread_pool?v&s=t,n&h=type,name,node_name,active,queue,rejected,completed
699-
---
699+
----
700700

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

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

708708
[source,console]
709-
---
709+
----
710710
GET /_nodes/hot_threads
711-
---
711+
----
712712

713713
**Look for long running tasks**
714714

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)