forked from elastic/elasticsearch
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ESQL: Add type tables for operators to docs
This adds a tiny blurb for each operator to the docs with a railroad diagram of the operator's syntax and a table of the input and output types. This also fixes the tests to correctly generate the tables for operators.
- Loading branch information
Showing
18 changed files
with
183 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
docs/reference/esql/functions/signature/greater_than_or_equal.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
[%header.monospaced.styled,format=dsv,separator=|] | ||
|=== | ||
lhs | rhs | result | ||
date_period | date_period | date_period | ||
date_period | datetime | datetime | ||
datetime | date_period | datetime | ||
datetime | time_duration | datetime | ||
double | double | double | ||
integer | integer | integer | ||
long | long | long | ||
time_duration | time_duration | time_duration | ||
|=== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[%header.monospaced.styled,format=dsv,separator=|] | ||
|=== | ||
lhs | rhs | result | ||
double | double | double | ||
integer | integer | integer | ||
long | long | long | ||
|=== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[%header.monospaced.styled,format=dsv,separator=|] | ||
|=== | ||
lhs | rhs | result | ||
integer | integer | boolean | ||
|=== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[%header.monospaced.styled,format=dsv,separator=|] | ||
|=== | ||
lhs | rhs | result | ||
integer | integer | boolean | ||
|=== |
5 changes: 5 additions & 0 deletions
5
docs/reference/esql/functions/types/greater_than_or_equal.asciidoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[%header.monospaced.styled,format=dsv,separator=|] | ||
|=== | ||
lhs | rhs | result | ||
integer | integer | boolean | ||
|=== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[%header.monospaced.styled,format=dsv,separator=|] | ||
|=== | ||
lhs | rhs | result | ||
integer | integer | boolean | ||
|=== |
5 changes: 5 additions & 0 deletions
5
docs/reference/esql/functions/types/less_than_or_equal.asciidoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[%header.monospaced.styled,format=dsv,separator=|] | ||
|=== | ||
lhs | rhs | result | ||
integer | integer | boolean | ||
|=== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[%header.monospaced.styled,format=dsv,separator=|] | ||
|=== | ||
lhs | rhs | result | ||
double | double | double | ||
integer | integer | integer | ||
long | long | long | ||
|=== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[%header.monospaced.styled,format=dsv,separator=|] | ||
|=== | ||
lhs | rhs | result | ||
double | double | double | ||
integer | integer | integer | ||
long | long | long | ||
|=== |
7 changes: 4 additions & 3 deletions
7
.../esql/functions/types/to_degrees.asciidoc → ...ference/esql/functions/types/neg.asciidoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
[%header.monospaced.styled,format=dsv,separator=|] | ||
|=== | ||
v | result | ||
date_period | date_period | ||
double | double | ||
integer | double | ||
long | double | ||
unsigned_long | double | ||
integer | integer | ||
long | long | ||
time_duration | time_duration | ||
|=== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[%header.monospaced.styled,format=dsv,separator=|] | ||
|=== | ||
lhs | rhs | result | ||
integer | integer | boolean | ||
|=== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
[%header.monospaced.styled,format=dsv,separator=|] | ||
|=== | ||
lhs | rhs | result | ||
date_period | date_period | date_period | ||
datetime | date_period | datetime | ||
datetime | time_duration | datetime | ||
double | double | double | ||
integer | integer | integer | ||
long | long | long | ||
time_duration | time_duration | time_duration | ||
|=== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters