Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.1.0, 3.1.1
Description
This semantic exception is thrown for the following query.
SemanticException '2019-03-20' encountered with 0 children
create table date_1 (key int, dd date); create table date_2 (key int, dd date); select d1.key, d2.dd from( select key, dd as start_dd, current_date as end_dd from date_1) d1 join date_2 as d2 on d1.key = d2.key where d2.dd between start_dd and end_dd;
When the WHERE condition below is commented out, the query completes successfully.
where d2.dd between start_dd and end_dd
------------------------------------------------
Attachments
Attachments
Issue Links
- links to