This commit is contained in:
lgbo-ustc 2024-04-11 15:59:04 +08:00
parent a87fb7dc84
commit d2e840f60a
2 changed files with 1 additions and 5 deletions

View File

@ -10,9 +10,6 @@
#include <DataTypes/Serializations/SerializationNullable.h>
#include <DataTypes/getLeastSupertype.h>
#include <Poco/Logger.h>
#include <Common/logger_useful.h>
namespace DB
{
@ -61,7 +58,6 @@ JSONEachRowRowInputFormat::JSONEachRowRowInputFormat(
}
}
}
LOG_ERROR(getLogger("JSONEachRowRowInputFormat"), "xxx throw on duplicated fields: {}", format_settings_.json.throw_on_duplicated_fields);
}
const String & JSONEachRowRowInputFormat::columnName(size_t i) const

View File

@ -9,7 +9,7 @@
f6 Nullable(UInt64),
f7 Nullable(String),
f8 Nullable(String)
) ENGINE = File(JSONEachRow)</create_query>
) ENGINE = File(JSONEachRow) settings input_format_json_throw_on_duplicated_fields=0 </create_query>
<fill_query>
insert into t
select