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
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
This is a task of #4539 to take Prepare Logical Plan and a list of values of the parameters in the plan as input and output a Logical Plan with all parameters replaced with the corresponding provided values.
Describe the solution you'd like
Implement this function:
If the plan is not a prepare plan, return itself.
If the plan is a prepare plan, recursively walk its input plan and replace all parameters ($1, $2, ...) with the corresponding param_values ($n will be replaced with param_values[n-1])
Describe alternatives you've considered
Unknown
Additional context
No
The text was updated successfully, but these errors were encountered:
NGA-TRAN
changed the title
Convert a Prepare Logical Plan into its inner's Logical Plan with all parameters replaced with values
Convert a Prepare Logical Plan into a Logical Plan with all parameters replaced with values
Dec 8, 2022
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
This is a task of #4539 to take Prepare Logical Plan and a list of values of the parameters in the plan as input and output a Logical Plan with all parameters replaced with the corresponding provided values.
Describe the solution you'd like
Implement this function:
fn execute(plan: LogicalPlan, param_values: &Vec<ScalarVal>) -> Result<LogicalPlan>
If the plan is not a prepare plan, return itself.
If the plan is a prepare plan, recursively walk its input plan and replace all parameters ($1, $2, ...) with the corresponding param_values ($n will be replaced with param_values[n-1])
Describe alternatives you've considered
Unknown
Additional context
No
The text was updated successfully, but these errors were encountered: