Skip to content

Commit

Permalink
fix build gtest code due to ClickHouse/ClickHouse#55696
Browse files Browse the repository at this point in the history
  • Loading branch information
baibaichen committed Dec 6, 2023
1 parent 0b74898 commit 47c78e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cpp-ch/local-engine/tests/gtest_parquet_write.cpp
Expand Up @@ -26,11 +26,11 @@
#include <DataTypes/DataTypeMap.h>
#include <DataTypes/DataTypeNullable.h>
#include <DataTypes/DataTypeString.h>
#include <Formats/FormatSettings.h>
#include <Processors/Formats/Impl/ArrowColumnToCHColumn.h>
#include <Processors/Formats/Impl/CHColumnToArrowColumn.h>
#include <arrow/table.h>
#include <gtest/gtest.h>

using namespace DB;

template <typename Column>
Expand Down Expand Up @@ -199,7 +199,7 @@ TEST(ParquetWrite, ComplexTypes)
ch2arrow.chChunkToArrowTable(arrow_table, input_chunks, header.columns());

/// Convert Arrow Table to CH Block
ArrowColumnToCHColumn arrow2ch(header, "Parquet", true, true, true);
ArrowColumnToCHColumn arrow2ch(header, "Parquet", true, true, FormatSettings::DateTimeOverflowBehavior::Ignore, true);
Chunk output_chunk;
arrow2ch.arrowTableToCHChunk(output_chunk, arrow_table, arrow_table->num_rows());

Expand Down

0 comments on commit 47c78e9

Please sign in to comment.