@sink works with all kinds except events. The runtime exposes raw DuckLake change_type values (insert, update_preimage, update_postimage, delete) to your push function via __ondatra_change_type. Your Starlark code decides how to handle each change type.
Storage and Performance
Directive
What it does
@partitioned_by
File partitioning. Supports column names and transforms: year(col), month(col), day(col), hour(col), bucket(N, col). Applied on new writes.
@sorted_by
Sorted table hint. Improves query performance via min/max statistics. Applied during compaction (ondatrasql merge).