Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public static Filter make(Schema schema, Condition condition, boolean optimize)
* @param configurationId Custom configuration created through config builder.
* @return A native evaluator object that can be used to invoke these projections on a RecordBatch
*/
public static Filter make(Schema schema, Condition condition, long configurationId)
public static synchronized Filter make(Schema schema, Condition condition, long configurationId)
throws GandivaException {
// Invoke the JNI layer to create the LLVM module representing the filter.
GandivaTypes.Condition conditionBuf = condition.toProtobuf();
Expand Down Expand Up @@ -158,7 +158,7 @@ public void evaluate(int numRows, List<ArrowBuf> buffers, SelectionVector select
evaluate(numRows, buffers, buffersLayout, selectionVector);
}

private void evaluate(
private synchronized void evaluate(
int numRows,
List<ArrowBuf> buffers,
List<ArrowBuffer> buffersLayout,
Expand Down
Loading