Phyks opened a new issue, #31974:
URL: https://github.com/apache/superset/issues/31974
### Bug description
Starting from Superset 4.1 (and confirmed in 4.1.1), probably related to the
heatmaps updates, it no longer works to define Y axis as a function on a field.
Having Y axis set to `foobar` (with `foobar` a field in your dataset) works,
but setting it to `REPLACE('foobar', '', '')` (a SQL function of your field)
results in duplicating all the fields (X axis and Y axis) in the produced SQL
query and then crashing.
I'm using Spark as a datasource, with Apache Hive connector.
Best
### Screenshots/recordings
_No response_
### Superset version
4.1.1
### Python version
3.11
### Node version
18 or greater
### Browser
Firefox
### Additional context
_No response_
### Checklist
- [x] I have searched Superset docs and Slack and didn't find a solution to
my problem.
- [x] I have searched the GitHub issue tracker and didn't find a similar bug
report.
- [x] I have checked Superset's logs for errors and if I found a relevant
Python stacktrace, I included it here as text in the "additional context"
section.
--
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]