FLINK-16471 introduce a JDBCCatalog, which implements Catalog interface. Currently we only support PostgresCatalog and listTables(). If you want to get the list of views, you can implement listViews() (currently return an empty list).
*Best Regards,* *Zhenghua Gao* On Thu, Apr 23, 2020 at 8:48 PM Flavio Pompermaier <pomperma...@okkam.it> wrote: > Hi all, > is there a way to get the list of existing views in a JDBC database? > Is this something that could be supported somehow? > > Moreover, it would be interesting for us to also know the original field > type of a table..is there a way to get it (without implementing a dedicated > API)? Do you think it makes sense to expose it in the Table API? > > Best, > Flavio >