Github user HyukjinKwon commented on the issue:
https://github.com/apache/spark/pull/14638
Up to my knowledge, currently, CSV datasource does supports to skip a
(only) single line with `header` option and also `comment` option to skip the
lines started with the character given to `comment` whereas
`skip.header.line.count` suggested here literally supports to skip multiple
lines.
So, strictly they are not exactly duplicates but I believe it is true some
ranges that `skip.header.line.count` supports can be worked around with the
options, `header` and `comment` as explained by @dongjoon-hyun and @cloud-fan.
If we admit skipping a single line (or skipping lines started with
`comment`) is a common case and enough to cover this feature, that would not be
a big inconvenience but if users believe it is still useful to skip multiple
lines, we would still need this.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]