brkyvz commented on code in PR #38113:
URL: https://github.com/apache/spark/pull/38113#discussion_r989594507
##########
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/json/JSONOptions.scala:
##########
@@ -126,14 +128,14 @@ private[sql] class JSONOptions(
// Otherwise, depending on the parser policy and a custom pattern, an
exception may be thrown and
// the value will be parsed as null.
val enableDateTimeParsingFallback: Option[Boolean] =
- parameters.get("enableDateTimeParsingFallback").map(_.toBoolean)
+ parameters.get(ENABLE_DATETIME_PARSING_FALLBACK).map(_.toBoolean)
- val multiLine = parameters.get("multiLine").map(_.toBoolean).getOrElse(false)
+ val multiLine = parameters.get(MULTILINE).map(_.toBoolean).getOrElse(false)
Review Comment:
nit: didn't you reference this as MULTI_LINE in CSV?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]