Title: [FlightSQLJDBC] not implemented exception when fetching TimeStamp from ResultSet · Issue #818 · apache/arrow-java · GitHub
Open Graph Title: [FlightSQLJDBC] not implemented exception when fetching TimeStamp from ResultSet · Issue #818 · apache/arrow-java
X Title: [FlightSQLJDBC] not implemented exception when fetching TimeStamp from ResultSet · Issue #818 · apache/arrow-java
Description: Describe the bug, including details regarding any error messages, version, and platform. Description When a TimeStamp is returned in a Flight SQL JDBC ResultSet an exception is throw when accessing the value via getObject(index). It work...
Open Graph Description: Describe the bug, including details regarding any error messages, version, and platform. Description When a TimeStamp is returned in a Flight SQL JDBC ResultSet an exception is throw when accessing...
X Description: Describe the bug, including details regarding any error messages, version, and platform. Description When a TimeStamp is returned in a Flight SQL JDBC ResultSet an exception is throw when accessing...
Opengraph URL: https://github.com/apache/arrow-java/issues/818
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[FlightSQLJDBC] not implemented exception when fetching TimeStamp from ResultSet","articleBody":"### Describe the bug, including details regarding any error messages, version, and platform.\n\n## Description\n\nWhen a TimeStamp is returned in a Flight SQL JDBC `ResultSet` an exception is throw when accessing the value via `getObject(index)`. It works using `getObject(columnName)`. Below as a simple example of how the problem can be reproduced:\n\n```java\ntry (var connection = DriverManager.getConnection(\"jdbc:arrow-flight://localhost:5000;useEncryption=false\");\n PreparedStatement createStatement = connection.prepareStatement(\"create table if not exists test (ts timestamp, id bigint)\");\n PreparedStatement insertStatement = connection.prepareStatement(\"insert into test values ('1970-04-01 21:39:50', 2)\");\n PreparedStatement selectStatement = connection.prepareStatement(\"select ts from test where id = 2\")\n) {\n\n createStatement.execute();\n insertStatement.executeUpdate();\n\n try (var rs = selectStatement.executeQuery()) {\n while (rs.next()) {\n\n // Fails with a not implemented exception\n System.out.println(rs.getObject(1)); \n\n // works\n System.out.println(rs.getObject(\"ts\")); \n }\n }\n}\n```\n\nHere is the stack trace for the `getObject(index)`\n\n```\nException in thread \"main\" java.lang.RuntimeException: not implemented\n\tat org.apache.arrow.driver.jdbc.shaded.org.apache.calcite.avatica.AvaticaSite.notImplemented(AvaticaSite.java:422)\n\tat org.apache.arrow.driver.jdbc.shaded.org.apache.calcite.avatica.AvaticaSite.get(AvaticaSite.java:381)\n\tat org.apache.arrow.driver.jdbc.shaded.org.apache.calcite.avatica.AvaticaResultSet.getObject(AvaticaResultSet.java:395)\n\tat JDBCParamTest.runDateTimeTimestampExample(JDBCParamTest.java:91)\n\tat JDBCParamTest.main(JDBCParamTest.java:14)\n```\n\n## Version information:\n\n| item | version |\n| ---- | -------- |\n| Java | Zulu 21.0.8 (ARM) |\n| Flight SQL JDBC | 18.3.0 |\n| macOS | 15.6 (Apple Silicon) |","author":{"url":"https://github.com/jeremyosterhoudt","@type":"Person","name":"jeremyosterhoudt"},"datePublished":"2025-08-12T21:27:46.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/818/arrow-java/issues/818"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:40ecf94d-3bd8-4f1d-f56b-0706964d8a59 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8A76:A2C7B:26BFFBF:374F297:6A50FD3B |
| html-safe-nonce | fd12e51fa2f3682d0f0bac57b08a7f08acf1d9d2aead628971cbaa7f7009a055 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QTc2OkEyQzdCOjI2QkZGQkY6Mzc0RjI5Nzo2QTUwRkQzQiIsInZpc2l0b3JfaWQiOiI4NjE5OTYyMTgzMzIzODExMTMxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 6a887f80ebd8609d2a2f03d5441d560884db45135febd9528c8397fc53889919 |
| hovercard-subject-tag | issue:3316004118 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/apache/arrow-java/818/issue_layout |
| twitter:image | https://opengraph.githubassets.com/fe1d05d29c43826d8c438779a46d7941e5e8b4eacd46c88f87cb98fbd93321c9/apache/arrow-java/issues/818 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/fe1d05d29c43826d8c438779a46d7941e5e8b4eacd46c88f87cb98fbd93321c9/apache/arrow-java/issues/818 |
| og:image:alt | Describe the bug, including details regarding any error messages, version, and platform. Description When a TimeStamp is returned in a Flight SQL JDBC ResultSet an exception is throw when accessing... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jeremyosterhoudt |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5266e58c17a510c403505cc811606465e90a881d2007ee7df1c4800d5c659838 |
| turbo-cache-control | no-preview |
| go-import | github.com/apache/arrow-java git https://github.com/apache/arrow-java.git |
| octolytics-dimension-user_id | 47359 |
| octolytics-dimension-user_login | apache |
| octolytics-dimension-repository_id | 893682219 |
| octolytics-dimension-repository_nwo | apache/arrow-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 893682219 |
| octolytics-dimension-repository_network_root_nwo | apache/arrow-java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8d836581d020676cc0ef4a83cd2fe17e4af02c3d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width