You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "R J (Jira)" <ji...@apache.org> on 2021/02/18 11:20:00 UTC

[jira] [Commented] (ARROW-11432) [Rust][DataFusion] Join Statement: Schema contains duplicate unqualified field name

    [ https://issues.apache.org/jira/browse/ARROW-11432?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17286419#comment-17286419 ] 

R J commented on ARROW-11432:
-----------------------------

When building a schema using `datafusion::logical_plan::plan::LogicalPlan::schema()` the returned schema lacks a table qualifier. I think when building the TableScan, it allocates a table_name, but the returned`datafusion::logical_plan::dfschema::DFField`'s have no reference to the provided table name. Attempting to join the schemas (in `datafusion::logical_plan::dfschema::DFSchema::new`) then results in a list of fields with conflicting names as they lack qualifiers.

I am new to DataFusion but would be happy to add some unit tests and try to look at this on the weekend.

> [Rust][DataFusion] Join Statement: Schema contains duplicate unqualified field name
> -----------------------------------------------------------------------------------
>
>                 Key: ARROW-11432
>                 URL: https://issues.apache.org/jira/browse/ARROW-11432
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Rust - DataFusion
>    Affects Versions: 3.0.0
>            Reporter: GANG LIAO
>            Priority: Critical
>
> https://github.com/apache/arrow/issues/9307



--
This message was sent by Atlassian Jira
(v8.3.4#803005)