Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
wcy-fdu committed Jan 7, 2025
1 parent 2f9b1d9 commit 427c3fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/frontend/src/expr/table_function.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ impl TableFunction {
// file format e.g. parquet
// storage type e.g. s3, gcs
// For s3: file_scan(file_format, s3, s3_region, s3_access_key, s3_secret_key, file_location_or_directory)
// For gcs: file_scan(file_format, gcs, credential, service_account, file_location_or_directory)
// For gcs: file_scan(file_format, gcs, credential, file_location_or_directory)
if args.len() != 6 && args.len() != 4 {
return Err(BindError("file_scan function only accepts: file_scan('parquet', 's3', s3 region, s3 access key, s3 secret key, file location) or file_scan('parquet', 'gcs', credential, service_account, file location)".to_owned()).into());
}
Expand Down

0 comments on commit 427c3fb

Please sign in to comment.