feat(dialects): update dialect definitions#2080
Conversation
Benchmark for 9c10b7cClick to view benchmark
|
27c1f3e to
b550e59
Compare
Benchmark for b33f9ffClick to view benchmark
|
Benchmark for 4244061Click to view benchmark
|
4b4ba69 to
d4991db
Compare
Benchmark for 2507f80Click to view benchmark
|
Benchmark for c43629fClick to view benchmark
|
f9da53a to
85df954
Compare
Benchmark for d2afb00Click to view benchmark
|
|
I'd love to merge this but 200k lines might be hard to tackle in one go. How do you think we should break this apart? I also am very keen to start diverging from sqlfluff in the sense that I think the grammar definitions should be more precise. For example, I think pgvector in Postgres should be an explicit setting. My thought would be to tackle it dialect by dialect? |
|
I don’t understand how to split this properly: if we change ANSI, we break other dialects. And if we start with the dialects that depend on ANSI, they will still require updating ANSI. I’ll try, but I think it’ll be pretty difficult. |
017efde to
85df954
Compare
Benchmark for 91b7c45Click to view benchmark
|
85df954 to
176462a
Compare
CodSpeed Performance ReportMerging this PR will degrade performance by 24.1%Comparing Summary
Performance Changes
|
Benchmark for 4e9b3a3Click to view benchmark
|
|
I've looked at ansi, all the fixtures look good. Is there any reason for the move away from |
|
Lately, I’ve been thinking there isn’t much reason to keep vec_erased. Now that it’s gone, it seems like we could avoid type-erasing Matchable in a few places too, which might cut down on allocations overall. I don’t feel strongly about it, but for now I’m leaning toward stripping out any extra sugar and dependencies so we can see the full picture and decide what to do next. |
|
I'm ok either way. Would it be possible (sorry if painful) to untangle that change from the dialect changes? I'm happy to do the removal of vec_erased in a separate pr and then you just need to rebase this? |
37c2be3 to
8759028
Compare
Benchmark for bd4de78Click to view benchmark
|
Benchmark for 0a33e21Click to view benchmark
|
No description provided.