wgtmac commented on code in PR #47242:
URL: https://github.com/apache/arrow/pull/47242#discussion_r2251865624
##########
cpp/src/parquet/types.cc:
##########
@@ -750,8 +750,9 @@ bool LogicalType::is_valid() const {
}
bool LogicalType::is_invalid() const { return !is_valid(); }
bool LogicalType::is_nested() const {
- return (impl_->type() == LogicalType::Type::LIST) ||
- (impl_->type() == LogicalType::Type::MAP);
+ return impl_->type() == LogicalType::Type::LIST ||
+ impl_->type() == LogicalType::Type::MAP ||
+ impl_->type() == LogicalType::Type::VARIANT;
Review Comment:
I believe the word `legacy` is for `converted type` because it also includes
`(if possible)`.
--
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]