Classes | Functions
Table

Classes

class  cudf::table
 A set of cudf::column's of the same size. More...
 
class  cudf::table_view
 A set of cudf::column_view's of the same size. More...
 
class  cudf::mutable_table_view
 A set of mutable_column_views of the same size. More...
 

Functions

bool cudf::tables_equal (table_view const &left, table_view const &right, null_equality nulls_equal=null_equality::EQUAL, rmm::cuda_stream_view stream=cudf::get_default_stream())
 Check if two tables are equal. More...
 

Detailed Description

Function Documentation

◆ tables_equal()

bool cudf::tables_equal ( table_view const &  left,
table_view const &  right,
null_equality  nulls_equal = null_equality::EQUAL,
rmm::cuda_stream_view  stream = cudf::get_default_stream() 
)

Check if two tables are equal.

Returns true if the input tables have the same number of rows, the same number of columns, matching column types, and every row in left compares equal to the row at the same index in right. Null equality is controlled by nulls_equal. Floating point NaN values compare equal.

Exceptions
cudf::logic_errorif the tables contain EMPTY types.
Parameters
leftThe first table to compare
rightThe second table to compare
nulls_equalFlag to denote if null elements should be considered equal
streamCUDA stream used for device memory operations and kernel launches
Returns
true if the tables are equal, false otherwise