From 1a304f09e524f3d52145876a21af1c7f7be54135 Mon Sep 17 00:00:00 2001 From: Agisilaos Kounelis Date: Tue, 14 Jan 2025 17:51:45 +0200 Subject: [PATCH 1/2] Add commits to vacuum modes --- tiledb/highlevel.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tiledb/highlevel.py b/tiledb/highlevel.py index e9727a010b..5aeac3c5f0 100644 --- a/tiledb/highlevel.py +++ b/tiledb/highlevel.py @@ -283,10 +283,10 @@ def vacuum(uri, config=None, ctx=None, timestamp=None): :raises TypeError: cannot convert `uri` to unicode string :raises: :py:exc:`tiledb.TileDBError` - This operation of this function is controlled by - the `"sm.vacuum.mode"` parameter, which accepts the values ``fragments``, - ``fragment_meta``, and ``array_meta``. Rather than passing the timestamp - into this function, it may be set by using `"sm.vacuum.timestamp_start"`and + This operation of this function is controlled by the `"sm.vacuum.mode"` + parameter, which accepts the values ``fragments``, ``fragment_meta``, + ``array_meta``, and ``commits``. Rather than passing thetimestamp into + this function, it may be set by using `"sm.vacuum.timestamp_start"`and `"sm.vacuum.timestamp_end"` which takes in a time in UNIX seconds. If both are set then this function's `timestamp` argument will be used. From ceaa3aab1544fe2313d8f49407c655f2c76f59c7 Mon Sep 17 00:00:00 2001 From: Agisilaos Kounelis <36283973+kounelisagis@users.noreply.github.com> Date: Wed, 22 Jan 2025 19:07:05 +0200 Subject: [PATCH 2/2] nit Co-authored-by: Isaiah Norton --- tiledb/highlevel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tiledb/highlevel.py b/tiledb/highlevel.py index 5aeac3c5f0..1986fe1796 100644 --- a/tiledb/highlevel.py +++ b/tiledb/highlevel.py @@ -285,7 +285,7 @@ def vacuum(uri, config=None, ctx=None, timestamp=None): This operation of this function is controlled by the `"sm.vacuum.mode"` parameter, which accepts the values ``fragments``, ``fragment_meta``, - ``array_meta``, and ``commits``. Rather than passing thetimestamp into + ``array_meta``, and ``commits``. Rather than passing the timestamp into this function, it may be set by using `"sm.vacuum.timestamp_start"`and `"sm.vacuum.timestamp_end"` which takes in a time in UNIX seconds. If both are set then this function's `timestamp` argument will be used.