Github user cloud-fan commented on a diff in the pull request:

    https://github.com/apache/spark/pull/22237#discussion_r222653808
  
    --- Diff: 
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/util/ParseMode.scala 
---
    @@ -51,6 +56,8 @@ object ParseMode extends Logging {
         case PermissiveMode.name => PermissiveMode
         case DropMalformedMode.name => DropMalformedMode
         case FailFastMode.name => FailFastMode
    +    case NullMalformedMode.name => NullMalformedMode
    --- End diff --
    
    I think we should only add the new mode for `from_json`, not the entire 
json data source?


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to