3 ms·
Yeah, this seems like the best option. I don't get the author's confusion > Option 2 is weird, how do you determine the cutoff? The cutoff seems obvious. If i
by kevincox 2y ago
Yeah, this seems like the best option. I don't get the author's confusion
> Option 2 is weird, how do you determine the cutoff?
The cutoff seems obvious. If it is currently always a syntax error allow a comma, if it can be valid syntax preserve the existing behaviour.
I also can't think of any other cases right now, but if needed there can be a few places that don't allow trailing commas. As long as SELECT and CREATE TABLE support it 99% of the benefit will be there.