mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 17:41:59 +00:00
change as request
This commit is contained in:
parent
4f9429d2e4
commit
9866d2727e
@ -242,7 +242,7 @@ bool ORCBlockInputFormat::prepareStripeReader()
|
||||
|
||||
current_stripe_info = file_reader->getStripe(current_stripe);
|
||||
if (!current_stripe_info->getNumberOfRows())
|
||||
return false;
|
||||
throw Exception(ErrorCodes::INCORRECT_DATA, "ORC stripe {} has no rows", current_stripe);
|
||||
|
||||
orc::RowReaderOptions row_reader_options;
|
||||
row_reader_options.include(include_indices);
|
||||
@ -363,7 +363,7 @@ void ORCColumnToCHColumn::orcTableToCHChunk(
|
||||
orcColumnsToCHChunk(res, name_to_column_ptr, num_rows, block_missing_values);
|
||||
}
|
||||
|
||||
/// Creates a null bytemap from arrow's null bitmap
|
||||
/// Creates a null bytemap from ORC's not-null bytemap
|
||||
static ColumnPtr readByteMapFromORCColumn(const orc::ColumnVectorBatch * orc_column)
|
||||
{
|
||||
if (!orc_column->hasNulls)
|
||||
|
Loading…
Reference in New Issue
Block a user