From 4d3a8896d9864fa7ecdd583d8d9830013ddcd238 Mon Sep 17 00:00:00 2001 From: amorynan Date: Mon, 4 Nov 2024 15:45:16 +0800 Subject: [PATCH] delete file --- be/src/vec/exec/format/json/new_json_reader.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/be/src/vec/exec/format/json/new_json_reader.cpp b/be/src/vec/exec/format/json/new_json_reader.cpp index 7dfc3c528cd88e..4db2d62b9949e7 100644 --- a/be/src/vec/exec/format/json/new_json_reader.cpp +++ b/be/src/vec/exec/format/json/new_json_reader.cpp @@ -333,11 +333,6 @@ Status NewJsonReader::get_parsed_schema(std::vector* col_names, objectValue = _json_doc; } - if (!objectValue->IsObject()) { - return Status::DataQualityError("JSON data is not an object. but: {}", - objectValue->GetType()); - } - // use jsonpaths to col_names if (!_parsed_jsonpaths.empty()) { for (auto& _parsed_jsonpath : _parsed_jsonpaths) {