Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
For a query such as:
SELECT count(DISTINCT employee_id) as col1, count((to_number(date_diff(now(), cast(birth_date AS date)),'####'))) as col2 FROM cp.`employee.json`
cannot plan exception will be thrown because ExpressionReductionRule does not properly simply the call "now()".
This issue is similar to DRILL-2808, but that one focuses on error message.
Attachments
Issue Links
- is related to
-
DRILL-2808 Substr function throws weird message when wrong arguments are passed in
-
- Open
-