added escape char fix
@@ -800,8 +800,8 @@ class DataCatalog(val spark: SparkSession, host: String) extends Serializable {
actualEscapeCharacter match
{
case Some(x) =>
- if (x equalsIgnoreCase "\\") escapeCharacter = Option("\\")
- else if (x contains "\\") escapeCharacter = Option(x.replace("\\u", "\\").replace("\\", "").toInt.toChar.toString)
+ if (x equalsIgnoreCase "\\\\") escapeCharacter = Option("\\")
+ else if (x contains "\\") escapeCharacter = Option(x.replace("\\u", "\\").replace("\\", ""))
else escapeCharacter = Option(x)
case None => escapeCharacter = None
}
