yucheng-du opened a new pull request, #1547: URL: https://github.com/apache/arrow-java/pull/1547
Closes #1089. Expose the latest Flight data message's metadata through `ResultSet.unwrap(ArrowFlightJdbcFlightStreamResultSet.class).getLatestBatchMetadata()`. The driver copies the bytes before advancing the stream, so callers can read trailing query statistics after the last row, including for a query that returns no rows. The JDBC tests cover consecutive rows, a batch without metadata, and a metadata-only trailer. The full Flight SQL JDBC core Maven reactor passed. I also checked 1,989 rows over three endpoints with 65,537-byte metadata payloads. AI assistance: GPT-6.2 Astra, ultra effort, for the implementation and tests. -- 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]
