arjunsr1 commented on issue #13847:
URL: https://github.com/apache/arrow/issues/13847#issuecomment-1212293782
Hey @kou - I noticed that there is the capability to add column_types as an
option passed into `Arrow::Table.load`. I'm trying to do this:
```
Arrow::Table.load(
tempfile.path, # this is the path of the CSV file
column_types: [%i[created_time time64], %i[completed_time time64]] #
created_time and completed_time are the columns i want to change
)
```
However, I'm getting this error:
`wrong arguments: Arrow::TimestampDataType#initialize(): available
signatures: (unit: interface(Arrow::TimeUnit(GArrowTimeUnit)))`
Can you give me any guidance on how to use the :column_types option?
--
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]