From 3d2ed3b77315d92374d2cc9e4e7a9cf1ec6e9174 Mon Sep 17 00:00:00 2001 From: Chang Chen Date: Thu, 8 Aug 2024 15:57:42 +0800 Subject: [PATCH] Revert "[GLUTEN-6262][CH]Json input format ignore key case #6263" due to https://github.com/ClickHouse/ClickHouse/pull/67484 revert https://github.com/ClickHouse/ClickHouse/pull/61750 This reverts commit 2be6c86bef0a5de834ec4a88276787cfcd453aed. --- .../src/test/resources/text-data/json-settings/data.txt | 1 - cpp-ch/local-engine/Common/CHUtil.cpp | 1 - 2 files changed, 2 deletions(-) diff --git a/backends-clickhouse/src/test/resources/text-data/json-settings/data.txt b/backends-clickhouse/src/test/resources/text-data/json-settings/data.txt index 230b46ec38038..0541ce3469a71 100644 --- a/backends-clickhouse/src/test/resources/text-data/json-settings/data.txt +++ b/backends-clickhouse/src/test/resources/text-data/json-settings/data.txt @@ -1,5 +1,4 @@ {"a":1,"b":2,"c":3} -{"a":"a5", "B":"b6", "c":7} {"a":"4"} {"t":{"ta":"cc","tb":100,"tc":1.234}} {"t":{"ta":"cc","tb":100,"td":"ignore"}} diff --git a/cpp-ch/local-engine/Common/CHUtil.cpp b/cpp-ch/local-engine/Common/CHUtil.cpp index d32eed92340a4..35b4f0c97806f 100644 --- a/cpp-ch/local-engine/Common/CHUtil.cpp +++ b/cpp-ch/local-engine/Common/CHUtil.cpp @@ -781,7 +781,6 @@ void BackendInitializerUtil::initSettings(std::map & b settings.set("input_format_parquet_import_nested", true); settings.set("input_format_json_read_numbers_as_strings", true); settings.set("input_format_json_read_bools_as_numbers", false); - settings.set("input_format_json_case_insensitive_column_matching", true); settings.set("input_format_csv_trim_whitespaces", false); settings.set("input_format_csv_allow_cr_end_of_line", true); settings.set("output_format_orc_string_as_string", true);