Skip to content

Commit d2a4181

Browse files
committed
[DOCS] Remove inline callouts for Asciidoctor migration (#41309)
1 parent 3c60f96 commit d2a4181

File tree

6 files changed

+97
-67
lines changed

6 files changed

+97
-67
lines changed

docs/reference/sql/functions/aggs.asciidoc

Lines changed: 25 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Functions for computing a _single_ result from a set of input values.
1616
.Synopsis:
1717
[source, sql]
1818
--------------------------------------------------
19-
AVG(numeric_field<1>)
19+
AVG(numeric_field) <1>
2020
--------------------------------------------------
2121

2222
*Input*:
@@ -40,7 +40,7 @@ include-tagged::{sql-specs}/docs/docs.csv-spec[aggAvg]
4040
.Synopsis:
4141
[source, sql]
4242
--------------------------------------------------
43-
COUNT(expression<1>)
43+
COUNT(expression) <1>
4444
--------------------------------------------------
4545

4646
*Input*:
@@ -70,7 +70,7 @@ include-tagged::{sql-specs}/docs/docs.csv-spec[aggCountStar]
7070
.Synopsis:
7171
[source, sql]
7272
--------------------------------------------------
73-
COUNT(ALL field_name<1>)
73+
COUNT(ALL field_name) <1>
7474
--------------------------------------------------
7575

7676
*Input*:
@@ -95,7 +95,7 @@ include-tagged::{sql-specs}/docs/docs.csv-spec[aggCountAll]
9595
.Synopsis:
9696
[source, sql]
9797
--------------------------------------------------
98-
COUNT(DISTINCT field_name<1>)
98+
COUNT(DISTINCT field_name) <1>
9999
--------------------------------------------------
100100

101101
*Input*:
@@ -119,7 +119,9 @@ include-tagged::{sql-specs}/docs/docs.csv-spec[aggCountDistinct]
119119
.Synopsis:
120120
[source, sql]
121121
----------------------------------------------
122-
FIRST(field_name<1>[, ordering_field_name]<2>)
122+
FIRST(
123+
field_name <1>
124+
[, ordering_field_name]) <2>
123125
----------------------------------------------
124126

125127
*Input*:
@@ -214,7 +216,9 @@ the field is also <<before-enabling-fielddata,saved as a keyword>>.
214216
.Synopsis:
215217
[source, sql]
216218
--------------------------------------------------
217-
LAST(field_name<1>[, ordering_field_name]<2>)
219+
LAST(
220+
field_name <1>
221+
[, ordering_field_name]) <2>
218222
--------------------------------------------------
219223

220224
*Input*:
@@ -309,7 +313,7 @@ the field is also <<before-enabling-fielddata,`saved as a keyword`>>.
309313
.Synopsis:
310314
[source, sql]
311315
--------------------------------------------------
312-
MAX(field_name<1>)
316+
MAX(field_name) <1>
313317
--------------------------------------------------
314318

315319
*Input*:
@@ -337,7 +341,7 @@ include-tagged::{sql-specs}/docs/docs.csv-spec[aggMax]
337341
.Synopsis:
338342
[source, sql]
339343
--------------------------------------------------
340-
MIN(field_name<1>)
344+
MIN(field_name) <1>
341345
--------------------------------------------------
342346

343347
*Input*:
@@ -365,7 +369,7 @@ include-tagged::{sql-specs}/docs/docs.csv-spec[aggMin]
365369
.Synopsis:
366370
[source, sql]
367371
--------------------------------------------------
368-
SUM(field_name<1>)
372+
SUM(field_name) <1>
369373
--------------------------------------------------
370374

371375
*Input*:
@@ -393,7 +397,7 @@ include-tagged::{sql-specs}/docs/docs.csv-spec[aggSum]
393397
.Synopsis:
394398
[source, sql]
395399
--------------------------------------------------
396-
KURTOSIS(field_name<1>)
400+
KURTOSIS(field_name) <1>
397401
--------------------------------------------------
398402

399403
*Input*:
@@ -417,7 +421,7 @@ include-tagged::{sql-specs}/docs/docs.csv-spec[aggKurtosis]
417421
.Synopsis:
418422
[source, sql]
419423
--------------------------------------------------
420-
MAD(field_name<1>)
424+
MAD(field_name) <1>
421425
--------------------------------------------------
422426

423427
*Input*:
@@ -441,7 +445,9 @@ include-tagged::{sql-specs}/docs/docs.csv-spec[aggMad]
441445
.Synopsis:
442446
[source, sql]
443447
--------------------------------------------------
444-
PERCENTILE(field_name<1>, numeric_exp<2>)
448+
PERCENTILE(
449+
field_name, <1>
450+
numeric_exp) <2>
445451
--------------------------------------------------
446452

447453
*Input*:
@@ -467,7 +473,9 @@ include-tagged::{sql-specs}/docs/docs.csv-spec[aggPercentile]
467473
.Synopsis:
468474
[source, sql]
469475
--------------------------------------------------
470-
PERCENTILE_RANK(field_name<1>, numeric_exp<2>)
476+
PERCENTILE_RANK(
477+
field_name, <1>
478+
numeric_exp) <2>
471479
--------------------------------------------------
472480

473481
*Input*:
@@ -493,7 +501,7 @@ include-tagged::{sql-specs}/docs/docs.csv-spec[aggPercentileRank]
493501
.Synopsis:
494502
[source, sql]
495503
--------------------------------------------------
496-
SKEWNESS(field_name<1>)
504+
SKEWNESS(field_name) <1>
497505
--------------------------------------------------
498506

499507
*Input*:
@@ -517,7 +525,7 @@ include-tagged::{sql-specs}/docs/docs.csv-spec[aggSkewness]
517525
.Synopsis:
518526
[source, sql]
519527
--------------------------------------------------
520-
STDDEV_POP(field_name<1>)
528+
STDDEV_POP(field_name) <1>
521529
--------------------------------------------------
522530

523531
*Input*:
@@ -541,7 +549,7 @@ include-tagged::{sql-specs}/docs/docs.csv-spec[aggStddevPop]
541549
.Synopsis:
542550
[source, sql]
543551
--------------------------------------------------
544-
SUM_OF_SQUARES(field_name<1>)
552+
SUM_OF_SQUARES(field_name) <1>
545553
--------------------------------------------------
546554

547555
*Input*:
@@ -565,7 +573,7 @@ include-tagged::{sql-specs}/docs/docs.csv-spec[aggSumOfSquares]
565573
.Synopsis:
566574
[source, sql]
567575
--------------------------------------------------
568-
VAR_POP(field_name<1>)
576+
VAR_POP(field_name) <1>
569577
--------------------------------------------------
570578

571579
*Input*:

docs/reference/sql/functions/date-time.asciidoc

Lines changed: 20 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ include-tagged::{sql-specs}/docs/docs.csv-spec[filterToday]
146146
[source, sql]
147147
--------------------------------------------------
148148
CURRENT_TIME
149-
CURRENT_TIME([precision <1>])
149+
CURRENT_TIME([precision]) <1>
150150
CURTIME
151151
--------------------------------------------------
152152

@@ -203,7 +203,7 @@ function as the maximum number of second fractional digits returned is 3 (millis
203203
[source, sql]
204204
--------------------------------------------------
205205
CURRENT_TIMESTAMP
206-
CURRENT_TIMESTAMP([precision <1>])
206+
CURRENT_TIMESTAMP([precision]) <1>
207207
--------------------------------------------------
208208

209209
*Input*:
@@ -254,7 +254,7 @@ function as the maximum number of second fractional digits returned is 3 (millis
254254
.Synopsis:
255255
[source, sql]
256256
--------------------------------------------------
257-
DAY_OF_MONTH(datetime_exp<1>)
257+
DAY_OF_MONTH(datetime_exp) <1>
258258
--------------------------------------------------
259259

260260
*Input*:
@@ -278,7 +278,7 @@ include-tagged::{sql-specs}/docs/docs.csv-spec[dayOfMonth]
278278
.Synopsis:
279279
[source, sql]
280280
--------------------------------------------------
281-
DAY_OF_WEEK(datetime_exp<1>)
281+
DAY_OF_WEEK(datetime_exp) <1>
282282
--------------------------------------------------
283283

284284
*Input*:
@@ -302,7 +302,7 @@ include-tagged::{sql-specs}/docs/docs.csv-spec[dayOfWeek]
302302
.Synopsis:
303303
[source, sql]
304304
--------------------------------------------------
305-
DAY_OF_YEAR(datetime_exp<1>)
305+
DAY_OF_YEAR(datetime_exp) <1>
306306
--------------------------------------------------
307307

308308
*Input*:
@@ -326,7 +326,7 @@ include-tagged::{sql-specs}/docs/docs.csv-spec[dayOfYear]
326326
.Synopsis:
327327
[source, sql]
328328
--------------------------------------------------
329-
DAY_NAME(datetime_exp<1>)
329+
DAY_NAME(datetime_exp) <1>
330330
--------------------------------------------------
331331

332332
*Input*:
@@ -350,7 +350,7 @@ include-tagged::{sql-specs}/docs/docs.csv-spec[dayName]
350350
.Synopsis:
351351
[source, sql]
352352
--------------------------------------------------
353-
HOUR_OF_DAY(datetime_exp<1>)
353+
HOUR_OF_DAY(datetime_exp) <1>
354354
--------------------------------------------------
355355

356356
*Input*:
@@ -374,7 +374,7 @@ include-tagged::{sql-specs}/docs/docs.csv-spec[hourOfDay]
374374
.Synopsis:
375375
[source, sql]
376376
--------------------------------------------------
377-
ISO_DAY_OF_WEEK(datetime_exp<1>)
377+
ISO_DAY_OF_WEEK(datetime_exp) <1>
378378
--------------------------------------------------
379379

380380
*Input*:
@@ -399,7 +399,7 @@ include-tagged::{sql-specs}/docs/docs.csv-spec[isoDayOfWeek]
399399
.Synopsis:
400400
[source, sql]
401401
--------------------------------------------------
402-
ISO_WEEK_OF_YEAR(datetime_exp<1>)
402+
ISO_WEEK_OF_YEAR(datetime_exp) <1>
403403
--------------------------------------------------
404404

405405
*Input*:
@@ -424,7 +424,7 @@ include-tagged::{sql-specs}/docs/docs.csv-spec[isoWeekOfYear]
424424
.Synopsis:
425425
[source, sql]
426426
--------------------------------------------------
427-
MINUTE_OF_DAY(datetime_exp<1>)
427+
MINUTE_OF_DAY(datetime_exp) <1>
428428
--------------------------------------------------
429429

430430
*Input*:
@@ -448,7 +448,7 @@ include-tagged::{sql-specs}/docs/docs.csv-spec[minuteOfDay]
448448
.Synopsis:
449449
[source, sql]
450450
--------------------------------------------------
451-
MINUTE_OF_HOUR(datetime_exp<1>)
451+
MINUTE_OF_HOUR(datetime_exp) <1>
452452
--------------------------------------------------
453453

454454
*Input*:
@@ -472,7 +472,7 @@ include-tagged::{sql-specs}/docs/docs.csv-spec[minuteOfHour]
472472
.Synopsis:
473473
[source, sql]
474474
--------------------------------------------------
475-
MONTH(datetime_exp<1>)
475+
MONTH(datetime_exp) <1>
476476
--------------------------------------------------
477477

478478
*Input*:
@@ -496,7 +496,7 @@ include-tagged::{sql-specs}/docs/docs.csv-spec[monthOfYear]
496496
.Synopsis:
497497
[source, sql]
498498
--------------------------------------------------
499-
MONTH_NAME(datetime_exp<1>)
499+
MONTH_NAME(datetime_exp) <1>
500500
--------------------------------------------------
501501

502502
*Input*:
@@ -552,7 +552,7 @@ include-tagged::{sql-specs}/docs/docs.csv-spec[filterNow]
552552
.Synopsis:
553553
[source, sql]
554554
--------------------------------------------------
555-
SECOND_OF_MINUTE(datetime_exp<1>)
555+
SECOND_OF_MINUTE(datetime_exp) <1>
556556
--------------------------------------------------
557557

558558
*Input*:
@@ -576,7 +576,7 @@ include-tagged::{sql-specs}/docs/docs.csv-spec[secondOfMinute]
576576
.Synopsis:
577577
[source, sql]
578578
--------------------------------------------------
579-
QUARTER(datetime_exp<1>)
579+
QUARTER(datetime_exp) <1>
580580
--------------------------------------------------
581581

582582
*Input*:
@@ -632,7 +632,7 @@ include-tagged::{sql-specs}/docs/docs.csv-spec[filterToday]
632632
.Synopsis:
633633
[source, sql]
634634
--------------------------------------------------
635-
WEEK_OF_YEAR(datetime_exp<1>)
635+
WEEK_OF_YEAR(datetime_exp) <1>
636636
--------------------------------------------------
637637

638638
*Input*:
@@ -656,7 +656,7 @@ include-tagged::{sql-specs}/docs/docs.csv-spec[weekOfYear]
656656
.Synopsis:
657657
[source, sql]
658658
--------------------------------------------------
659-
YEAR(datetime_exp<1>)
659+
YEAR(datetime_exp) <1>
660660
--------------------------------------------------
661661

662662
*Input*:
@@ -680,7 +680,9 @@ include-tagged::{sql-specs}/docs/docs.csv-spec[year]
680680
.Synopsis:
681681
[source, sql]
682682
--------------------------------------------------
683-
EXTRACT(datetime_function<1> FROM datetime_exp<2>)
683+
EXTRACT(
684+
datetime_function <1>
685+
FROM datetime_exp) <2>
684686
--------------------------------------------------
685687

686688
*Input*:

docs/reference/sql/functions/grouping.asciidoc

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,13 @@ as part of the <<sql-syntax-group-by, grouping>>.
1212
.Synopsis:
1313
[source, sql]
1414
----
15-
HISTOGRAM(numeric_exp<1>, numeric_interval<2>)
16-
HISTOGRAM(date_exp<3>, date_time_interval<4>)
15+
HISTOGRAM(
16+
numeric_exp, <1>
17+
numeric_interval) <2>
18+
19+
HISTOGRAM(
20+
date_exp, <3>
21+
date_time_interval) <4>
1722
----
1823

1924
*Input*:

docs/reference/sql/functions/like-rlike.asciidoc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ or has an exact sub-field, it will use it as is, or it will automatically use th
2020
.Synopsis:
2121
[source, sql]
2222
--------------------------------------------------
23-
expression<1> LIKE constant_exp<2>
23+
expression <1>
24+
LIKE constant_exp <2>
2425
--------------------------------------------------
2526

2627
<1> typically a field, or a constant expression
@@ -59,7 +60,8 @@ IMPORTANT: Even though `LIKE` is a valid option when searching or filtering in {
5960
.Synopsis:
6061
[source, sql]
6162
--------------------------------------------------
62-
expression<1> RLIKE constant_exp<2>
63+
expression <1>
64+
RLIKE constant_exp <2>
6365
--------------------------------------------------
6466

6567
<1> typically a field, or a constant expression

0 commit comments

Comments
 (0)