Closed albertZhangTJ closed 6 months ago
Enforcing these using current CFG features is doable but will make the rule rather long.
On the other hand I dunno if it's a good idea to introduce a separate mechanism for this is worth it...
Prolly gonna experiment more too see how often these issues arise and then decide.
That kind of design is actually intentional (so that parser can recognize the input, and semantic evaluation can provide a more meaningful error message to the user).
We decided no separate mechanism shall be implemented for this.
However, this kind of trade-offs will be mentioned in the paper.
Wont fix
For example, in mysql temporary tables cannot have partitions, so these two optional parts cannot be generated together.