You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Jungtaek Lim (Jira)" <ji...@apache.org> on 2024/04/07 20:50:00 UTC

[jira] [Resolved] (SPARK-47744) Add support for negative byte types in RocksDB range scan encoder

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

Jungtaek Lim resolved SPARK-47744.
----------------------------------
    Fix Version/s: 4.0.0
       Resolution: Fixed

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

> Add support for negative byte types in RocksDB range scan encoder
> -----------------------------------------------------------------
>
>                 Key: SPARK-47744
>                 URL: https://issues.apache.org/jira/browse/SPARK-47744
>             Project: Spark
>          Issue Type: Bug
>          Components: Structured Streaming
>    Affects Versions: 4.0.0
>            Reporter: Neil Ramaswamy
>            Assignee: Neil Ramaswamy
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.0.0
>
>
> SPARK-47372 introduced the ability for the RocksDB state provider to big-endian encode values so that they could be range scanned. However, signed support for Byte types [was missed|https://github.com/apache/spark/blob/1efbf43160aa4e36710a4668f05fe61534f49648/sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/state/RocksDBStateEncoder.scala#L326], even though Scala Bytes are [signed|https://www.scala-lang.org/api/2.13.5/scala/Byte.html].



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

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