-
Notifications
You must be signed in to change notification settings - Fork 2
Update to Trino-411 #90
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -441,7 +441,6 @@ private int getClampedBufferSize(int numElements, int elementBytes) | |
* Build the ranges for a query based on the split | ||
* | ||
* @param split the split to build the subArray based off of | ||
* @return | ||
*/ | ||
private void setRanges(TileDBSplit split) throws TileDBError | ||
{ | ||
|
@@ -542,12 +541,13 @@ else if (attBounds.getSecond() == null) { | |
|
||
/** | ||
* Returns the Query condition for the given bound. | ||
* | ||
* @param attr The attribute | ||
* @param isString True if the attribute is String | ||
* @param bound The bound | ||
* @param op TIleDB operator | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. typo There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same reason as above, parameters in java docs now need to have one empty line preceding them |
||
* @return The query Condition | ||
* @throws TileDBError | ||
* @throws TileDBError TileDBError | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why the repetition? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Trino 411 introduced more format checks, one of them is that every parameter in the java docs needs to have a description. That's why I added TileDBError |
||
*/ | ||
private QueryCondition conditionForBound(Attribute attr, boolean isString, Object bound, tiledb_query_condition_op_t op) throws TileDBError | ||
{ | ||
|
@@ -1021,6 +1021,7 @@ else if (currentNumRecords > 0) { | |
|
||
/** | ||
* Function to calculate the bytes read based on the buffer sizes | ||
* | ||
* @return byte in current buffers | ||
*/ | ||
private long calculateNativeArrayByteSizes() | ||
|
@@ -1053,7 +1054,8 @@ private long calculateNativeArrayByteSizes() | |
|
||
/** | ||
* Check if we can double the buffer, or if there is not enough memory space | ||
* @return | ||
* | ||
* @return true if buffers can be reallocated | ||
*/ | ||
private boolean canReallocBuffers() | ||
{ | ||
|
@@ -1095,7 +1097,8 @@ private void calculateAdditionalBytesRead() | |
/** | ||
* Copy buffers from NativeArray to java arrays for faster access times | ||
* Making the JNI calls in NativeArray is too slow | ||
* @throws TileDBError | ||
* | ||
* @throws TileDBError TileDBError | ||
*/ | ||
private void copyQueryBuffers() throws TileDBError | ||
{ | ||
|
@@ -1366,6 +1369,7 @@ private Pair<Long, Long> startTimer() | |
|
||
/** | ||
* Save function timing to the hashmap of times | ||
* | ||
* @param functionName Name of function being recorded | ||
* @param timer Times from record | ||
*/ | ||
|
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.
Parallel testing was creating flakiness