Skip to content

Commit b7fa91b

Browse files
bharatncvitlibar
authored andcommitted
Merge pull request #70 from ClickHouse/ncb/remove-asserts
remove debug table validation checks (cherry picked from commit 210f686)
1 parent 1040033 commit b7fa91b

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

cpp/src/arrow/table.cc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -654,7 +654,6 @@ TableBatchReader::TableBatchReader(const Table& table)
654654
for (int i = 0; i < table.num_columns(); ++i) {
655655
column_data_[i] = table.column(i).get();
656656
}
657-
DCHECK(table_.Validate().ok());
658657
}
659658

660659
TableBatchReader::TableBatchReader(std::shared_ptr<Table> table)
@@ -668,7 +667,6 @@ TableBatchReader::TableBatchReader(std::shared_ptr<Table> table)
668667
for (int i = 0; i < owned_table_->num_columns(); ++i) {
669668
column_data_[i] = owned_table_->column(i).get();
670669
}
671-
DCHECK(table_.Validate().ok());
672670
}
673671

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

0 commit comments

Comments
 (0)