[
https://issues.apache.org/jira/browse/DRILL-3874?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14941536#comment-14941536
]
ASF GitHub Bot commented on DRILL-3874:
---------------------------------------
Github user jaltekruse commented on the pull request:
https://github.com/apache/drill/pull/181#issuecomment-145117861
I'm okay with merging as is, I think it is worth keeping a JIRA open for
this refactoring. The fact that these behave inconsistently pretty much
guarantees that one of them has a bug.
+1
> flattening large JSON objects consumes too much direct memory
> -------------------------------------------------------------
>
> Key: DRILL-3874
> URL: https://issues.apache.org/jira/browse/DRILL-3874
> Project: Apache Drill
> Issue Type: Bug
> Components: Execution - Flow
> Affects Versions: 1.1.0
> Reporter: Chris Westin
> Assignee: Chris Westin
>
> A JSON record has a field whose value is an array with 20,000 elements; the
> record's size is 4MB. A select is used to flatten this. The query profile
> reports that the peak memory utilization was 8GB, most of it used by the
> flatten.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)