initial commit

This commit is contained in:
Vitaly Stoyan 2021-09-14 21:22:18 +03:00
parent 5a755d1e7c
commit a416fd52d8

View File

@ -367,15 +367,10 @@ static ColumnWithTypeAndName readColumnFromArrowColumn(
}
case arrow::Type::TIMESTAMP:
return readColumnWithTimestampData(arrow_column, column_name);
#if defined(ARCADIA_BUILD)
case arrow::Type::DECIMAL:
return readColumnWithDecimalData<Decimal128, arrow::Decimal128Array>(arrow_column, column_name);
#else
case arrow::Type::DECIMAL128:
return readColumnWithDecimalData<Decimal128, arrow::Decimal128Array>(arrow_column, column_name);
case arrow::Type::DECIMAL256:
return readColumnWithDecimalData<Decimal256, arrow::Decimal256Array>(arrow_column, column_name);
#endif
case arrow::Type::MAP:
{
auto arrow_nested_column = getNestedArrowColumn(arrow_column);