razeghi71 opened a new pull request, #8501: URL: https://github.com/apache/arrow-datafusion/pull/8501
## Which issue does this PR close? Closes #8262 ## Rationale for this change Previously in https://github.com/apache/arrow-datafusion/commit/c9330bc09e583734aed721a208a0684118b170f1 we changed the default empty value for lower and upper bound from `ScalarValue::Null` to `ScalarValue::try_from(field.data_type())`. but the drawback of this was that for the types that this wasn't implemented (as mentioned in the issue for `Map`), this cause the queries to fail. To fix this we can either implement this for other data types (for map I did a prototype in #8488), or fall back on `Null` which I did in this PR. ## What changes are included in this PR? Explained above. ## Are these changes tested? I tested it using the query provided in the issue. ## Are there any user-facing changes? No -- 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]
