Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-17770

[C++][Gandiva] Fix const correctness of Gandiva projector Evaluate

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              jinshang Jin Shang
              jinshang Jin Shang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 20m
                  1h 20m