paleolimbot commented on issue #477: URL: https://github.com/apache/sedona-db/issues/477#issuecomment-3706693935
Thank you for opening + tracking this down! `join_selection` is a DataFusion optimizer rule and it looks like this was reported several times ( https://github.com/apache/datafusion/issues/15136 , https://github.com/apache/datafusion/issues/15136 ) and theoretically fixed ( https://github.com/apache/datafusion/pull/16221 ) although clearly there's a case missing. As a workaround we can probably strip schema metadata in `create_data_frame()`. We have at least one record batch reader utility here and we could add another one that overrides the schema with a metadataless one if there is, in fact metadata. https://github.com/apache/sedona-db/blob/109e77262765bd58f0186a9a013ef5297248791f/rust/sedona-datasource/src/utility.rs#L24-L33 -- 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]
