You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "sanket sahu (Jira)" <ji...@apache.org> on 2019/11/04 06:21:00 UTC

[jira] [Created] (SPARK-29740) Filter On DataFrame Will return Tuple of 2 dataframe

sanket sahu created SPARK-29740:
-----------------------------------

             Summary: Filter On DataFrame Will return Tuple of 2 dataframe
                 Key: SPARK-29740
                 URL: https://issues.apache.org/jira/browse/SPARK-29740
             Project: Spark
          Issue Type: Improvement
          Components: Spark Core
    Affects Versions: 2.4.4
            Reporter: sanket sahu


The filter operation over dataframe/dataset based on a boolean parameter,

 will return tuple of 2 dataframes instead of 1. 
i.e.
(DataFrame_Matching_the_condition, DataFrame_NOT_Matching_the_condition)

As of now, it requires 2 filter operation to get this result.
But if this is implemented , this use case can be done in a single filter operation. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org