Skip to content

Commit

Permalink
Merge pull request #17910 from jackdelv/HPCC-30561
Browse files Browse the repository at this point in the history
HPCC-30561 ECL DATA datatype not properly written to Parquet files.

Reviewed-By: Dan S. Camper <[email protected]>
Reviewed-by: Gavin Halliday <[email protected]>
Merged-by: Gavin Halliday <[email protected]>
  • Loading branch information
ghalliday authored Oct 24, 2023
2 parents 0c42a34 + e74b187 commit c0ec1dc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions plugins/parquet/parquetembed.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1488,8 +1488,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);
}
Expand Down

0 comments on commit c0ec1dc

Please sign in to comment.