tokoko opened a new issue, #471:
URL: https://github.com/apache/arrow-adbc/issues/471
JDBC driver postgres test suite fails with a NullPointerException when I
hook it up with a brand new default database in a postgres docker image. Looks
like `buildTables` method in `ObjectMetadataBuilder` calls next() twice on
primary keys result set.
```
try (final ResultSet pk = dbmd.getPrimaryKeys(catalogName, dbSchemaName,
tableName)) {
...
if (pk.next()) {
while (pk.next()) {
...
```
The fix should be pretty straightforward, but I thought it would be better
if I also included additional tests in the suite that would check that
constraints are actually read correctly. As there's no way to create
constraints through adbc itself if I'm not mistaken, this should probably be
done with SqlQuirks, does that sound right?
--
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]