Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SPARK-9577][SQL] Surface concrete iterator types in various sort classes. #7911

Closed
wants to merge 1 commit into from

Conversation

rxin
Copy link
Contributor

@rxin rxin commented Aug 3, 2015

We often return abstract iterator types in various sort-related classes (e.g. UnsafeKVExternalSorter). It is actually better to return a more concrete type, so the callsite uses that type and JIT can inline the iterator calls.

@SparkQA
Copy link

SparkQA commented Aug 4, 2015

Test build #39610 has finished for PR 7911 at commit 0422add.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds the following public classes (experimental):
    • public static final class SortedIterator extends UnsafeSorterIterator
    • public class KVSorterIterator extends KVIterator<UnsafeRow, UnsafeRow>

asfgit pushed a commit that referenced this pull request Aug 4, 2015
…sses.

We often return abstract iterator types in various sort-related classes (e.g. UnsafeKVExternalSorter). It is actually better to return a more concrete type, so the callsite uses that type and JIT can inline the iterator calls.

Author: Reynold Xin <rxin@databricks.com>

Closes #7911 from rxin/surface-concrete-type and squashes the following commits:

0422add [Reynold Xin] [SPARK-9577][SQL] Surface concrete iterator types in various sort classes.

(cherry picked from commit 5eb89f6)
Signed-off-by: Reynold Xin <rxin@databricks.com>
@asfgit asfgit closed this in 5eb89f6 Aug 4, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants