In arrow , how to create schema according the original variable type and avoid type in manualy
In arrow
, can create schema
by map just as below my_schema_1
.
I want to create my_schema_2
, the schema type to double
or string
accoring varible type,
but the my_schema_2 list value sequence not match width the name of csv file sample.csv
,
So arrow_data_2 %>% as.data.frame()
failed . How to fix it ? Thanks!