Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -449,6 +449,11 @@ class SparkConnectJdbcDataTypeSuite extends ConnectFunSuite with RemoteSparkSess
assert(bytes.length === testBytes2.length)
assert(bytes.sameElements(testBytes2))
assert(!rs.wasNull)

val stringValue = rs.getString("test_binary")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think these 3 lines would be fine.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I restore to only leave these three lines.

val expectedString = new String(testBytes2, java.nio.charset.StandardCharsets.UTF_8)
assert(stringValue === expectedString)

assert(!rs.next())

val metaData = rs.getMetaData
Expand Down