You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "kosiew (via GitHub)" <gi...@apache.org> on 2024/11/15 11:01:04 UTC
Re: [I] follwing sql reports `Error during planning: Unsupported operator in the subquery plan.` [datafusion-python]
kosiew commented on issue #850:
URL: https://github.com/apache/datafusion-python/issues/850#issuecomment-2478565228
Did some digging and `Error during planning: Unsupported operator in the subquery plan.
` could be due to
`select *,min_height*width1 from t where min_height*width1 = (select max(min_height*width1)from t);`
Here is the logical plan excerpt:
Filter { predicate: BinaryExpr {
left: BinaryExpr {
left: BinaryExpr {
left: Column(Column { relation: Some(Bare { table: "t" }), name: "min_height" }),
op: Multiply,
right: Column(Column { relation: Some(Bare { table: "t" }), name: "width1" })
},
op: Eq,
right: ScalarSubquery(<subquery>)
}
}}
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org