Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.6.0
-
None
Description
isNewSchema() method checks if top-level schema or any of the deeper map schemas has changed. The last one doesn't work properly with count function.
"deeperSchemaChanged" equals true even when two map strings have the same children fields.
Discovered while trying to fix DRILL-2385.
Dataset test.json for reproducing (MAP<REQUIRED> datatype object):
{"oooi":{"oa":{"oab":{"oabc":1}}}}
Example of query:
select count(t.oooi) from dfs.tmp.`test.json` t
Attachments
Issue Links
- relates to
-
DRILL-2385 count on complex objects failed with missing function implementation
- Closed
- links to