Github user srowen commented on the issue:

    https://github.com/apache/spark/pull/18645
  
    I believe the last errors were essentially the same issue discussed in 
json4s here:
    https://github.com/json4s/json4s/issues/227
    
    I suspect that it's down to a change in the effective setting of Jackson 
when reading or writing JSON: 
https://fasterxml.github.io/jackson-databind/javadoc/2.7/com/fasterxml/jackson/databind/DeserializationFeature.html#ACCEPT_SINGLE_VALUE_AS_ARRAY
 or 
https://fasterxml.github.io/jackson-databind/javadoc/2.7/com/fasterxml/jackson/databind/SerializationFeature.html#WRITE_SINGLE_ELEM_ARRAYS_UNWRAPPED
    
    It doesn't look like the value's defaults changed from Jackson 2.6 to 2.7, 
and don't see it overridden in json4s, though it did see some changes in 3.3 
that cause it to ignore some Jackson defaults.
    
    In any event I thought it safer to handle both scenarios in the tests where 
they matter. Let's see if that works, first. 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

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

Reply via email to