uros-b commented on code in PR #58228:
URL: https://github.com/apache/spark/pull/58228#discussion_r3839667935
##########
sql/core/src/main/scala/org/apache/spark/sql/execution/columnar/compression/CompressionScheme.scala:
##########
@@ -45,6 +45,13 @@ private[columnar] trait Decoder[T <: PhysicalDataType] {
def hasNext: Boolean
def decompress(columnVector: WritableColumnVector, capacity: Int): Unit
+
+ /** Duplicates `buffer` in native byte order and rewinds it, for reading
null state. */
+ protected def createNullsBuffer(buffer: ByteBuffer): ByteBuffer = {
Review Comment:
Done, thank you!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]