You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Paquet and JSON readers use Arc<Expression> to avoid deep copies (#364)
Today, the engine parquet/json file handler APIs take an `Expression`
arg for predicate pushdown. They cannot take a reference, because the
iterator they return will likely depend on (but outlive) that reference.
Worse, they need to do it for every file the query reads. Unfortunately,
data skipping predicates can be arbitrarily large, and thus
annoying/expensive to copy so much. We already use Arc to protect
schemas (some of the time, at least), and we can start using Arc to
protect expressions as well.
0 commit comments