arrow/csv: support writing and reading time64 columns
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 79/100
Research direction
Read the arrow/csv writer and reader paths, then compare their time32 handling added in #1706. Add corresponding formatting with Time64.FormattedString and parsing with arrow.Time64FromString for time64[us] and time64[ns]; done means both CSV writing and reading accept those schema fields, including fractional precision.
Written by the indexing model from the issue text.
Description
Describe the enhancement requested
arrow/csv cannot write or read time64 columns:
csv.NewWriterpanics withunsupported data typewhen the schema has atime64[us]ortime64[ns]field.csv.NewReaderrejectstime64fields in the schema, so there is no way to read them back either.
#1706 adds time32[s] and time32[ms] to both sides (formatting with Time32.FormattedString, parsing with arrow.Time32FromString). time64 could follow the same shape with Time64.FormattedString and arrow.Time64FromString, which already handle microsecond and nanosecond fractions.
Raised in review of #1706: https://github.com/apache/arrow-go/pull/1706#discussion_r4743081212
Component(s)
Other
- Dominant language
- Assembly
- Stars
- 423
- Forks
- 188
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 164
Getting set up
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from apache/arrow-go
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
apache/arrow-go#1591 · 2 comments ·
Maintainers usually reply within 1 day
-
arrow/compute: safe float to integer cast skips the truncation check in sliced arrays with nullsPossibly taken @mansur-akhmadi claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 1/100
Maintainers usually reply within 1 day
-
Type: bug
Difficulty 3/5 1-2 days Newbie friendliness 65/100
Maintainers usually reply within 1 day
-
parquet/file: a panic recovered in WriteBatch is not kept, so Close writes a footer for rows with no valuesPossibly taken @EdwardShen125 claimed this 4 days ago. Open
Difficulty 3/5 1-2 days Newbie friendliness 35/100
Maintainers usually reply within 1 day
-
ipc: stream reader accepts an invalid flatbuffer schema and decimal precision 0Possibly taken @AynSiddiqui claimed this 7 days ago. Open
apache/arrow-go#1676 · 1 comment · 1 assignee ·
Maintainers usually reply within 1 day
Similar issues
-
area: explore bug
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
nplhse/collaborative-ivena-statistics#2107 ·
Maintainers usually reply within 1 day
-
automated avec-intentions-de-vote new-poll
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
MieuxVoter/presidentielle2027#376 · 1 comment ·
Maintainers usually reply within 1 day
-
agent-reported bug from-app needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 73/100
nightly-labs/openbot#21256 ·
Maintainers usually reply within 1 day
-
ColumnIndex max truncation returns a value smaller than the real max when the prefix is all 0xFFOpen
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
parquet-go/parquet-go#819 ·
Maintainers usually reply within 1 day
-
approved correction metadata
Difficulty 1/5 Under an hour Newbie friendliness 84/100
acl-org/acl-anthology#11199 · 1 comment ·
Maintainers usually reply within 1 day