cisco90 opened a new issue, #21012:
URL: https://github.com/apache/superset/issues/21012
I cannot save dashboard with position_json more long than "text" mariadb
field
#### How to reproduce the bug
I create a dashboard that hit the default
SUPERSET_DASHBOARD_POSITION_DATA_LIMIT, so i set it to 131070, after that the
error change in `Data too long fo column 'json_metadata' at row 1` in superset
logs.
without changing json_metadata, only delete a couple of markdown element
filled with text, it works
I change manually the type on table superset.dashboard, column
json_metadata, from `text` to `mediumtext` and it works perfectly.
I think there is a check on field light based on wrong column type something
like a comparison between position_json content length with json_metadata type
(text in that case)
### Expected results
Save dashboard that are longer than mariadb text type
### Actual results
I cannot save dashboard that are longer than mariadb text type
### Environment
(please complete the following information):
- browser type and version:
- superset version: `2.0` and also `1.4.2`
- any feature flags active: SUPERSET_DASHBOARD_POSITION_DATA_LIMIT= 131070
### Additional context
Add any other context about the problem here.
--
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]