Clears a table's partitioning keys so newly written data files are no longer split along them. Existing files are unaffected.
See also
set_table_partitioning(), get_table_partitions()
Other partitioning:
get_table_partitions(),
set_table_partitioning()
Examples
lake_dir <- tempfile("unpart_lake_")
dir.create(lake_dir)
attach_ducklake("unpart_lake", lake_path = lake_dir)
create_table(mtcars, "cars")
set_table_partitioning("cars", "cyl")
#> Table "cars" is now partitioned by "cyl".
#> ℹ Only newly written data is partitioned; existing files keep their layout.
reset_table_partitioning("cars")
#> Partitioning removed from table "cars".
detach_ducklake("unpart_lake", shutdown = TRUE)
unlink(lake_dir, recursive = TRUE)
