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
{{ message }}
Repository navigation
Support parameter ($1) type inference for LIKE predicates #5617
However, today DataFusion will not create the LogicalPlan at all (it will error because it cant infer the type of $1 and that type is needed for the rest of the analysis)
Activity
alamb commentedon Mar 15, 2023
I found a workaround that works for https://github.com/influxdata/influxdb_iox/pull/7213
Weijun-H commentedon Mar 16, 2023
What is the outcome of the SQL query
SELECT ... WHERE col LIKE $1? 🤔alamb commentedon Mar 17, 2023
It is a
LogicalPlanwithExpr::Placeholderentries. It will error during physical planning if the parameters are not supplied with https://docs.rs/datafusion/20.0.0/datafusion/dataframe/struct.DataFrame.html#method.with_param_valuesHowever, today DataFusion will not create the LogicalPlan at all (it will error because it cant infer the type of
$1and that type is needed for the rest of the analysis)