Skip to content

Commit

Permalink
Fix partition condition for user input.
Browse files Browse the repository at this point in the history
  • Loading branch information
jackdelv committed Sep 18, 2023
1 parent f1aea96 commit 2cd9874
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/parquet/parquetembed.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ ParquetHelper::ParquetHelper(const char *option, const char *_location, const ch

parquet_doc = std::vector<rapidjson::Document>(rowsize);

partition = strlen(option) > 5;
partition = String(option).endsWith("partition");
}

ParquetHelper::~ParquetHelper()
Expand Down

0 comments on commit 2cd9874

Please sign in to comment.