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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to