[
https://issues.apache.org/jira/browse/DRILL-5121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15738413#comment-15738413
]
ASF GitHub Bot commented on DRILL-5121:
---------------------------------------
GitHub user bitblender opened a pull request:
https://github.com/apache/drill/pull/690
DRILL-5121 A memory leak is observed when exact case is not specified for a
column in a filter condition
Fix for https://issues.apache.org/jira/browse/DRILL-5121.
Changes fieldVectorMap in ScanBatch to a CaseInsensitiveMap to workaround
the memory leak described in the bug.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/bitblender/drill DRILL-5121
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/drill/pull/690.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #690
----
commit 8178e2ac620cdde534b8235e1b699b92bbad87c8
Author: karthik <[email protected]>
Date: 2016-11-14T18:36:53Z
DRILL-5121 Fix for memory leak. Changes fieldVectorMap in ScanBatch to a
CaseInsensitiveMap
----
> A memory leak is observed when exact case is not specified for a column in a
> filter condition
> ---------------------------------------------------------------------------------------------
>
> Key: DRILL-5121
> URL: https://issues.apache.org/jira/browse/DRILL-5121
> Project: Apache Drill
> Issue Type: Bug
> Components: Execution - Relational Operators
> Affects Versions: 1.6.0, 1.8.0
> Reporter: Karthikeyan Manivannan
> Assignee: Karthikeyan Manivannan
> Fix For: Future
>
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> When the query SELECT XYZ from dfs.`/tmp/foo' where xYZ like "abc", is
> executed on a setup where /tmp/foo has 2 Parquet files, 1.parquet and
> 2.parquet, where 1.parquet has the column XYZ but 2.parquet does not, then
> there is a memory leak.
> This seems to happen because xYZ seem to be treated as a new column.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)