You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "gaokui (Jira)" <ji...@apache.org> on 2022/02/09 09:08:00 UTC
[jira] [Created] (SPARK-38161) when clean data hope to spilt one dataframe or dataset to two dataframe
gaokui created SPARK-38161:
------------------------------
Summary: when clean data hope to spilt one dataframe or dataset to two dataframe
Key: SPARK-38161
URL: https://issues.apache.org/jira/browse/SPARK-38161
Project: Spark
Issue Type: New Feature
Components: Block Manager
Affects Versions: 3.2.1
Reporter: gaokui
when I am processing data clean, I meet such scene.
one coloumn need judge by empy or null condition.
so I do it right now similar code as following:
df1= dataframe.filter("coloumn=null")
df2= dataframe.filter("coloumn=!null")
and then write df1 and df2 into hdfs parquet file.
but when i have thousand condition. every job need more stage.
I hope dataframe can filter by one condition once and not twice. and that can generate two dataframe.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org