mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-18 21:51:57 +00:00
Fix build errors
This commit is contained in:
parent
f6ab431f2f
commit
2a923f434f
@ -148,7 +148,7 @@ void ORCBlockOutputFormat::ORCBlockOutputFormat::writeNumbers(
|
|||||||
number_orc_column->notNull[i] = 0;
|
number_orc_column->notNull[i] = 0;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (std::is_same_v<NumberType, UInt8>)
|
if constexpr (std::is_same<NumberType, UInt8>::value)
|
||||||
number_orc_column->data[i] = static_cast<unsigned char>(number_column.getElement(i));
|
number_orc_column->data[i] = static_cast<unsigned char>(number_column.getElement(i));
|
||||||
else
|
else
|
||||||
number_orc_column->data[i] = number_column.getElement(i);
|
number_orc_column->data[i] = number_column.getElement(i);
|
||||||
|
@ -55,7 +55,7 @@ private:
|
|||||||
|
|
||||||
void writeColumn(orc::ColumnVectorBatch * orc_column, const IColumn & column, DataTypePtr & type, const PaddedPODArray<UInt8> * null_bytemap);
|
void writeColumn(orc::ColumnVectorBatch * orc_column, const IColumn & column, DataTypePtr & type, const PaddedPODArray<UInt8> * null_bytemap);
|
||||||
|
|
||||||
size_t getColumnSize(const IColumn & column, DataTypePtr & ptr);
|
size_t getColumnSize(const IColumn & column, DataTypePtr & type);
|
||||||
size_t getMaxColumnSize(Chunk & chunk);
|
size_t getMaxColumnSize(Chunk & chunk);
|
||||||
|
|
||||||
const FormatSettings format_settings;
|
const FormatSettings format_settings;
|
||||||
|
Loading…
Reference in New Issue
Block a user