ephraimbuddy commented on code in PR #25321:
URL: https://github.com/apache/airflow/pull/25321#discussion_r930391709
##########
airflow/migrations/versions/0114_2_4_0_add_dataset_model.py:
##########
@@ -55,7 +55,7 @@ def _create_dataset_table():
),
nullable=False,
),
- sa.Column('extra', ExtendedJSON, nullable=True),
+ sa.Column('extra', sqlalchemy_jsonfield.JSONField(json=json),
nullable=True),
Review Comment:
I think you mean the `{}` in the REST API? That's just because of the
JsonObjectField used. It returns `{}` if the value is null and I think it's ok.
The field is still nullable at the DB level, just empty dictionary at the
REST API. I can work the REST API to return None if it's preferred?
--
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]