Fix style, remove commented code

This commit is contained in:
Vladimir C 2022-10-10 13:16:16 +02:00 committed by avogar
parent ef3dbf8192
commit 512abfe511
2 changed files with 0 additions and 9 deletions

View File

@ -122,13 +122,6 @@ void BSONEachRowRowInputFormat::readBSONObject(MutableColumns & columns)
current_column_name.assign(name_ref.data, name_ref.size);
name_ref = StringRef(current_column_name);
// if (column_index == UNKNOWN_FIELD)
// skipUnknownField(name_ref);
// else if (column_index == NESTED_FIELD)
// readNestedData(name_ref.toString(), columns);
// else
// throw Exception("Logical error: illegal value of column_index", ErrorCodes::LOGICAL_ERROR);
}
if (seen_columns[column_index])
throw Exception(

View File

@ -17,8 +17,6 @@ namespace DB
namespace ErrorCodes
{
extern const int INCORRECT_DATA;
extern const int CANNOT_READ_ALL_DATA;
extern const int LOGICAL_ERROR;
}
BSONEachRowRowOutputFormat::BSONEachRowRowOutputFormat(