ygrek / sqlgg

SQL Guided (code) Generator
https://ygrek.org/p/sqlgg/
GNU General Public License v2.0
62 stars 20 forks source link

Improve Coalesce Function for Proper Type Inference #128

Closed jongleb closed 1 month ago

jongleb commented 8 months ago

This pull request enhances the coalesce function to provide accurate type inference. Previously, coalesce didn't behave as expected, but with this update, it correctly outputs a not null type if any of the parameters are not null.

Khady commented 8 months ago

nitpick, but @jongleb I think you can get commit messages that are a bit more descriptive than just "coalesce"