This is an automated email from the ASF dual-hosted git repository.

alamb pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-datafusion.git


The following commit(s) were added to refs/heads/main by this push:
     new 63e452ace0 Minor: improve error message (#7498)
63e452ace0 is described below

commit 63e452ace04e8fc704aff99457b5503ebd56116d
Author: Andrew Lamb <[email protected]>
AuthorDate: Thu Sep 7 13:38:40 2023 -0400

    Minor: improve error message (#7498)
---
 datafusion/sql/src/parser.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/datafusion/sql/src/parser.rs b/datafusion/sql/src/parser.rs
index 5b9d6d87cf..0e3e475089 100644
--- a/datafusion/sql/src/parser.rs
+++ b/datafusion/sql/src/parser.rs
@@ -758,7 +758,7 @@ impl<'a> DFParser<'a> {
         let token = self.parser.next_token();
         match &token.token {
             Token::Word(w) => parse_file_type(&w.value),
-            _ => self.expected("one of PARQUET, NDJSON, or CSV", token),
+            _ => self.expected("one of ARROW, PARQUET, NDJSON, or CSV", token),
         }
     }
 

Reply via email to