Open Kiblyn11 opened 2 weeks ago
Are you looking to use some kind of scripting language to create rules?
Well, looking at some rules already implemented it doesn't seem easy to do in a different language. I'm not really fond of packaging another package like SQLfluff does either, I would be happy to be able to configure a directory in Sqruff config with some rules done with the app language, but I figure this isn't an option for Rust.
Unrelated but the missing rule I would like to implement is related to detect unlimited varchar and text columns in DDL. Maybe it is something that can be implemented as part of the core rules ?
We haven't focused much on analyzing DDL statements, but I don't see why we wouldn't implement a generic rule like that. It seems like a fairly generic rule that people would use, "the ability to disallow certain types".
Do you support extending ruleset without rebuilding the binary ? If not is it planned to do so ?