alamb commented on issue #15173: URL: https://github.com/apache/datafusion/issues/15173#issuecomment-2847003930
> I think a good first step would be figuring out how to abstract out the partition columns so that the existing ListingTable can work without any special code in core. I agree -- this would make a lot of sense. Maybe we could do something like pul `PartitionColumnProjector` out of `FileStream`: https://github.com/apache/datafusion/blob/3e086643ec79a01bb9614f2a3ab2d580a011171c/datafusion/datasource/src/file_stream.rs#L61-L62 And then making another stream wrapper that did the projecting ```rust /// Adds partitoning columns to an inner stream pub struct PartitionColumnStream<S> { pc_projector: PartitionColumnProjector, inner: S } ``` 🤔 -- 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