clavidk opened a new issue, #30301:
URL: https://github.com/apache/superset/issues/30301

   ### Bug description
   
   When I try to create a Histogram chart and choose a decimal datatype column 
(e.g. `start_rate` in my scenario)as the main column, I get an error that says:
   
   > The column 'start_rate' must be numeric.
   
   But I have checked that it is a decimal datatype (Postgres db) which is 
equivalent to the `numeric` datatype.
   
   
   
   ### How to reproduce the bug
   
   1. Create a new Histogram chart (not the legacy version)
   2. For column,  select the column that is a decimal data type.
   3. Click save/update chart
   
   What I expect: histogram is created
   
   What actually happens: I get the following error:
   
   > DB engine Error
   > The column 'start_rate' must be numeric.
   > 
   > This may be triggered by:
   > Issue 1011 - Superset encountered an unexpected error. 
   > 
   > Please reach out to the Chart Owner for assistance.
   > 
   > Chart Owner: Superset Admin
   
   
   ### Screenshots/recordings
   
   <img width="1149" alt="image" 
src="https://github.com/user-attachments/assets/292c92fb-0b70-402a-96ff-fcea0b4386a3";>
   
   ### Superset version
   
   master / latest-dev
   
   ### Python version
   
   I don't know
   
   ### Node version
   
   I don't know
   
   ### Browser
   
   Chrome
   
   ### 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]

Reply via email to