Why is V2SessionCatalog not a CatalogExtension?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Why is V2SessionCatalog not a CatalogExtension?

Jacek Laskowski
Hi,

Just started exploring Catalog Plugin API and noticed these two classes: CatalogExtension and V2SessionCatalog.

Why is V2SessionCatalog not a CatalogExtension?

- V2SessionCatalog extends TableCatalog with SupportsNamespaces [1]
- CatalogExtension extends TableCatalog, SupportsNamespaces [2]

Reply | Threaded
Open this post in threaded view
|

Re: Why is V2SessionCatalog not a CatalogExtension?

RussS
A v2catalog can stand alone, it doesn't have to extend the built in catalog.

On Sat, Aug 8, 2020, 7:36 AM Jacek Laskowski <[hidden email]> wrote:
Hi,

Just started exploring Catalog Plugin API and noticed these two classes: CatalogExtension and V2SessionCatalog.

Why is V2SessionCatalog not a CatalogExtension?

- V2SessionCatalog extends TableCatalog with SupportsNamespaces [1]
- CatalogExtension extends TableCatalog, SupportsNamespaces [2]