From e74b187f39dd9bca36143f91fa4e73c669d97572 Mon Sep 17 00:00:00 2001 From: Jack Del Vecchio Date: Tue, 17 Oct 2023 16:05:55 +0000 Subject: [PATCH] HPCC-30561 ECL DATA datatype not properly written to Parquet files. --- plugins/parquet/parquetembed.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugins/parquet/parquetembed.cpp b/plugins/parquet/parquetembed.cpp index 749b14d35b6..46b96f45b15 100644 --- a/plugins/parquet/parquetembed.cpp +++ b/plugins/parquet/parquetembed.cpp @@ -1437,8 +1437,7 @@ void bindDataParam(unsigned len, const char *value, const RtlFieldInfo *field, s rapidjson::Value key; key.SetString(field->name, jsonAlloc); rapidjson::Value val; - size32_t utf8size = rtlUtf8Size(len, value); - val.SetString(value, utf8size, jsonAlloc); + val.SetString(value, len, jsonAlloc); addMember(r_parquet, key, val); }