Skip to content

Commit

Permalink
Reverse row_operator.cu
Browse files Browse the repository at this point in the history
Signed-off-by: Nghia Truong <[email protected]>
  • Loading branch information
ttnghia committed Mar 3, 2023
1 parent 3f6f2f3 commit 3609edf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cpp/src/table/row_operators.cu
Original file line number Diff line number Diff line change
Expand Up @@ -285,13 +285,13 @@ void check_lex_compatibility(table_view const& input)
column_checker_fn_t check_column = [&](column_view const& c) {
if (c.type().id() == type_id::LIST) {
auto const& list_col = lists_column_view(c);
// CUDF_EXPECTS(list_col.child().type().id() != type_id::STRUCT,
// "Cannot lexicographic compare a table with a LIST of STRUCT column");
CUDF_EXPECTS(list_col.child().type().id() != type_id::STRUCT,
"Cannot lexicographic compare a table with a LIST of STRUCT column");
check_column(list_col.child());
} else if (c.type().id() == type_id::STRUCT) {
for (auto child = c.child_begin(); child < c.child_end(); ++child) {
// CUDF_EXPECTS(child->type().id() != type_id::LIST,
// "Cannot lexicographic compare a table with a STRUCT of LIST column");
CUDF_EXPECTS(child->type().id() != type_id::LIST,
"Cannot lexicographic compare a table with a STRUCT of LIST column");
check_column(*child);
}
}
Expand Down

0 comments on commit 3609edf

Please sign in to comment.