Github user zsxwing commented on a diff in the pull request:

    https://github.com/apache/spark/pull/12435#discussion_r60328072
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/StreamFileCatalog.scala
 ---
    @@ -54,6 +54,6 @@ class StreamFileCatalog(sqlContext: SQLContext, path: 
Path) extends FileCatalog
       override def refresh(): Unit = {}
     
       override def allFiles(): Seq[FileStatus] = {
    -    fs.listStatus(metadataLog.get(None, None).flatMap(_._2).map(new 
Path(_)))
    +    fs.listStatus(metadataLog.allFiles().map(f => new Path(f.path)))
    --- End diff --
    
    Added fields except the following ones:
    
    - FsPermission permission
    - String owner
    - String group
    - long access_time


---
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]

Reply via email to