-
Notifications
You must be signed in to change notification settings - Fork 5
NULL support bindings #202
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
Conversation
a69c219 to
c34a1a9
Compare
|
@gsvic I will take a look at this once the core PR is merged, hopefully next week. |
dae5d6e to
0e8cc06
Compare
joe-maley
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, two minor comments:
gradle.properties
Outdated
| @@ -1,5 +1,5 @@ | |||
| TILEDB_GIT_REPOSITORY=https://github.com/TileDB-Inc/TileDB | |||
| TILEDB_GIT_TAG=2.1.2 | |||
| TILEDB_GIT_TAG=dev | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we wait until we release 2.2 with null support?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I agree. I changed the tag to dev just for the CI. So let's wait for the 2.2 release.
| public void testAttributeSetNullable() throws Exception { | ||
| try (Context ctx = new Context(); | ||
| Attribute a = new Attribute(ctx, "a2", Datatype.TILEDB_FLOAT32)) { | ||
| a.setNullable((short) 0); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there appears to be an indentation issue here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that this is ok. If you look at it, the Attribute a = .. is inside the try parentheses (try (Context ctx = ... Attribute a = ...) similarly to an if () {} block. So that's why the a.setNullable (line 116) is positioned two tabs (\t) after the try (line 114).
What do you think?
c8efcd6 to
49286a6
Compare
49286a6 to
2eba444
Compare
9e4359e to
2297da8
Compare
| } | ||
| } | ||
|
|
||
| public int setNullable(short nullable) throws TileDBError { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be a bool?
No description provided.