Skip to content

Commit

Permalink
just for test
Browse files Browse the repository at this point in the history
  • Loading branch information
amorynan committed Dec 26, 2024
1 parent b6a48f2 commit 3e5a049
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 26 deletions.
4 changes: 0 additions & 4 deletions be/src/runtime/jsonb_value.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,7 @@

#include "common/status.h"
#include "util/hash_util.hpp"
#ifdef __AVX2__
#include "util/jsonb_parser_simd.h"
#else
#include "util/jsonb_parser.h"
#endif

namespace doris {

Expand Down
4 changes: 0 additions & 4 deletions be/src/vec/columns/column_object.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,7 @@
#include "vec/data_types/get_least_supertype.h"
#include "vec/json/path_in_data.h"

#ifdef __AVX2__
#include "util/jsonb_parser_simd.h"
#else
#include "util/jsonb_parser.h"
#endif

namespace doris::vectorized {
#include "common/compile_check_begin.h"
Expand Down
4 changes: 0 additions & 4 deletions be/src/vec/data_types/serde/data_type_jsonb_serde.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,7 @@
#include "exprs/json_functions.h"
#include "runtime/jsonb_value.h"

#ifdef __AVX2__
#include "util/jsonb_parser_simd.h"
#else
#include "util/jsonb_parser.h"
#endif
namespace doris {
namespace vectorized {
#include "common/compile_check_begin.h"
Expand Down
4 changes: 0 additions & 4 deletions be/src/vec/data_types/serde/data_type_object_serde.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,7 @@
#include "vec/core/field.h"
#include "vec/core/types.h"

#ifdef __AVX2__
#include "util/jsonb_parser_simd.h"
#else
#include "util/jsonb_parser.h"
#endif

namespace doris {

Expand Down
2 changes: 0 additions & 2 deletions be/src/vec/exec/format/json/new_json_reader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -183,12 +183,10 @@ Status NewJsonReader::init_reader(
// _decompressor may be nullptr if this is not a compressed file
RETURN_IF_ERROR(Decompressor::create_decompressor(_file_compress_type, &_decompressor));

#ifdef __AVX2__
if (config::enable_simdjson_reader) {
RETURN_IF_ERROR(_simdjson_init_reader());
return Status::OK();
}
#endif

RETURN_IF_ERROR(_get_range_params());

Expand Down
4 changes: 0 additions & 4 deletions be/src/vec/functions/function_json.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,7 @@
#include "common/status.h"
#include "exprs/json_functions.h"
#include "vec/io/io_helper.h"
#ifdef __AVX2__
#include "util/jsonb_parser_simd.h"
#else
#include "util/jsonb_parser.h"
#endif
#include "common/cast_set.h"
#include "util/string_parser.hpp"
#include "util/string_util.h"
Expand Down
4 changes: 0 additions & 4 deletions be/src/vec/functions/function_jsonb.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,7 @@
#include "udf/udf.h"
#include "util/jsonb_document.h"
#include "util/jsonb_error.h"
#ifdef __AVX2__
#include "util/jsonb_parser_simd.h"
#else
#include "util/jsonb_parser.h"
#endif
#include "util/jsonb_stream.h"
#include "util/jsonb_utils.h"
#include "util/jsonb_writer.h"
Expand Down

0 comments on commit 3e5a049

Please sign in to comment.