Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
LemonLiTree committed Sep 18, 2023
1 parent 1755b22 commit 94b1eee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions be/src/vec/functions/function_jsonb.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1040,7 +1040,7 @@ struct JsonbLengthUtil {
std::tie(jsonb_data_column, jsonb_data_const) =
unpack_if_const(block.get_by_position(arguments[0]).column);
check_set_nullable(jsonb_data_column, null_map, jsonb_data_const);
LOG(INFO) << "jsonb_data_column" << jsonb_data_column->is_null_at(0) ;
LOG(INFO) << "jsonb_data_column(" << block.get_by_position(arguments[0]).column->is_null_at(0) << ")" ;
LOG(INFO) << "null_map" << null_map->get_data()[0] ;

ColumnPtr path_column;
Expand All @@ -1059,7 +1059,7 @@ struct JsonbLengthUtil {
path_value.size));
}
}
auto res = ColumnInt32::create();
auto res = ColumnInt32::create(input_rows_count,0);

for (size_t i = 0; i < input_rows_count; ++i) {
if (null_map->get_data()[i]) {
Expand Down

0 comments on commit 94b1eee

Please sign in to comment.