Skip to content

adding new Query Condition constructor that replaces Class with tiledb.Datatype #300

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

DimitrisStaratzis
Copy link
Contributor

@DimitrisStaratzis DimitrisStaratzis commented Jul 5, 2023

API improvement. Previous implementation could lead user to not be able to fully control the datatype in the Query Condition as they would pass a Class object which was then internally translated to a TileDB datatype. This unnecessary middle step is now removed.

Tests have also been modified to use the new constructor.

Copy link
Member

@ihnorton ihnorton left a comment

Choose a reason for hiding this comment

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

We need to deprecate the old signature if possible, so that this is not a breaking change.

@DimitrisStaratzis DimitrisStaratzis force-pushed the dstara/change_qc_constructor_datatype_param branch from a8b6e5c to db0ddd1 Compare July 5, 2023 15:48
@DimitrisStaratzis DimitrisStaratzis changed the title replace Class with tiledb.Datatype in Query Condition constructor adding new Query Condition constructor that replaces Class with tiledb.Datatype Jul 5, 2023
@DimitrisStaratzis DimitrisStaratzis changed the title adding new Query Condition constructor that replaces Class with tiledb.Datatype adding new Query Condition constructor that replaces Class with tiledb.Datatype Jul 5, 2023
@DimitrisStaratzis DimitrisStaratzis force-pushed the dstara/change_qc_constructor_datatype_param branch from db0ddd1 to ed67b37 Compare July 6, 2023 10:06
Copy link
Member

@ihnorton ihnorton 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 the updates.

@DimitrisStaratzis DimitrisStaratzis merged commit 31df47b into master Jul 6, 2023
@DimitrisStaratzis DimitrisStaratzis deleted the dstara/change_qc_constructor_datatype_param branch July 6, 2023 12:28
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.

2 participants