gagan taneja created SPARK-46359:
------------------------------------

             Summary: add optional batch id to sink file status 
                 Key: SPARK-46359
                 URL: https://issues.apache.org/jira/browse/SPARK-46359
             Project: Spark
          Issue Type: Improvement
          Components: Structured Streaming
    Affects Versions: 3.5.0
            Reporter: gagan taneja


Currently FileStreamSinkLog use SinkFileStatus class for serialization purpose 
but it does preserve batch id which can be used effectively for snapshots

Change the definition to 

{code}

case class SinkFileStatus (path : String, size : Long, isDir : Boolean, 
modificationTime : Long, blockReplication: Int, blockSize: Long, action : 
String, bactchId : Option[Long])

{code} 



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to