You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iceberg.apache.org by ao...@apache.org on 2022/08/12 15:30:36 UTC

[iceberg] branch master updated (5a15efc070 -> 6a5051b25d)

This is an automated email from the ASF dual-hosted git repository.

aokolnychyi pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/iceberg.git


    from 5a15efc070 Core, API: Performing operations on a snapshot branch ref (#4926)
     add 6a5051b25d Spark 3.3: Support truncate in FunctionCatalog (#5431)

No new revisions were added by this update.

Summary of changes:
 .../org/apache/iceberg/transforms/Truncate.java    |  21 +-
 .../java/org/apache/iceberg/util/BinaryUtil.java   |  14 +
 .../java/org/apache/iceberg/util/TruncateUtil.java |  75 ++++
 .../org/apache/iceberg/util/TestTruncateUtil.java  |  25 +-
 .../iceberg/spark/functions/SparkFunctions.java    |   4 +-
 .../iceberg/spark/functions/TruncateFunction.java  | 356 ++++++++++++++++
 .../spark/sql/TestSparkTruncateFunction.java       | 470 +++++++++++++++++++++
 7 files changed, 935 insertions(+), 30 deletions(-)
 create mode 100644 api/src/main/java/org/apache/iceberg/util/TruncateUtil.java
 copy api/src/main/java/org/apache/iceberg/util/NaNUtil.java => core/src/test/java/org/apache/iceberg/util/TestTruncateUtil.java (62%)
 create mode 100644 spark/v3.3/spark/src/main/java/org/apache/iceberg/spark/functions/TruncateFunction.java
 create mode 100644 spark/v3.3/spark/src/test/java/org/apache/iceberg/spark/sql/TestSparkTruncateFunction.java