You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Group By results in RuntimeException.
Or for query issues:
Run the query '
select str1, date0, C1, case when not C1 is null then C1 else {ts '1899-12-28 00:00:00'} end as C2, case when C1 is null then 0 else 1 end as C3 from (select str1, date0, date0 as C1 from calcs ) as ITBL group by str1, date0, C1
'
See error RuntimeException
Expected behavior
Return valid results without an exception.
Additional context
The query works as expected without group by.
The text was updated successfully, but these errors were encountered:
…ges (#2017)
* Applied formatting improvements to Antlr files based on spotless changes (#342)
Signed-off-by: Matthew Wells <matthew.wells@improving.com>
* added spacing to # names back into parser files
Signed-off-by: Matthew Wells <matthew.wells@improving.com>
---------
Signed-off-by: Matthew Wells <matthew.wells@improving.com>
…n spotless changes (#2017) (#2023)
* Applied formatting improvements to Antlr files based on spotless changes (#2017)
* Applied formatting improvements to Antlr files based on spotless changes (#342)
Signed-off-by: Matthew Wells <matthew.wells@improving.com>
* added spacing to # names back into parser files
Signed-off-by: Matthew Wells <matthew.wells@improving.com>
---------
Signed-off-by: Matthew Wells <matthew.wells@improving.com>
* Update sql/src/main/antlr/OpenSearchSQLParser.g4
Signed-off-by: Mitchell Gale <Mitchell.gale@improving.com>
* fixed extra semi colon
Signed-off-by: Mitchell Gale <Mitchell.Gale@improving.com>
---------
Signed-off-by: Matthew Wells <matthew.wells@improving.com>
Signed-off-by: Mitchell Gale <Mitchell.gale@improving.com>
Signed-off-by: Mitchell Gale <Mitchell.Gale@improving.com>
Co-authored-by: Matthew Wells <matthew.wells@improving.com>
Describe the bug
Group By results in RuntimeException.
Or for query issues:
select
str1
,date0
,C1
, case when notC1
is null thenC1
else {ts '1899-12-28 00:00:00'} end asC2
, case whenC1
is null then 0 else 1 end asC3
from (selectstr1
,date0
,date0
asC1
fromcalcs
) asITBL
group bystr1
,date0
,C1
'
Expected behavior
Return valid results without an exception.
Additional context
The query works as expected without group by.
The text was updated successfully, but these errors were encountered: