xitep opened a new issue, #2099:
URL: https://github.com/apache/datafusion-sqlparser-rs/issues/2099

   Adding span information to the AST node of a `DISTINCT` will require 
changing its structure. As per #1548 I'm opening a ticket for this.
   
   ### Motivation
   
   As described in #1995, or in [oracle's 
docs](https://docs.oracle.com/en/database/oracle/oracle-database/19/tgsql/influencing-the-optimizer.html#GUID-B198573A-C64B-4071-9CD8-738355A20DD7)
 optimiser hints can be placed right after the `SELECT` (and before a possible 
`DISTINCT`.) (Today, parsing the comment out of the original SQL source can be 
done manually by consuming the characters right after the SELECT since its AST 
node has already a `select_token` telling the keywords ends. Ideally we'd also 
have the next token's start.)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to