Skip to content

Commit 210f686

Browse files
authored
Merge pull request #70 from ClickHouse/ncb/remove-asserts
remove debug table validation checks
2 parents 214fd3c + ce05e8c commit 210f686

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

cpp/src/arrow/table.cc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -619,7 +619,6 @@ TableBatchReader::TableBatchReader(const Table& table)
619619
for (int i = 0; i < table.num_columns(); ++i) {
620620
column_data_[i] = table.column(i).get();
621621
}
622-
DCHECK(table_.Validate().ok());
623622
}
624623

625624
TableBatchReader::TableBatchReader(std::shared_ptr<Table> table)
@@ -633,7 +632,6 @@ TableBatchReader::TableBatchReader(std::shared_ptr<Table> table)
633632
for (int i = 0; i < owned_table_->num_columns(); ++i) {
634633
column_data_[i] = owned_table_->column(i).get();
635634
}
636-
DCHECK(table_.Validate().ok());
637635
}
638636

639637
std::shared_ptr<Schema> TableBatchReader::schema() const { return table_.schema(); }

0 commit comments

Comments
 (0)