Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-12722

[R] Raise error when attemping to print table with duplicated naming

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 5.0.0
    • R

    Description

      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

       

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

      Attachments

        Issue Links

          Activity

            People

              thisisnic Nicola Crane
              thisisnic Nicola Crane
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1.5h
                  1.5h