Skip to content

Creating Delete Vectors using Java API or Spark #11968

@piyushdubey

Description

@piyushdubey

Query engine

Spark

Question

Q1 - Is it possible to create Deletion Vectors in Apache Iceberg? Is a Deletion Vector file generated for a specific Deletion type Positional vs Equality?

Q2 - Looking for pointers on creating Delete Vectors in Apache Iceberg using Spark or the Java API. So far I have tried creating a table using Spark and inserting a few rows and deleting a few. With "write.delete.vector.enabled" set to true for the table. The hope is that it will generate Deletion Vector(s). Am I missing any steps here?

Here's the code snippet - https://github.com/piyushdubey/dataformats/blob/main/src/main/java/net/piyushdubey/data/IcebergTableOperations.java

Appreciate any pointers on this!

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions