Dandandan commented on code in PR #1591: URL: https://github.com/apache/datafusion-sqlparser-rs/pull/1591#discussion_r1883876303
########## src/keywords.rs: ########## @@ -973,3 +973,61 @@ pub const RESERVED_FOR_IDENTIFIER: &[Keyword] = &[ Keyword::STRUCT, Keyword::TRIM, ]; + +pub const NA: usize = usize::MAX; + +#[rustfmt::skip] +pub const KEYWORD_LOOKUP_INDEX_ROOT: &[usize; 26] = &[ Review Comment: I think this is not super maintainable (needs to be updated manually when adding keywords). -- 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: github-unsubscr...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org