Skip to content

Conversation

@olavloite
Copy link
Collaborator

@olavloite olavloite commented Aug 14, 2023

Calling getColumnCount() would fail for empty ResultSets that were returned for partitioned queries. The reason for this was that the number of columns would be calculated based on the last seen row. This would not work for ResultSets without any rows at all.

Calling getColumnCount() would fail for ResultSets that were returned for partitioned queries. The reason for this was that the number of columns would be calculated based on the last seen row. This would not work for ResultSets without any rows at all.
@olavloite olavloite requested a review from rajatbhatta August 14, 2023 10:55
@olavloite olavloite requested a review from a team as a code owner August 14, 2023 10:55
@product-auto-label product-auto-label bot added size: s Pull request size is small. api: spanner Issues related to the googleapis/java-spanner API. labels Aug 14, 2023
@olavloite olavloite merged commit 9a2f3fc into main Aug 14, 2023
@olavloite olavloite deleted the metadata-for-empty-result-sets branch August 14, 2023 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: spanner Issues related to the googleapis/java-spanner API. size: s Pull request size is small.

2 participants