apache / apache/arrow

[C++][Arrow Flight SQL ODBC] Append TimeUnit on conversion

Open
#47,857 0 comments 0 reactions 0 assignees View on GitHub
Component: C++ Component: FlightRPC Type: enhancement
Dominant language
C++
Stars
17.1k
Forks
4.3k
Avg merge
3d 13h
Merged PRs (30d)
88

Description

### Describe the enhancement requested

Append TimeUnit on conversion for `ConvertToJson` calls with `DurationScalar` as input. For example it looks like:
`ConvertToJson(DurationScalar(123, TimeUnit::SECOND))`

The return value should be `"\"123s\""`, not `"\"123\""` which is currently being returned

Parent issue: https://github.com/apache/arrow/issues/30622

### Component(s)

FlightRPC, C++

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.