mypipe
mypipe copied to clipboard
VAR_STRING / STRING handling in ColumnType.scala
ColumnType.scala gives us some errors on VAR_STRING and STRING values. Data stored in these kinds of columns seems to be typically byte[]. Implicit conversion using
column.valueOption[String].getOrElse("")
fails. We now use a (imperfect) patched version which is attached. Imperfect by means that it assumes UTF-8 as encoding, something that should be read from the database column definition in the future.