goldmedal commented on code in PR #1621: URL: https://github.com/apache/datafusion-sqlparser-rs/pull/1621#discussion_r1898893767
########## src/tokenizer.rs: ########## @@ -1141,33 +1141,44 @@ impl<'a> Tokenizer<'a> { let s2 = peeking_take_while(chars, |ch| ch.is_ascii_hexdigit()); return Ok(Some(Token::HexStringLiteral(s2))); } - // match one period - if let Some('.') = chars.peek() { - // Check if this actually is a float point number - let mut char_clone = chars.peekable.clone(); - char_clone.next(); - // Next char should be a digit, otherwise, it is not a float point number - if char_clone - .peek() - .map(|c| c.is_ascii_digit()) - .unwrap_or(false) - { + if self.dialect.support_unquoted_hyphenated_identifiers() { Review Comment: Addressed it in [b1d02f2](https://github.com/apache/datafusion-sqlparser-rs/pull/1621/commits/b1d02f2ab9f8299e21063533ebe88abe78c5741a) The double-value tests are enabled for BigQuery. -- 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