Skip to content

Conversation

@tdenniston
Copy link
Contributor

No description provided.

* @throws TileDBError A TileDB exception
*/
public Query addRange(int dimIdx, Object start, Object end) throws TileDBError {
Datatype dimType = array.getSchema().getDomain().getType();
Copy link
Contributor

Choose a reason for hiding this comment

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

you need to wrap these in a try block as well

try (Schema schema = array.getSchema(); Domain = schema.getDomain()) {}`

* @throws TileDBError A TileDB exception
*/
public Pair<Object, Object> getRange(int dimIdx, long rangeIdx) throws TileDBError {
Datatype dimType = array.getSchema().getDomain().getType();
Copy link
Contributor

Choose a reason for hiding this comment

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

Same here

@tdenniston tdenniston force-pushed the tylerdenniston/ch434/bind-multi-range-queries branch from e9a8883 to b7b1b3f Compare August 22, 2019 17:18
@tdenniston
Copy link
Contributor Author

Thanks @jakebolewski ! Fixed those two issues

@jakebolewski
Copy link
Contributor

LGTM

@tdenniston tdenniston force-pushed the tylerdenniston/ch434/bind-multi-range-queries branch from b7b1b3f to b7958c8 Compare August 22, 2019 17:56
Copy link
Member

@Shelnutt2 Shelnutt2 left a comment

Choose a reason for hiding this comment

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

lgtm

@tdenniston tdenniston merged commit 3b57f18 into master Aug 22, 2019
@tdenniston tdenniston deleted the tylerdenniston/ch434/bind-multi-range-queries branch August 22, 2019 18:54
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.

4 participants