You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@arrow.apache.org by "Francois Saint-Jacques (Jira)" <ji...@apache.org> on 2020/02/10 16:36:00 UTC
[jira] [Created] (ARROW-7821) [Gandiva] Add support for literal
variables
Francois Saint-Jacques created ARROW-7821:
---------------------------------------------
Summary: [Gandiva] Add support for literal variables
Key: ARROW-7821
URL: https://issues.apache.org/jira/browse/ARROW-7821
Project: Apache Arrow
Issue Type: Sub-task
Components: C++ - Gandiva
Reporter: Francois Saint-Jacques
Fix For: 1.0.0
Gandiva supports static literal constants, but doesn't support runtime literal constants (or simply, variables). This means that queries like `x > 1` and `x > 2` are compiled in separate operators. The goal would be to provide something like prepared statement for very simple expression, e.g. ` x > ?`. This way we can pre-generate operators for most basic comparison filters on every type.
I'm thinking that the variables should be stashed in the context pointer as opposed to a new function parameter. This would minimise the implementation impact.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)