[
https://issues.apache.org/jira/browse/SPARK-24311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16479728#comment-16479728
]
Apache Spark commented on SPARK-24311:
--------------------------------------
User 'HeartSaVioR' has created a pull request for this issue:
https://github.com/apache/spark/pull/21357
> Refactor HDFSBackedStateStoreProvider to remove duplicated logic between
> operations on delta file and snapshot file
> -------------------------------------------------------------------------------------------------------------------
>
> Key: SPARK-24311
> URL: https://issues.apache.org/jira/browse/SPARK-24311
> Project: Spark
> Issue Type: Improvement
> Components: Structured Streaming
> Affects Versions: 2.3.0
> Reporter: Jungtaek Lim
> Priority: Major
>
> The structure of delta file and snapshot file is same, but the operations are
> defined as individual methods which incurs duplicated logic between logic for
> delta file and logic for snapshot file.
> We can refactor to remove duplicated logic to ensure readability, as well as
> guaranteeing that the structure of delta file and snapshot file keeps same.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]