Skip to content

Commit 7d5ff5a

Browse files
committed
Docs: Drop inline callouts from two SQL pages (#41270)
Drops inline callouts from the docs for SQL's string and type-conversion functions because they are not compatible with Asciidoctor.
1 parent c4ffd75 commit 7d5ff5a

File tree

2 files changed

+50
-22
lines changed

2 files changed

+50
-22
lines changed

docs/reference/sql/functions/string.asciidoc

Lines changed: 44 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Functions for performing string manipulation.
1111
.Synopsis:
1212
[source, sql]
1313
--------------------------------------------------
14-
ASCII(string_exp<1>)
14+
ASCII(string_exp) <1>
1515
--------------------------------------------------
1616

1717
*Input*:
@@ -35,7 +35,7 @@ include-tagged::{sql-specs}/docs/docs.csv-spec[stringAscii]
3535
.Synopsis:
3636
[source, sql]
3737
--------------------------------------------------
38-
BIT_LENGTH(string_exp<1>)
38+
BIT_LENGTH(string_exp) <1>
3939
--------------------------------------------------
4040
*Input*:
4141

@@ -58,7 +58,7 @@ include-tagged::{sql-specs}/docs/docs.csv-spec[stringBitLength]
5858
.Synopsis:
5959
[source, sql]
6060
--------------------------------------------------
61-
CHAR(code<1>)
61+
CHAR(code) <1>
6262
--------------------------------------------------
6363
*Input*:
6464

@@ -81,7 +81,7 @@ include-tagged::{sql-specs}/docs/docs.csv-spec[stringChar]
8181
.Synopsis:
8282
[source, sql]
8383
--------------------------------------------------
84-
CHAR_LENGTH(string_exp<1>)
84+
CHAR_LENGTH(string_exp) <1>
8585
--------------------------------------------------
8686
*Input*:
8787

@@ -104,7 +104,9 @@ include-tagged::{sql-specs}/docs/docs.csv-spec[stringCharLength]
104104
.Synopsis:
105105
[source, sql]
106106
--------------------------------------------------
107-
CONCAT(string_exp1<1>,string_exp2<2>)
107+
CONCAT(
108+
string_exp1, <1>
109+
string_exp2) <2>
108110
--------------------------------------------------
109111
*Input*:
110112

@@ -128,7 +130,11 @@ include-tagged::{sql-specs}/docs/docs.csv-spec[stringConcat]
128130
.Synopsis:
129131
[source, sql]
130132
--------------------------------------------------
131-
INSERT(source<1>, start<2>, length<3>, replacement<4>)
133+
INSERT(
134+
source, <1>
135+
start, <2>
136+
length, <3>
137+
replacement) <4>
132138
--------------------------------------------------
133139
*Input*:
134140

@@ -154,7 +160,7 @@ include-tagged::{sql-specs}/docs/docs.csv-spec[stringInsert]
154160
.Synopsis:
155161
[source, sql]
156162
--------------------------------------------------
157-
LCASE(string_exp<1>)
163+
LCASE(string_exp) <1>
158164
--------------------------------------------------
159165
*Input*:
160166

@@ -177,7 +183,9 @@ include-tagged::{sql-specs}/docs/docs.csv-spec[stringLCase]
177183
.Synopsis:
178184
[source, sql]
179185
--------------------------------------------------
180-
LEFT(string_exp<1>, count<2>)
186+
LEFT(
187+
string_exp, <1>
188+
count) <2>
181189
--------------------------------------------------
182190
*Input*:
183191

@@ -201,7 +209,7 @@ include-tagged::{sql-specs}/docs/docs.csv-spec[stringLeft]
201209
.Synopsis:
202210
[source, sql]
203211
--------------------------------------------------
204-
LENGTH(string_exp<1>)
212+
LENGTH(string_exp) <1>
205213
--------------------------------------------------
206214
*Input*:
207215

@@ -224,7 +232,11 @@ include-tagged::{sql-specs}/docs/docs.csv-spec[stringLength]
224232
.Synopsis:
225233
[source, sql]
226234
--------------------------------------------------
227-
LOCATE(pattern<1>, source<2>[, start]<3>)
235+
LOCATE(
236+
pattern, <1>
237+
source <2>
238+
[, start]<3>
239+
)
228240
--------------------------------------------------
229241
*Input*:
230242

@@ -254,7 +266,7 @@ include-tagged::{sql-specs}/docs/docs.csv-spec[stringLocateWithStart]
254266
.Synopsis:
255267
[source, sql]
256268
--------------------------------------------------
257-
LTRIM(string_exp<1>)
269+
LTRIM(string_exp) <1>
258270
--------------------------------------------------
259271
*Input*:
260272

@@ -277,7 +289,7 @@ include-tagged::{sql-specs}/docs/docs.csv-spec[stringLTrim]
277289
.Synopsis:
278290
[source, sql]
279291
--------------------------------------------------
280-
OCTET_LENGTH(string_exp<1>)
292+
OCTET_LENGTH(string_exp) <1>
281293
--------------------------------------------------
282294
*Input*:
283295

@@ -300,7 +312,9 @@ include-tagged::{sql-specs}/docs/docs.csv-spec[stringOctetLength]
300312
.Synopsis:
301313
[source, sql]
302314
--------------------------------------------------
303-
POSITION(string_exp1<1>, string_exp2<2>)
315+
POSITION(
316+
string_exp1, <1>
317+
string_exp2) <2>
304318
--------------------------------------------------
305319
*Input*:
306320

@@ -324,7 +338,9 @@ include-tagged::{sql-specs}/docs/docs.csv-spec[stringPosition]
324338
.Synopsis:
325339
[source, sql]
326340
--------------------------------------------------
327-
REPEAT(string_exp<1>, count<2>)
341+
REPEAT(
342+
string_exp, <1>
343+
count) <2>
328344
--------------------------------------------------
329345
*Input*:
330346

@@ -348,7 +364,10 @@ include-tagged::{sql-specs}/docs/docs.csv-spec[stringRepeat]
348364
.Synopsis:
349365
[source, sql]
350366
--------------------------------------------------
351-
REPLACE(source<1>, pattern<2>, replacement<3>)
367+
REPLACE(
368+
source, <1>
369+
pattern, <2>
370+
replacement) <3>
352371
--------------------------------------------------
353372
*Input*:
354373

@@ -373,7 +392,9 @@ include-tagged::{sql-specs}/docs/docs.csv-spec[stringReplace]
373392
.Synopsis:
374393
[source, sql]
375394
--------------------------------------------------
376-
RIGHT(string_exp<1>, count<2>)
395+
RIGHT(
396+
string_exp, <1>
397+
count) <2>
377398
--------------------------------------------------
378399
*Input*:
379400

@@ -397,7 +418,7 @@ include-tagged::{sql-specs}/docs/docs.csv-spec[stringRight]
397418
.Synopsis:
398419
[source, sql]
399420
--------------------------------------------------
400-
RTRIM(string_exp<1>)
421+
RTRIM(string_exp) <1>
401422
--------------------------------------------------
402423
*Input*:
403424

@@ -420,7 +441,7 @@ include-tagged::{sql-specs}/docs/docs.csv-spec[stringRTrim]
420441
.Synopsis:
421442
[source, sql]
422443
--------------------------------------------------
423-
SPACE(count<1>)
444+
SPACE(count) <1>
424445
--------------------------------------------------
425446
*Input*:
426447

@@ -443,7 +464,10 @@ include-tagged::{sql-specs}/docs/docs.csv-spec[stringSpace]
443464
.Synopsis:
444465
[source, sql]
445466
--------------------------------------------------
446-
SUBSTRING(source<1>, start<2>, length<3>)
467+
SUBSTRING(
468+
source, <1>
469+
start, <2>
470+
length) <3>
447471
--------------------------------------------------
448472
*Input*:
449473

@@ -468,7 +492,7 @@ include-tagged::{sql-specs}/docs/docs.csv-spec[stringSubString]
468492
.Synopsis:
469493
[source, sql]
470494
--------------------------------------------------
471-
UCASE(string_exp<1>)
495+
UCASE(string_exp) <1>
472496
--------------------------------------------------
473497
*Input*:
474498

docs/reference/sql/functions/type-conversion.asciidoc

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ Functions for converting an expression of one data type to another.
1111
.Synopsis:
1212
[source, sql]
1313
----
14-
CAST(expression<1> AS data_type<2>)
14+
CAST(
15+
expression <1>
16+
AS data_type) <2>
1517
----
1618

1719
<1> Expression to cast
@@ -50,7 +52,9 @@ To obtain an {es} `float`, perform casting to its SQL equivalent, `real` type.
5052
.Synopsis:
5153
[source, sql]
5254
----
53-
CONVERT(expression<1>, data_type<2>)
55+
CONVERT(
56+
expression, <1>
57+
data_type) <2>
5458
----
5559

5660
<1> Expression to convert

0 commit comments

Comments
 (0)