From a4233165ec20c9817fc27871fdfa8e669fbeb63f Mon Sep 17 00:00:00 2001 From: DevmateCppModernizeFindToContains Bot Date: Sun, 6 Sep 2026 08:31:50 -0700 Subject: [PATCH] fbcode/axiom/connectors/hive/LocalHiveConnectorMetadata.cpp Reviewed By: dtolnay Differential Revision: D118116026 --- axiom/connectors/hive/LocalHiveConnectorMetadata.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/axiom/connectors/hive/LocalHiveConnectorMetadata.cpp b/axiom/connectors/hive/LocalHiveConnectorMetadata.cpp index 6fe78a563..8d76db110 100644 --- a/axiom/connectors/hive/LocalHiveConnectorMetadata.cpp +++ b/axiom/connectors/hive/LocalHiveConnectorMetadata.cpp @@ -981,7 +981,7 @@ CreateTableOptions parseCreateTableOptions( } } else { VELOX_USER_CHECK( - options.find(HiveWriteOptions::kSortedBy) == options.end(), + !options.contains(HiveWriteOptions::kSortedBy), "sorted_by requires bucketed_by"); }