You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Calvin Qin (Jira)" <ji...@apache.org> on 2026/06/09 21:19:00 UTC
[jira] [Commented] (SPARK-57354) Add data source option to list hidden files
[ https://issues.apache.org/jira/browse/SPARK-57354?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18087761#comment-18087761 ]
Calvin Qin commented on SPARK-57354:
------------------------------------
https://github.com/apache/spark/pull/56374
> Add data source option to list hidden files
> -------------------------------------------
>
> Key: SPARK-57354
> URL: https://issues.apache.org/jira/browse/SPARK-57354
> Project: Spark
> Issue Type: New Feature
> Components: Spark Core
> Affects Versions: 4.2.0
> Reporter: Calvin Qin
> Priority: Major
>
> Spark's file-based data sources skip hidden files and directories (names who start with `_` or `.` (and files ending in `._COPYING_`) during file listing and partition discovery. This filter is always on, with no way to override it.
> This adds a way to opt out of the filter, with a per-read data source option `listHiddenFiles` and a session config `spark.sql.files.listHiddenFiles` (default false)
> When true, hidden files and directories are listed. False maintains default behavior. The per-read option takes precedent over the session config.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org