You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2017/04/02 14:44:41 UTC
[jira] [Commented] (SPARK-20194) Support partition pruning for
InMemoryCatalog
[ https://issues.apache.org/jira/browse/SPARK-20194?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15952710#comment-15952710 ]
Apache Spark commented on SPARK-20194:
--------------------------------------
User 'adrian-ionescu' has created a pull request for this issue:
https://github.com/apache/spark/pull/17510
> Support partition pruning for InMemoryCatalog
> ---------------------------------------------
>
> Key: SPARK-20194
> URL: https://issues.apache.org/jira/browse/SPARK-20194
> Project: Spark
> Issue Type: Improvement
> Components: Optimizer
> Affects Versions: 2.1.0
> Reporter: Adrian Ionescu
>
> {{listPartitionsByFilter()}} is not yet implemented for {{InMemoryCatalog}}:
> {quote}
> // TODO: Provide an implementation
> throw new UnsupportedOperationException(
> "listPartitionsByFilter is not implemented for InMemoryCatalog")
> {quote}
> Because of this, there is a hack in {{FindDataSourceTable}} that avoids passing along the {{CatalogTable}} to the {{DataSource}} it creates when the catalog implementation is not "hive", so that, when the latter is resolved, an {{InMemoryFileIndex}} is created instead of a {{CatalogFileIndex}} which the {{PruneFileSourcePartitions}} rule matches for.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org