Skip to content

Conversation

@olavloite
Copy link

Adds additional test cases for JdbcDatabaseMetaData and fixes one wrong return value:

  • nullsAreSortedAtStart should return false, as Cloud Spanner does not always sort nulls at the start of a result set. Instead, nulls are treated as the smallest possible value, and hence are sorted at the end of a result when sort order is descending.

Cloud Spanner treats null values as the lowest possible value, and sorts
these accordingly. That means that when sort order is descending, null
values will be sorted at the end, while when sort order is ascending
null values will be sorted at the start. This method should only return
true if nulls are ALWAYS sorted at start.
@olavloite olavloite requested review from kolea2 and skuruppu August 25, 2019 06:09
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Aug 25, 2019
@olavloite olavloite added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Aug 25, 2019
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Aug 25, 2019
@olavloite olavloite added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Aug 26, 2019
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Aug 26, 2019
@olavloite olavloite merged commit 8bfa2c2 into googleapis:master Aug 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants