hongzhi-gao opened a new pull request, #17347: URL: https://github.com/apache/iotdb/pull/17347
## **Description** ### What Adds a C API (SessionC.h / SessionC.cpp) around the existing C++ Session / TableSession, for C/FFI callers without exposing C++ types. ### Design Opaque handles (CSession, CTableSession, CTablet, CSessionDataSet, CRowRecord); public symbols prefixed with ts_*. TsStatus return codes + thread-local last error via ts_get_last_error(). Thin wrappers: convert C args → C++ types, map exceptions to status codes; reuse existing client logic (no duplicate Thrift layer). ### Scope Tree + table model: connect, metadata, inserts (record/tablet), queries, result iteration, deletes—aligned with current Session behavior. ### This PR has: self-reviewed tests added or updated (optional) tested on a cluster ### Key files client-cpp/src/main/SessionC.h, SessionC.cpp client-cpp/src/test/main_c*.cpp, sessionC*IT.cpp -- 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]
