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

   ### Bug description
   
   Version:6.0.0
   ChartType: Table
   
   1. Drill to detail by datetime (Time Grain is Day)
   2. SQL does not run according to the logic 
`toStartOfDay(toDateTime("signup_done_time")) = toDateTime ('2025 -12-18 00:00: 
00')`. It's a direct string assignment, like this
   ``` SQL
   AND "signup_done_time" = '2025-11-17T00:00:00.000Z'
   ```
   
   ### Screenshots/recordings
   
   <img width="470" height="180" alt="Image" 
src="https://github.com/user-attachments/assets/050207b8-7288-4d0c-bf2c-92a2cc828e74";
 />
   
   Error: Received ClickHouse exception, code: 53, server response: Code: 53. 
DB::Exception: Cannot convert string 2025-12-20T00:00:00.000Z to type 
DateTime('Asia/Shanghai'): while executing 'FUNCTION equals(breakdown_values : 
0, '2025-12-20T00:00:00.000Z' : 5) -> equals(breakdown_values, 
'2025-12-20T00:00:00.000Z') UInt8 : 8'. (TYPE_MISMATCH) (version 23.8.9.1) (for 
url http://...:8123)
   
   <img width="882" height="510" alt="Image" 
src="https://github.com/user-attachments/assets/49603461-f099-42bb-898f-5ebc55a484ae";
 />
   
   ### Superset version
   
   6.0.0
   
   ### Python version
   
   3.9
   
   ### Node version
   
   16
   
   ### 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