I have a problem that END DATE from date-range does not work as it should be.(can be shown from the attached image)

Is there problem with my query?? PLZ help me out…

Strange that you have 2021-09-1 as time-range.end when the snapshot shows 2021-09-21;

in that case the end date is before the start date: it could explain why SQL is complaining

=> Are you sure to have applied the new values ?

Yes, setting was fine.
Actually the problem is solved now. The query started to work fine after a day… No change has been applied, but it just works after a day. I guess there was some sort of error in redash.

Thank you for reply!