Skip to content

Commit

Permalink
fix build error
Browse files Browse the repository at this point in the history
  • Loading branch information
hubgeter committed Sep 12, 2023
1 parent e8314c8 commit adc834e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion be/src/exec/text_converter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ bool TextConverter::_write_data(const TypeDescriptor& type_desc,
kv = i;
continue;
}
if ((i == slice.size || slice[i] == collection_delimiter) && i >= kv + 1) {
if ((i == len || data[i] == _collection_delimiter) && i >= kv + 1) {
ranges.push_back({from, kv, i - 1});
from = i + 1;
kv = from;
Expand Down

0 comments on commit adc834e

Please sign in to comment.