JanKaul commented on issue #55:
URL: https://github.com/apache/iceberg-rust/issues/55#issuecomment-1702539110
Your talking about a case where the query engine doesn't know what kind of
entity its dealing with. In that case I think it should just use `load_entity`
and then match on the result, like so:
```
match load_entity(identifier) {
TableLike::Table(table) => {
<process1>
},
TableLike::View(view) => {
<process1>
}
}
```
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]