betodealmeida commented on a change in pull request #17360:
URL: https://github.com/apache/superset/pull/17360#discussion_r743865419
##########
File path: superset/datasets/schemas.py
##########
@@ -42,7 +42,7 @@ def validate_python_date_format(value: str) -> None:
class DatasetColumnsPutSchema(Schema):
id = fields.Integer()
column_name = fields.String(required=True, validate=Length(1, 255))
- type = fields.String(validate=Length(1, 32))
+ type = fields.String(allow_none=True)
Review comment:
Do we need to allow `None` here? What happens when we update a dataset
setting the type to `None`?
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]