mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-08-06 15:28:02 +00:00
NULL need to be detected in COPY
This commit is contained in:
parent
5abd9e7dec
commit
ba8a9bd48f
3 changed files with 8 additions and 1 deletions
|
@ -656,6 +656,10 @@ impl Parser {
|
|||
Token::Backslash => {
|
||||
if let Ok(true) = self.consume_token(&Token::Period) {
|
||||
return Ok(values);
|
||||
}if let Some(token) = self.next_token(){
|
||||
if token == Token::Identifier("N".to_string()){
|
||||
values.push(Value::Null);
|
||||
}
|
||||
}else{
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue