marvinlanhenke commented on issue #10926: URL: https://github.com/apache/datafusion/issues/10926#issuecomment-2171055990
@alamb ...should we also change the signature and return `Result<Uint64Array>`? This however, would require to downcast_ref the result from `new_null_array` and clone the result. Something like: ```Rust let Some(parquet_index) = self.parquet_index else { return Ok(self .make_null_array(&DataType::UInt64, metadatas) .as_any() .downcast_ref::<UInt64Array>() .expect("failed to downcast array") .clone()); }; ``` -- 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: github-unsubscr...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org