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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to