Github user maropu commented on a diff in the pull request:
https://github.com/apache/spark/pull/11461#discussion_r57661684
--- Diff:
sql/core/src/main/scala/org/apache/spark/sql/execution/columnar/compression/compressionSchemes.scala
---
@@ -530,3 +532,283 @@ private[columnar] case object LongDelta extends
CompressionScheme {
}
}
}
+
+/**
+ * Writes integral-type values with delta encoding and binary packing.
+ * The format is as follows:
--- End diff --
I just used the parquet spec./impl. as a reference; some parts of the
impl. are modified to easily compute compression size in
`gatherCompressibilityStats`.
https://github.com/Parquet/parquet-mr/blob/master/parquet-column/src/main/java/parquet/column/values/delta/DeltaBinaryPackingValuesWriter.java#L39
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]