File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
dataframe-arrow/src/main/kotlin/org/jetbrains/kotlinx/dataframe/io Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -55,6 +55,7 @@ import org.jetbrains.kotlinx.dataframe.api.forEachIndexed
55
55
import org.jetbrains.kotlinx.dataframe.exceptions.TypeConversionException
56
56
import org.jetbrains.kotlinx.dataframe.exceptions.TypeConverterNotFoundException
57
57
import org.jetbrains.kotlinx.dataframe.typeClass
58
+ import org.slf4j.LoggerFactory
58
59
import java.io.ByteArrayOutputStream
59
60
import java.io.File
60
61
import java.io.FileOutputStream
@@ -70,6 +71,10 @@ import kotlin.reflect.typeOf
70
71
public val ignoreWarningMessage: (String ) -> Unit = { message: String -> }
71
72
public val writeWarningMessage: (String ) -> Unit = { message: String -> System .err.println (message) }
72
73
74
+ private val logger = LoggerFactory .getLogger(ArrowWriter ::class .java)
75
+
76
+ public val logWarningMessage: (String ) -> Unit = { message: String -> logger.debug(message) }
77
+
73
78
/* *
74
79
* Create Arrow [Schema] matching [this] actual data.
75
80
* Columns with not supported types will be interpreted as String
You can’t perform that action at this time.
0 commit comments