Skip to content

Commit 3315659

Browse files
author
linxiaotao
committed
feat(ai): Enhance type compatibility checks in RuleSQLE00112
- Introduced functions to assess compatibility between various data types (integers, strings, BLOBs, and DECIMALs). - Updated the main rule logic to utilize these new checks, ensuring accurate validation of WHERE/ON/USING clause conditions. - Added comprehensive comments detailing the logic and scenarios for type compatibility, addressing limitations of the current SQL parser. This enhancement aims to prevent performance issues caused by implicit type conversions in SQL queries.
1 parent c67969c commit 3315659

File tree

1 file changed

+341
-54
lines changed

1 file changed

+341
-54
lines changed

0 commit comments

Comments
 (0)