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

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

Neil Ramaswamy created SPARK-47744:
--------------------------------------

             Summary: 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


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