talatuyarer opened a new issue, #17858:
URL: https://github.com/apache/iceberg/issues/17858
### Feature Request / Improvement
Iceberg has a full view spec and `ViewCatalog` API (implemented by REST,
Hive, JDBC,
Nessie, and InMemory catalogs), and Spark + Trino already read and write
Iceberg views —
but the Flink connector has no view support today.
I plan to implement this as a series of small PRs against flink v2.1:
1. **Read path** — `getTable` returning `CatalogView` (SELECT / DESCRIBE),
`SHOW VIEWS`,
views included in `listTables` per Flink's contract, view-aware
`tableExists`.
Views store the original (as-typed) SQL under the `flink` dialect with
`default-namespace` set, matching the view spec; reads use
`View#sqlFor("flink")`.
2. **Write path** — `CREATE VIEW` / `DROP VIEW` / `ALTER VIEW ... RENAME`
routed to the
underlying `ViewCatalog`.
3. **ALTER VIEW AS + refinements** — view version replace, property updates,
and docs.
### Query engine
Flink
### Willingness to contribute
- [x] I can contribute this improvement/feature independently
- [ ] I would be willing to contribute this improvement/feature with
guidance from the Iceberg community
- [ ] I cannot contribute this improvement/feature at this time
--
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]