lriggs commented on issue #601: URL: https://github.com/apache/arrow-java/issues/601#issuecomment-2652399104
``` diff --git a/java/gandiva/src/main/java/org/apache/arrow/gandiva/evaluator/Projector.java b/java/gandiva/src/main/java/org/apache/arrow/gandiva/evaluator/Projector.java index 951cebc88e..a67d20db6b 100644 --- a/java/gandiva/src/main/java/org/apache/arrow/gandiva/evaluator/Projector.java +++ b/java/gandiva/src/main/java/org/apache/arrow/gandiva/evaluator/Projector.java @@ -187,7 +187,7 @@ public class Projector { * @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 Projector make( + public static synchronized Projector make( Schema schema, List<ExpressionTree> exprs, SelectionVectorType selectionVectorType, @@ -313,7 +313,7 @@ public class Projector { outColumns); } - private void evaluate( + private synchronized void evaluate( int numRows, List<ArrowBuf> buffers, List<ArrowBuffer> buffersLayout, ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org