Toms1999 opened a new issue, #57582: URL: https://github.com/apache/doris/issues/57582
### Search before asking - [x] I had searched in the [issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no similar issues. ### Version 2.1.10 ### What's Wrong? [INTERNAL_ERROR]VSlotRef customerId have invalid slot id: 338 ### What You Expected? return sql result ### How to Reproduce? _No response_ ### Anything Else? SELECT * ,GREATEST(LEAST(allMaxFinallyInterest - 0.5, after_irr, 2)) AS after_irr_f ,LEAST(300000, GREATEST(currAccountLimit + 10000, after_limit* 10000)) AS after_limit_m FROM ( SELECT *, ROUND(CAST((RAND() * (4.1 - 2.0) + 2.0) AS DECIMAL), 1) AS after_irr, ROUND(CAST((RAND() * (30.0 - 16.0) + 16.0) AS DECIMAL), 1) AS after_limit FROM rm_idt.myt_offline_zj_raw_20251030_veri_online_lx_pre ) AS a limit 100; ### Are you willing to submit PR? - [x] Yes I am willing to submit a PR! ### Code of Conduct - [x] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- 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]
