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

[R] Better error handling for write_to_raw

    XMLWordPrintableJSON

Details

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

    Description

      When I run this:

      mt_array <- Array$create(mtcars)
      write_to_raw(mt_array)

      I get this error:

       Error: schema must be a "Schema" 

      We should add a manual check of the type of the input that returns a more informative error message if the object is not a data.frame, RecordBatch or Table

      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 - 2.5h
                  2.5h