You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Bernie Chiu (JIRA)" <ji...@apache.org> on 2018/09/17 13:52:00 UTC

[jira] [Created] (AIRFLOW-3077) Mongo Hook Raise Error and Stop Migration Due to Bad Encoding from PyMongo

Bernie Chiu created AIRFLOW-3077:
------------------------------------

             Summary: Mongo Hook Raise Error and Stop Migration Due to Bad Encoding from PyMongo
                 Key: AIRFLOW-3077
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-3077
             Project: Apache Airflow
          Issue Type: Improvement
          Components: database, hooks
    Affects Versions: 1.10.0, 1.9.0
            Reporter: Bernie Chiu
            Assignee: Bernie Chiu


Due to the fact that a single encoding problem should not stop the dataflow, provide the default with `ignore` option is best for default since PyMongo will still try to do its best to reconstruct the JSON data.

[https://stackoverflow.com/questions/36314776/pymongo-error-bson-errors-invalidbson-utf8-codec-cant-decode-byte-0xa1-in-p]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)