mdroogh commented on code in PR #13727:
URL: https://github.com/apache/datafusion/pull/13727#discussion_r1880137800
##########
datafusion/core/src/datasource/avro_to_arrow/schema.rs:
##########
@@ -144,14 +148,17 @@ fn schema_to_field_with_props(
AvroSchema::Decimal(DecimalSchema {
precision, scale, ..
}) => DataType::Decimal128(*precision as u8, *scale as i8),
+ AvroSchema::BigDecimal => DataType::LargeBinary,
Review Comment:
I tend to agree, it's not very clear what would be the best mapping.
If it has the preference, we can also set it to "todo!()" that was done for
some other types.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]