Skip to content

Commit

Permalink
Remove unnecessary inferNulls call in readJdbc
Browse files Browse the repository at this point in the history
The Infer.Nulls call was redundant and has been removed from the readJdbc.kt file. This simplifies the code of reading JDBC in the DataFrame-JDBC module, without altering functionality.
  • Loading branch information
zaleslaw committed Apr 26, 2024
1 parent 8ecb1f4 commit 4ed77cc
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ public fun DataFrame.Companion.readSqlTable(
limit: Int = DEFAULT_LIMIT,
inferNullability: Boolean = true,
): AnyFrame {
Infer.Nulls
DriverManager.getConnection(dbConfig.url, dbConfig.user, dbConfig.password).use { connection ->
return readSqlTable(connection, tableName, limit, inferNullability)
}
Expand Down

0 comments on commit 4ed77cc

Please sign in to comment.