mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-03 04:52:10 +00:00
Fix style, remove commented code
This commit is contained in:
parent
ef3dbf8192
commit
512abfe511
@ -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(
|
||||
|
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user