You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "L. C. Hsieh (Jira)" <ji...@apache.org> on 2021/07/12 16:08:00 UTC

[jira] [Assigned] (SPARK-35861) Introduce "prefix match scan" feature on state store

     [ https://issues.apache.org/jira/browse/SPARK-35861?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

L. C. Hsieh reassigned SPARK-35861:
-----------------------------------

    Assignee: Jungtaek Lim

> Introduce "prefix match scan" feature on state store
> ----------------------------------------------------
>
>                 Key: SPARK-35861
>                 URL: https://issues.apache.org/jira/browse/SPARK-35861
>             Project: Spark
>          Issue Type: Sub-task
>          Components: Structured Streaming
>    Affects Versions: 3.2.0
>            Reporter: Jungtaek Lim
>            Assignee: Jungtaek Lim
>            Priority: Major
>
> We are proposing the new functionality in Structured Streaming’s state store, “prefix match scan”, to group the keys into logical groups, and scan the keys in the same group efficiently.
> This change is to enable us to construct the “logically list-like” data structure on top of the current state store, which only provides the operations for key-value. There’s an iterator in the state store to scan through the key space, but only supports full scan. Prefix match scan would open the possibility to scan on a specific range of the keys efficiently.
> This helps to simplify the state and also logic to the streaming session window, and also achieve similar performance (or even higher) than the approach we proposed before.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org