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

L. C. Hsieh resolved SPARK-35861.
---------------------------------
    Fix Version/s: 3.2.0
       Resolution: Fixed

Issue resolved by pull request 33038
[https://github.com/apache/spark/pull/33038]

> 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
>             Fix For: 3.2.0
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to