Skip to content

Commit d26d3b0

Browse files
wanpengfei-gitalvin-phoenix-ai
authored andcommitted
style: auto-fix clang-format issues
1 parent af9d33c commit d26d3b0

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

be/test/exec/arrow_converter_test.cpp

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1883,10 +1883,10 @@ PARALLEL_TEST(ArrowConverterTest, test_string_view_non_nullable_with_nulls) {
18831883
PARALLEL_TEST(ArrowConverterTest, test_string_view_nullable_non_strict_overflow) {
18841884
// Use strings that exceed MAX_CHAR_LENGTH=255 with CHAR type
18851885
std::vector<std::string> values = {
1886-
"short", // fits
1887-
std::string(300, 'x'), // exceeds max
1888-
std::string(10, 'y'), // fits
1889-
std::string(500, 'z'), // exceeds max
1886+
"short", // fits
1887+
std::string(300, 'x'), // exceeds max
1888+
std::string(10, 'y'), // fits
1889+
std::string(500, 'z'), // exceeds max
18901890
};
18911891
auto array = create_string_view_array(values);
18921892

@@ -1909,10 +1909,10 @@ PARALLEL_TEST(ArrowConverterTest, test_string_view_nullable_non_strict_overflow)
19091909
// Oversized strings should be converted to NULL (not filtered)
19101910
ASSERT_EQ(null_data[0], DATUM_NOT_NULL);
19111911
ASSERT_EQ(bin_col->get_slice(0).to_string(), "short");
1912-
ASSERT_EQ(null_data[1], DATUM_NULL); // overflow -> NULL
1912+
ASSERT_EQ(null_data[1], DATUM_NULL); // overflow -> NULL
19131913
ASSERT_EQ(null_data[2], DATUM_NOT_NULL);
19141914
ASSERT_EQ(bin_col->get_slice(2).to_string(), std::string(10, 'y'));
1915-
ASSERT_EQ(null_data[3], DATUM_NULL); // overflow -> NULL
1915+
ASSERT_EQ(null_data[3], DATUM_NULL); // overflow -> NULL
19161916
// All rows should still pass the filter (overflow becomes NULL, not filtered)
19171917
for (size_t i = 0; i < values.size(); ++i) {
19181918
ASSERT_EQ(filter[i], 1);
@@ -1924,10 +1924,10 @@ PARALLEL_TEST(ArrowConverterTest, test_string_view_nullable_non_strict_overflow)
19241924
PARALLEL_TEST(ArrowConverterTest, test_string_view_strict_overflow_with_ctx) {
19251925
// CHAR(10): strings > 10 bytes should be rejected
19261926
std::vector<std::string> values = {
1927-
"short", // 5 bytes, fits
1928-
std::string(15, 'a'), // 15 bytes, exceeds CHAR(10)
1929-
"ok", // 2 bytes, fits
1930-
std::string(20, 'b'), // 20 bytes, exceeds CHAR(10)
1927+
"short", // 5 bytes, fits
1928+
std::string(15, 'a'), // 15 bytes, exceeds CHAR(10)
1929+
"ok", // 2 bytes, fits
1930+
std::string(20, 'b'), // 20 bytes, exceeds CHAR(10)
19311931
};
19321932
auto array = create_string_view_array(values);
19331933

0 commit comments

Comments
 (0)