You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Martin du Toit (Jira)" <ji...@apache.org> on 2022/01/05 18:54:00 UTC

[jira] [Created] (ARROW-15260) [R] open_dataset - add file_name as column

Martin du Toit created ARROW-15260:
--------------------------------------

             Summary: [R] open_dataset - add file_name as column
                 Key: ARROW-15260
                 URL: https://issues.apache.org/jira/browse/ARROW-15260
             Project: Apache Arrow
          Issue Type: New Feature
          Components: R
            Reporter: Martin du Toit


Hi. Is it possible to add the file_name as a column to a dataset?

{code:r}
ds <- open_dataset(.....)
list_of_files <- ds$files
{code}

This works, but I need the file_name as a column.
Thanks



 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)