Skip to content

Commit f9cea38

Browse files
committed
add more language
1 parent 4dfe808 commit f9cea38

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

c/include/arrow-adbc/adbc.h

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1255,6 +1255,10 @@ struct ADBC_EXPORT AdbcDriver {
12551255
AdbcStatusCode (*StatementSetOptionInt)(struct AdbcStatement*, const char*, int64_t,
12561256
struct AdbcError*);
12571257

1258+
// ADBC 1.2
1259+
AdbcStatusCode (*StatementRequestSchema)(struct AdbcStatement*, struct ArrowSchema*,
1260+
struct AdbcError*);
1261+
12581262
/// @}
12591263

12601264
/// \defgroup adbc-1.2.0 ADBC API Revision 1.2.0
@@ -2305,6 +2309,14 @@ AdbcStatusCode AdbcStatementExecuteSchema(struct AdbcStatement* statement,
23052309
/// AdbcStatementExecuteSchema to request specific Arrow type
23062310
/// variants such as string views or list views.
23072311
///
2312+
/// The provided schema is a request and not a guarantee (i.e.,
2313+
/// callers must use the schema provided by the output stream to
2314+
/// interpret the result).
2315+
///
2316+
/// Calling AdbcStatementRequestSchema() must not affect the result
2317+
/// of AdbcStatementExecuteSchema (which always infers its result
2318+
/// from the input query).
2319+
///
23082320
/// \since ADBC API revision 1.2.0
23092321
///
23102322
/// \param[in] statement The statement to execute.

0 commit comments

Comments
 (0)