-
Notifications
You must be signed in to change notification settings - Fork 24.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SQL: extending the grammar #41195
Labels
Comments
Pinging @elastic/es-search |
Adding to the list
|
matriv
added a commit
to matriv/elasticsearch
that referenced
this issue
Apr 16, 2019
Although the translation rule was implemented in the `Optimizer`, the rule was not added in the list of rules to be executed. Relates to elastic#41195 Follows elastic#37936
matriv
added a commit
that referenced
this issue
Apr 16, 2019
matriv
added a commit
that referenced
this issue
Apr 16, 2019
matriv
added a commit
that referenced
this issue
Apr 16, 2019
matriv
added a commit
that referenced
this issue
Apr 16, 2019
gurkankaymak
pushed a commit
to gurkankaymak/elasticsearch
that referenced
this issue
May 27, 2019
Although the translation rule was implemented in the `Optimizer`, the rule was not added in the list of rules to be executed. Relates to elastic#41195 Follows elastic#37936
matriv
added a commit
to matriv/elasticsearch
that referenced
this issue
Nov 25, 2019
Add TRUNC as alias to already implemented TRUNCATE numeric function which is the flavour supported by Oracle and PostgreSQL. Relates to: elastic#41195
matriv
added a commit
that referenced
this issue
Nov 26, 2019
Add TRUNC as alias to already implemented TRUNCATE numeric function which is the flavour supported by Oracle and PostgreSQL. Relates to: #41195
matriv
added a commit
that referenced
this issue
Nov 26, 2019
This was referenced Feb 3, 2020
matriv
added a commit
to matriv/elasticsearch
that referenced
this issue
Jun 1, 2020
Add basic support for `TOP X` as a synonym to LIMIT X which is used by [MS-SQL server](https://docs.microsoft.com/en-us/sql/t-sql/queries/top-transact-sql?view=sql-server-ver15), e.g.: ``` SELECT TOP 5 a, b, c FROM test ``` TOP in SQL server also supports the `PERCENTAGE` amd `WITH TIES` keywords which this implementation doesn't. Don't allow usage of both TOP and LIMIT in the same query. Refers to elastic#41195
matriv
added a commit
that referenced
this issue
Jun 2, 2020
Add basic support for `TOP X` as a synonym to LIMIT X which is used by [MS-SQL server](https://docs.microsoft.com/en-us/sql/t-sql/queries/top-transact-sql?view=sql-server-ver15), e.g.: ``` SELECT TOP 5 a, b, c FROM test ``` TOP in SQL server also supports the `PERCENTAGE` and `WITH TIES` keywords which this implementation doesn't. Don't allow usage of both TOP and LIMIT in the same query. Refers to #41195
matriv
added a commit
that referenced
this issue
Jun 2, 2020
Add basic support for `TOP X` as a synonym to LIMIT X which is used by [MS-SQL server](https://docs.microsoft.com/en-us/sql/t-sql/queries/top-transact-sql?view=sql-server-ver15), e.g.: ``` SELECT TOP 5 a, b, c FROM test ``` TOP in SQL server also supports the `PERCENTAGE` and `WITH TIES` keywords which this implementation doesn't. Don't allow usage of both TOP and LIMIT in the same query. Refers to #41195 (cherry picked from commit 2f5ab81)
matriv
added a commit
to matriv/elasticsearch
that referenced
this issue
Jun 2, 2020
Add `TRIM` function which combines the functionality of both `LTRIM` and `RTRIM` by stripping both leading and trailinng whitespaces. Refers to elastic#41195
matriv
added a commit
that referenced
this issue
Jun 3, 2020
Add `TRIM` function which combines the functionality of both `LTRIM` and `RTRIM` by stripping both leading and trailing whitespaces. Refers to #41195
matriv
added a commit
that referenced
this issue
Jun 3, 2020
ATAN with two arguments seems to be supported MySQL thing |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
FIRST/LAST
functions which have an equivalent meaning withMIN/MAX
for String fields. We should allowMIN/MAX
for strings and delegate toFIRST/LAST
functions.ATAN
function to receive one or two parameters.TRIM(param)
function that should be the equivalent ofLTRIM(RTRIM(param))
.The text was updated successfully, but these errors were encountered: