GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — BigQuery JDBC: `NullpointerException` when accessing scalar values of `null` columns in ResultSet. · Issue #14371 · googleapis/google-cloud-java Closed Labels DescriptionSomewhere near in this commit the When accessing scalar Java values such as The following works with <dependency> <groupId>com.google.cloud</groupId> <artifactId>google-cloud-bigquery-jdbc</artifactId> <version>${bigquery-jdbc.version}</version> <classifier>all</classifier> </dependency> up to 1.3.0 public static void main(String...a) throws SQLException { var url = "jdbc:bigquery://https://www.googleapis.com/bigquery/v2;ProjectId=xxx;ConnectionPoolSize=1;EnableHighThroughputAPI=true"; try (var connection = DriverManager.getConnection(url); var stmt = connection.createStatement(); var rs = stmt.executeQuery("SELECT 1, 2.0, null") ) { while(rs.next()) { System.out.println(rs.getLong(3)); System.out.println(rs.wasNull()); } } } Printing as expected. From 1.4.0 onwards it crashes with: This is a severe regression. Thanks for having a look. Activity
MetadataMetadataLabelsTypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |