[
https://issues.apache.org/jira/browse/DRILL-3876?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14945410#comment-14945410
]
ASF GitHub Bot commented on DRILL-3876:
---------------------------------------
GitHub user jaltekruse opened a pull request:
https://github.com/apache/drill/pull/187
DRILL-3876: Avoid an extra copy of the original list when flattening
This only fixes a basic case, a more complete refactoring of the rewrite
rule could avoid copies in cases with multiple flattens, this will be addressed
in DRILL-3899.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jaltekruse/incubator-drill
3876-fix-flatten-simple-extra-copy
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/drill/pull/187.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 #187
----
commit da864a6b0307712166fc02842cb2aa8ce46e36b5
Author: Jason Altekruse <[email protected]>
Date: 2015-10-06T16:23:18Z
DRILL-3876: Avoid an extra copy of the original list when flattening
This only fixes a basic case, a more complete refactoring of the rewrite
rule could avoid copies in cases with multiple flattens, this will be addressed
in DRILL-3899.
----
> flatten() should not require a subsequent project to strip columns that
> aren't required
> ---------------------------------------------------------------------------------------
>
> Key: DRILL-3876
> URL: https://issues.apache.org/jira/browse/DRILL-3876
> Project: Apache Drill
> Issue Type: Bug
> Components: Execution - Flow
> Affects Versions: 1.2.0
> Reporter: Chris Westin
> Assignee: Chris Westin
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)