diff --git a/plugins/parquet/parquetembed.cpp b/plugins/parquet/parquetembed.cpp index debf1693e3c..2581964b9af 100644 --- a/plugins/parquet/parquetembed.cpp +++ b/plugins/parquet/parquetembed.cpp @@ -121,7 +121,7 @@ ParquetHelper::ParquetHelper(const char *option, const char *_location, const ch parquet_doc = std::vector(rowsize); - partition = strlen(option) > 5; + partition = String(option).endsWith("partition"); } ParquetHelper::~ParquetHelper()