File tree Expand file tree Collapse file tree
main/kotlin/org/jetbrains/kotlinx/dataframe/io/db
test/kotlin/org/jetbrains/kotlinx/dataframe/io Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -49,7 +49,6 @@ public object MsSql : DbType("sqlserver") {
4949
5050 override fun convertSqlTypeToKType (tableColumnMetadata : TableColumnMetadata ): KType ? = null
5151
52- public override fun sqlQueryLimit (sqlQuery : String , limit : Int ): String {
53- return sqlQuery.replace(" SELECT" , " SELECT TOP $limit " , ignoreCase = true )
54- }
52+ public override fun sqlQueryLimit (sqlQuery : String , limit : Int ): String =
53+ sqlQuery.replace(" SELECT" , " SELECT TOP $limit " , ignoreCase = true )
5554}
Original file line number Diff line number Diff line change 11package org.jetbrains.kotlinx.dataframe.io
22
33import io.kotest.matchers.shouldBe
4- import org.intellij.lang.annotations.Language
5- import org.jetbrains.kotlinx.dataframe.DataFrame
6- import org.jetbrains.kotlinx.dataframe.annotations.DataSchema
7- import org.jetbrains.kotlinx.dataframe.api.cast
8- import org.jetbrains.kotlinx.dataframe.api.filter
94import org.jetbrains.kotlinx.dataframe.io.db.MsSql
105import org.junit.AfterClass
116import org.junit.BeforeClass
127import org.junit.Test
13- import java.sql.Connection
14- import java.sql.DriverManager
15- import java.sql.SQLException
16- import kotlin.reflect.typeOf
178
189class MsSqlTest {
1910 companion object {
You can’t perform that action at this time.
0 commit comments