You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "anju (Jira)" <ji...@apache.org> on 2021/07/23 20:33:00 UTC
[jira] [Updated] (SPARK-36277) Issue with record count of data
frame while reading in DropMalformed mode
[ https://issues.apache.org/jira/browse/SPARK-36277?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
anju updated SPARK-36277:
-------------------------
Summary: Issue with record count of data frame while reading in DropMalformed mode (was: Issue record count of data frame while reading in DropMalformed mode)
> Issue with record count of data frame while reading in DropMalformed mode
> -------------------------------------------------------------------------
>
> Key: SPARK-36277
> URL: https://issues.apache.org/jira/browse/SPARK-36277
> Project: Spark
> Issue Type: Bug
> Components: PySpark
> Affects Versions: 2.4.3
> Reporter: anju
> Priority: Major
>
> I am trying to read the two dataframes from one file using with/without predefined schema. Issue is when i read a DF with a predefined schema and with mode as "dropmalformed", the record count in df is not dropping the records. The record count is same as actual file where i am expecting less record count,as there are few malformed records . But when i try to select and display the records in df ,it is not showing malformed records. So display is correct.
> !image-2021-07-23-16-31-46-172.png!
--
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