Skip to content

Commit

Permalink
fix: fix args parser
Browse files Browse the repository at this point in the history
  • Loading branch information
sundy-li committed May 5, 2024
1 parent 1d35e8e commit c25a31e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion driver/src/rest_api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ impl Connection for RestAPIConnection {
let mut data = data;
let mut size = size;

if file_format_options.get("compression").is_none() {
if !file_format_options.contains_key("compression") {
let mut buffer = Vec::new();
let real_size = data.read_to_end(&mut buffer).await?;
if real_size != size as usize && size != 0 {
Expand Down

0 comments on commit c25a31e

Please sign in to comment.