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
Convert SqlToRel::statement_to_pan to take ownership rather than references. #1469
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
While working on some other code, I noticed that SqlToRel::statement_to_plan takes a reference to the parse tree -- this results in having to clone() many values (identifiers, etc) while converting a parsed SQL query to a LogicalPlan
The only callsite I could find throws away the parsed query immediately; Doing this would likely save lots of cloning internal to SqlToRel
Activity
xudong963 commentedon Dec 21, 2021
@alamb good catch!
Here I give a specific example to omit clone
to
BTW, I think it's better to add a
good first issuedoki23 commentedon Feb 28, 2022
I wanna take this issue, can I? @alamb
alamb commentedon Feb 28, 2022
Please do @doki23 !
docs: Improve documentation for running stability plan tests (apache#…
deprecate: mark Statistics V2 framework (PR apache#14699) as deprecat…
deprecate: mark Statistics V2 framework (PR apache#14699) as deprecat…