You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Alex Liu (JIRA)" <ji...@apache.org> on 2015/04/07 17:51:12 UTC
[jira] [Created] (SPARK-6745) Develop a general filter function to
be used in PrunedFilteredScan and CatalystScan
Alex Liu created SPARK-6745:
-------------------------------
Summary: Develop a general filter function to be used in PrunedFilteredScan and CatalystScan
Key: SPARK-6745
URL: https://issues.apache.org/jira/browse/SPARK-6745
Project: Spark
Issue Type: Improvement
Components: SQL
Affects Versions: 1.3.0
Reporter: Alex Liu
During integrating PrunedFilteredScan/CatalystScan with Cassandra. Some filters are pushed down to Cassandra Spark connector, others are left out. The left out filters need to applied to the Rdd[Row] obtained from Cassandra Spark Connector.
Rdd[Row].filter(generalFilter)
{code}
def filter(f: T => Boolean): RDD[T]
generalFilter: Row => Boolean
{code}
Where generalFilter combines filters left and applies them to Row. This is a general function which could be applied to many data source integration.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org