alinaliBQ opened a new issue, #47869: URL: https://github.com/apache/arrow/issues/47869
### Describe the enhancement requested Implement function in `ResultSetMetadata` class to return a value for `datetime_interval_precision` field based on the server's implementation of the interval type. See https://learn.microsoft.com/en-us/sql/odbc/reference/syntax/sqlsetdescfield-function?view=sql-server-ver17 for the appropriate values for `SQL_DESC_DATETIME_INTERVAL_PRECISION` field. This field is only applicable to SQL_INTERVAL data type. > When SQL_DESC_DATETIME_INTERVAL_CODE is set to an interval data type, SQL_DESC_DATETIME_INTERVAL_PRECISION is set to 2 (the default interval leading precision). When the interval has a seconds component, SQL_DESC_PRECISION is set to 6 (the default interval seconds precision). Parent issue: https://github.com/apache/arrow/issues/30622 ### Component(s) FlightRPC, C++ -- 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]
