You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Nic Crane (Jira)" <ji...@apache.org> on 2021/05/10 17:29:00 UTC

[jira] [Created] (ARROW-12722) [R] Raise error when attemping to create table with duplicated naming

Nic Crane created ARROW-12722:
---------------------------------

             Summary: [R] Raise error when attemping to create table with duplicated naming
                 Key: ARROW-12722
                 URL: https://issues.apache.org/jira/browse/ARROW-12722
             Project: Apache Arrow
          Issue Type: Improvement
            Reporter: Nic Crane


It is currently possible to create a table (and possibly RecordBatch) with duplicated column names, which leads to later issues when trying to analyse the data - see the below example.

An appropriate error should be raised instead of letting duplicate names to be used

 
{code:java}
> Table$create(iris, iris) %>% filter(Species == "versicolor")
Error in schm$GetFieldByName(name)$ToString() : attempt to apply non-function
{code}



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