Hi,
I've been exploring the Calcite parser and encountered a specific sequence in the parsing of nodes in the syntax tree. It appears that the ORDER_BY node is visited before the SELECT node in the parsing process. I'm curious if this order of node visitation is an expected behavior, and whether there is a means to modify the sequence to have the parser visit the SELECT node before ORDER_BY. Your assistance on this matter would be greatly appreciated. Best regards, David