Github user zsxwing commented on the issue:

    https://github.com/apache/spark/pull/16085
  
    Another option is adding `@JsonIgnoreProperties` to these classes to ignore 
unknown fields. However, there are two disadvantages:
    
    - It's easy to ignore something that we don't want to ignore in future by 
mistake.
    - Since the old logs don't contain the new added fields, they will be set 
to `null`. It forces `StreamingQueryListener` to handle null values.
    
    Hence, I don't choose this way.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to