Xuanwo commented on issue #55:
URL: https://github.com/apache/iceberg-rust/issues/55#issuecomment-1702429532

   > Can you think of an ideal design for databend that supports tables and 
views?
   
   Databend has a `TableMeta` that carries the `engine` used by this table: 
https://github.com/datafuselabs/databend/blob/main/src/meta/app/src/schema/table.rs#L217
   
   ```rust
   pub struct TableMeta {
       pub schema: Arc<TableSchema>,
       pub catalog: String,
       pub engine: String,
       pub engine_options: BTreeMap<String, String>,
       ...
   }
   ```
   
   And we designed a special engine called `VIEW`. When we found that this 
table is using `VIEW` engine, we will built the `ViewTable` with given metadata 
and information and performs the real query.


-- 
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]

Reply via email to