You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/11/18 05:36:58 UTC
[GitHub] [arrow-datafusion] HaoYang670 commented on pull request #4268: Return parse error for invalid sql syntax
HaoYang670 commented on PR #4268:
URL: https://github.com/apache/arrow-datafusion/pull/4268#issuecomment-1319572522
For `COMPRESSION TYPE`, things go a little different, as `COMPRESSION` isn't a `Keyword` in sqlparser. We can either wait for the `sqlparser` to update, or we can fix in datafusion with a different way:
```rust
fn parse_has_file_compression_type(&mut self) -> Result<bool, ParserError> {
// return error if finding `compression` but not find `TYPE`
}
```
--
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-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org