[jira] [Updated] (SPARK-42359) Support row skipping when reading CSV files

2023-10-17 Thread ASF GitHub Bot (Jira)


 [ 
https://issues.apache.org/jira/browse/SPARK-42359?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated SPARK-42359:
---
Labels: pull-request-available  (was: )

> Support row skipping when reading CSV files
> ---
>
> Key: SPARK-42359
> URL: https://issues.apache.org/jira/browse/SPARK-42359
> Project: Spark
>  Issue Type: Improvement
>  Components: SQL
>Affects Versions: 3.3.1
>Reporter: Willi Raschkowski
>Priority: Major
>  Labels: pull-request-available
> Attachments: Screenshot 2023-02-06 at 13.23.34.png
>
>
> Spark currently can't read CSV files that contain lines with comments or 
> annotations above the header and data. Work-arounds include pre-processing 
> CSVs, or using RDDs and something like {{zipWithIndex}}. But all of these 
> increase friction for less technical users.
> This issue proposes a {{skipLines}} option for Spark's CSV parser to drop a 
> number of unwanted lines at the top of a CSV file.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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



[jira] [Updated] (SPARK-42359) Support row skipping when reading CSV files

2023-02-06 Thread Willi Raschkowski (Jira)


 [ 
https://issues.apache.org/jira/browse/SPARK-42359?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Willi Raschkowski updated SPARK-42359:
--
Attachment: Screenshot 2023-02-06 at 13.23.34.png

> Support row skipping when reading CSV files
> ---
>
> Key: SPARK-42359
> URL: https://issues.apache.org/jira/browse/SPARK-42359
> Project: Spark
>  Issue Type: Improvement
>  Components: SQL
>Affects Versions: 3.3.1
>Reporter: Willi Raschkowski
>Priority: Major
> Attachments: Screenshot 2023-02-06 at 13.23.34.png
>
>
> Spark currently can't read CSV files that contain lines with comments or 
> annotations above the header and data. Work-arounds include pre-processing 
> CSVs, or using RDDs and something like {{zipWithIndex}}. But all of these 
> increase friction for less technical users.
> This issue proposes a {{skipLines}} option for Spark's CSV parser to drop a 
> number of unwanted lines at the top of a CSV file.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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