adriangb commented on PR #14362: URL: https://github.com/apache/datafusion/pull/14362#issuecomment-2624775441
> it should be decided by table provider automatically I'm not sure I follow. At some point you have to mark a field as a system column. I used explicit batches / schemas just to make the tests easier, but of course you can do it via a `TableProvider` and register that, you just have to return the right schema from [TableProvider::schema](https://docs.rs/datafusion/latest/datafusion/datasource/trait.TableProvider.html#tymethod.schema). I can add cook up an example of a TableProvider with system columns if you'd like. -- 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