[ https://issues.apache.org/jira/browse/ARROW-11520?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17332357#comment-17332357 ]
Andrew Lamb commented on ARROW-11520: ------------------------------------- Migrated to github: https://github.com/apache/arrow-datafusion/issues/159 > [Rust][DataFusion] TPC-H Query 2 > -------------------------------- > > Key: ARROW-11520 > URL: https://issues.apache.org/jira/browse/ARROW-11520 > Project: Apache Arrow > Issue Type: Sub-task > Components: Rust - DataFusion > Reporter: Daniƫl Heres > Priority: Major > > {{Missing subquery support.}} > {{Full error:}} > {{Error: NotImplemented("Unsupported ast node Subquery(Query \{ with: None, > body: Select(Select { distinct: false, top: None, projection: > [UnnamedExpr(Function(Function { name: ObjectName([Ident { value: \"min\", > quote_style: None }]), args: [Unnamed(Identifier(Ident \{ value: > \"ps_supplycost\", quote_style: None }))], over: None, distinct: false }))], > from: [TableWithJoins \{ relation: Table { name: ObjectName([Ident { value: > \"partsupp\", quote_style: None }]), alias: None, args: [], with_hints: [] }, > joins: [] }, TableWithJoins \{ relation: Table { name: ObjectName([Ident { > value: \"supplier\", quote_style: None }]), alias: None, args: [], > with_hints: [] }, joins: [] }, TableWithJoins \{ relation: Table { name: > ObjectName([Ident { value: \"nation\", quote_style: None }]), alias: None, > args: [], with_hints: [] }, joins: [] }, TableWithJoins \{ relation: Table { > name: ObjectName([Ident { value: \"region\", quote_style: None }]), alias: > None, args: [], with_hints: [] }, joins: [] }], selection: Some(BinaryOp \{ > left: BinaryOp { left: BinaryOp { left: BinaryOp { left: BinaryOp { left: > Identifier(Ident { value: \"p_partkey\", quote_style: None }), op: Eq, right: > Identifier(Ident \{ value: \"ps_partkey\", quote_style: None }) }, op: And, > right: BinaryOp \{ left: Identifier(Ident { value: \"s_suppkey\", > quote_style: None }), op: Eq, right: Identifier(Ident \{ value: > \"ps_suppkey\", quote_style: None }) } }, op: And, right: BinaryOp \{ left: > Identifier(Ident { value: \"s_nationkey\", quote_style: None }), op: Eq, > right: Identifier(Ident \{ value: \"n_nationkey\", quote_style: None }) } }, > op: And, right: BinaryOp \{ left: Identifier(Ident { value: \"n_regionkey\", > quote_style: None }), op: Eq, right: Identifier(Ident \{ value: > \"r_regionkey\", quote_style: None }) } }, op: And, right: BinaryOp \{ left: > Identifier(Ident { value: \"r_name\", quote_style: None }), op: Eq, right: > Value(SingleQuotedString(\"EUROPE\")) } }), group_by: [], having: None }), > order_by: [], limit: None, offset: None, fetch: None }) in sqltorel")}} -- This message was sent by Atlassian Jira (v8.3.4#803005)