Closed enzo-dechaene closed 8 months ago
Closing this as stale since it's been silent for so long, and we're trying to steer toward a more actionable Issues backlog. If people are still encountering this in current versions (currently 3.x) please re-open this issue, open a new Issue with updated context, or raise a PR to address the problem. Thanks!
How to reproduce the bug
Expected results
It suppose to display the list of values in response of the regex string
Actual results
Actually return an sql error.
Here is the query doing by the worker :
Here is the stacktrace inside log of the worker :
[2023-01-05 20:21:34,811: ERROR/MainProcess] Task load_chart_data_into_cache[f87746c9-1f4c-43e7-be81-3b542fb8736e] raised unexpected: Error: unsupported format character 'y' (0x79) at index 145 Traceback (most recent call last): File "/usr/local/lib/python3.8/site-packages/celery/app/trace.py", line 451, in trace_task R = retval = fun(*args, **kwargs) File "/app/superset/initialization/__init__.py", line 105, in __call__ return task_base.__call__(self, *args, **kwargs) File "/usr/local/lib/python3.8/site-packages/celery/app/trace.py", line 734, in __protected_call__ return self.run(*args, **kwargs) File "/app/superset/tasks/async_queries.py", line 102, in load_chart_data_into_cache raise ex File "/app/superset/tasks/async_queries.py", line 84, in load_chart_data_into_cache result = command.run(cache=True) File "/app/superset/charts/data/commands/get_data_command.py", line 52, in run raise ChartDataQueryFailedError(f"Error: {query['error']}") superset.charts.commands.exceptions.ChartDataQueryFailedError: Error: unsupported format character 'y' (0x79) at index 145
Screenshots
Environment
2.0.1
but same for 2.0.03.8.12
Checklist
Make sure to follow these steps before submitting your issue - thank you!