aws / aws/amazon-documentdb-odbc-driver

Implement BinaryTypeDateTimeSub in type_traits

Open
#182 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
6
Forks
2
PR merge metrics
No merged PRs in 30d

Description

`CHAR_OCTET_LENGTH`: The maximum length in bytes of a character or binary data type column. For all other data types, this column returns a `NULL`.

AC:

- implement `BinaryDateTimeSub, SqlTypeDateTimeSub` under namespace `type_traits`
- call the function in `ColumnMetadataQuery::GetColumn` under case `ResultColumn::CHAR_OCTET_LENGTH`

https://docs.microsoft.com/en-us/sql/odbc/reference/syntax/sqlcolumns-function?view=sql-server-ver15

Contributor guide

Open the contributing guide

Research direction

Locate the type_traits definitions for BinaryDateTimeSub and SqlTypeDateTimeSub, then inspect ColumnMetadataQuery::GetColumn and its ResultColumn::CHAR_OCTET_LENGTH case. Compare the implementation with the linked SQLColumns documentation; done means both functions are implemented and the case calls the appropriate function.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
database
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.