Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.19.0
Description
Raw elastic queries (not based on views) return incorrect result when cast function is used.
-- does not work without view (returns null) select max(cast(_MAP['foo'] as integer)) from elastic -- query based on view works create view elasticview as select cast(_MAP['foo'] as integer) as foo from elastic; -- works select max(foo) from elasticview
This seems a little counterintuitive, since casting is not pushed to elastic, but consistent with existing view functionality.
Attachments
Issue Links
- links to