Skip to content

[C++][Gandiva] default cache size is incorrect and too small #40040

@niyue

Description

@niyue

Describe the bug, including details regarding any error messages, version, and platform.

The default cache size of Gandiva is 500 by default, and this value was set for LLVM module based cache (which took larger memory size) and is too small for the current object code cache.

This part was changed several times, and the history is like this:

  1. https://issues.apache.org/jira/browse/ARROW-15514, Add flag to enable Gandiva Object Code
  1. https://issues.apache.org/jira/browse/ARROW-15648, Fix the size of the Gandiva cache
  1. https://issues.apache.org/jira/browse/ARROW-16055, Fix the performance hit in queries when enabling object code cache in gandiva

Component(s)

C++ - Gandiva

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions