We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65fe9ef commit a87015eCopy full SHA for a87015e
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/csv/UnivocityParser.scala
@@ -136,6 +136,7 @@ class UnivocityParser(
136
137
// Retrieve the raw record string.
138
private def getCurrentInput: UTF8String = {
139
+ if (tokenizer.getContext == null) return null
140
val currentContent = tokenizer.getContext.currentParsedContent()
141
if (currentContent == null) null else UTF8String.fromString(currentContent.stripLineEnd)
142
}
0 commit comments