cccs-joel commented on a change in pull request #17360:
URL: https://github.com/apache/superset/pull/17360#discussion_r743876751
##########
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:
The UI already allows to do that. Take an existing dataset, using the
legacy editor, set it to blank and save your change, change is persisted. I
decided to mimic what's for description.
--
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]