Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
A simple repo:
When we typing
select -EXTRACT(DAY FROM birth_date) from cp.`employee.json`;
we probably mean
select -1 * EXTRACT(DAY FROM birth_date) from cp.`employee.json`;
However, the first one will trigger assertion error:
Error: SYSTEM ERROR: AssertionError: todo: implement syntax PREFIX(-(EXTRACT(FLAG(DAY), $0)))