zeroshade commented on code in PR #765:
URL: https://github.com/apache/arrow-adbc/pull/765#discussion_r1235547382
##########
adbc.h:
##########
@@ -811,21 +867,43 @@ struct ADBC_EXPORT AdbcDriver {
AdbcStatusCode (*DatabaseGetOption)(struct AdbcDatabase*, const char*, const
char**,
struct AdbcError*);
+ AdbcStatusCode (*DatabaseGetOptionBytes)(struct AdbcDatabase*, const char*,
+ const uint8_t**, size_t*, struct
AdbcError*);
AdbcStatusCode (*DatabaseGetOptionInt)(struct AdbcDatabase*, const char*,
int64_t*,
struct AdbcError*);
+ AdbcStatusCode (*DatabaseSetOptionBytes)(struct AdbcDatabase*, const char*,
+ const uint8_t*, size_t, struct
AdbcError*);
AdbcStatusCode (*DatabaseGetOptionDouble)(struct AdbcDatabase*, const char*,
double*,
struct AdbcError*);
AdbcStatusCode (*DatabaseSetOptionInt)(struct AdbcDatabase*, const char*,
int64_t,
struct AdbcError*);
AdbcStatusCode (*DatabaseSetOptionDouble)(struct AdbcDatabase*, const char*,
double,
Review Comment:
Do we want to reorder these a bit so that the Get/Set typed options are next
to each other for the same types for easier reading / finding? Either that or
can we put ALL the Gets followed by ALL the Sets?
--
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]