eitsupi commented on issue #15033:
URL: https://github.com/apache/arrow/issues/15033#issuecomment-1359186639

   Does it seem that the names are lost at the stage of conversion to arrow 
objects?
   
   ``` r
   df <- tibble::tibble(list_column = list(c(a = 1, b = 2)))
   at <- arrow::arrow_table(df)
   
   df$list_column
   #> [[1]]
   #> a b
   #> 1 2
   as.data.frame(at)$list_column
   #> <list<double>[1]>
   #> [[1]]
   #> [1] 1 2
   ```
   
   <sup>Created on 2022-12-20 with [reprex 
v2.0.2](https://reprex.tidyverse.org)</sup>
   
   ``` r
   list(c(a = 1, b = 2)) |> arrow::Array$create()
   #> ListArray
   #> <list<item: double>>
   #> [
   #>   [
   #>     1,
   #>     2
   #>   ]
   #> ]
   ```
   
   <sup>Created on 2022-12-20 with [reprex 
v2.0.2](https://reprex.tidyverse.org)</sup>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to