Skip to content

Conversation

@cgiachalis
Copy link
Contributor

This PR addresses #840 by setting the timestamp slots for tiledb_array_open_at() to <origin, timestamp> so as the method [ can read up to timestamp point of time instead of picking whatever is stored internally.

In addition, no unit tests for tiledb_array_open_at() were found so I added some.

closes #840

@cgiachalis cgiachalis changed the title Reset timestamp slots for 'tiledb_array_open_at()' Reset timestamp slots for tiledb_array_open_at() Sep 10, 2025
@cgiachalis
Copy link
Contributor Author

Note that #839 was not addressed in this PR as decisions should be made if you want reset other slots as well e.g., selected_points or selected_ranges. For those we have setter and getter methods to change after you close an array but have no methods for timestamps.

I am planning to open a GitHub Issue for having a timestamp setter and getter for modifying timestamps slots.

@cgiachalis cgiachalis force-pushed the cg/reset-timestamps-slots branch 3 times, most recently from 9e57bf4 to 996cc36 Compare September 30, 2025 08:18
Copy link
Member

@mojaveazure mojaveazure left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for catching! Can you bump the develop version and add a changelog item to NEWS.md before we merge?

@cgiachalis cgiachalis force-pushed the cg/reset-timestamps-slots branch from 996cc36 to b20a4d1 Compare September 30, 2025 16:17
@cgiachalis
Copy link
Contributor Author

@mojaveazure We're good to go!

@mojaveazure mojaveazure merged commit e2717d9 into TileDB-Inc:main Sep 30, 2025
@mojaveazure
Copy link
Member

@cgiachalis Thank you!

@cgiachalis cgiachalis deleted the cg/reset-timestamps-slots branch September 30, 2025 16:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

tiledb_array_open_at() does not set S4 timestamp slots

2 participants