[
https://issues.apache.org/jira/browse/ARROW-17770?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Antoine Pitrou resolved ARROW-17770.
------------------------------------
Resolution: Fixed
Issue resolved by pull request 14165
[https://github.com/apache/arrow/pull/14165]
> [C++][Gandiva] Fix const correctness of Gandiva projector Evaluate
> ------------------------------------------------------------------
>
> Key: ARROW-17770
> URL: https://issues.apache.org/jira/browse/ARROW-17770
> Project: Apache Arrow
> Issue Type: Bug
> Components: C++ - Gandiva
> Affects Versions: 9.0.0
> Reporter: Jin Shang
> Assignee: Jin Shang
> Priority: Minor
> Labels: pull-request-available
> Fix For: 10.0.0
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> I was trying to figure out the thread-safeness of Gandiva projector
> evaluation, i.e., whether I can use a single Projector to evaluate multiple
> inputs concurrently. I assumed it isn't safe because the Evaluate function is
> not marked const. However, as far as I understand, the Evaluate function
> merely executes a compiled function on the input, which doesn't modify a
> project's internal states and should be const.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)