Skip to content

Conversation

@VHenrik007
Copy link
Contributor

While ImmuDB supports FLOAT types in data tables when working with SQL, the Python SDK had missing implementations for this. For more detail see issue issue #76

While ImmuDB supports `FLOAT` types in data tables when working with
SQL, the Python SDK had missing implementations for this. For more
detail see issue issue-76.

Signed-off-by: Henrik <[email protected]>
@ostafen
Copy link
Contributor

ostafen commented Feb 16, 2025

Hey, @VHenrik007, thank you for your fix.

Just to make sure we cover the new lines of code, could you please add an SDK test which queries a column of type float?

@VHenrik007
Copy link
Contributor Author

Hi @ostafen !
That's totally fair, my bad! I'm running into some grpc import errors currently when running the tests, but will push one as soon as I can.

A simpler and a more comprehensive test covering the insertion,
querying, aggregation and filtering features for floating point numbers
using SQL.
Float got introduced in immudb version 1.5.0:
https://github.com/codenotary/immudb/blob/v1.5.0/CHANGELOG.md#features

Currently tests run on older versions as well, so this version check is
added as seen in `test_sql_verify.py` for example, where it was handled
simply by returning.
@ostafen ostafen merged commit 28ba321 into codenotary:master Feb 17, 2025
1 check passed
@ostafen
Copy link
Contributor

ostafen commented Feb 17, 2025

Thank you, @VHenrik007, we appreciate your contribution!

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.

3 participants