Skip to content

Commit

Permalink
minor: fix doc/typo (#7341)
Browse files Browse the repository at this point in the history
  • Loading branch information
jackwener authored Aug 19, 2023
1 parent d470350 commit 3bd6853
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions datafusion/sql/src/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ fn parse_file_type(s: &str) -> Result<String, ParserError> {
/// (format parquet,
/// partitions 16,
/// row_group_limit_rows 100000,
// row_group_limit_bytes 200000
/// row_group_limit_bytes 200000
/// )
///
/// COPY (SELECT l_orderkey from lineitem) to 'lineitem.parquet';
Expand Down Expand Up @@ -176,7 +176,7 @@ impl fmt::Display for CreateExternalTable {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
write!(f, "CREATE EXTERNAL TABLE ")?;
if self.if_not_exists {
write!(f, "IF NOT EXSISTS ")?;
write!(f, "IF NOT EXISTS ")?;
}
write!(f, "{} ", self.name)?;
write!(f, "STORED AS {} ", self.file_type)?;
Expand Down

0 comments on commit 3bd6853

Please sign in to comment.