From 5596785cd49762c53425309c3a4005b253ae4f24 Mon Sep 17 00:00:00 2001 From: Nghia Truong Date: Wed, 26 May 2021 14:18:43 -0600 Subject: [PATCH] Fix doc --- cpp/src/structs/utilities.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cpp/src/structs/utilities.cpp b/cpp/src/structs/utilities.cpp index 2a1ab8a5748..79895651c7c 100644 --- a/cpp/src/structs/utilities.cpp +++ b/cpp/src/structs/utilities.cpp @@ -97,8 +97,8 @@ struct flattened_table { // we should always do that if the structs column has any null element. // In addition, we should check for null by calling to `has_nulls()`, not `nullable()`. // This is because when comparing structs columns, if one column has bitmask while the other - // does not (and both columns do not have any null element) then flattening them will result - // in tables with different number of columns. + // does not (and both columns do not have any null element) then flattening them using + // `nullable()` will result in tables with different number of columns. if (nullability == column_nullability::FORCE || col.has_nulls()) { validity_as_column.push_back(cudf::is_valid(col)); if (col.has_nulls()) {