An ExternalCatalog implementation for the smart connector mode.
An ExternalCatalog implementation for the smart connector mode.
Note that unlike other ExternalCatalog implementations, this is created one for each session
rather than being a singleton in the SharedState because each request needs to be authenticated
independently using the credentials of the user that created the session. Consequently calls
to "sharedState.externalCatalog()" will return null in smart connector mode and should never
be used. For internal code paths in Spark that use it, an alternative dummy global might
be added later that switches the user authentication using thread-locals or similar, but as
of now it is used only by some hive insert paths which are not used in SnappySessionState.
An ExternalCatalog implementation for the smart connector mode.
Note that unlike other ExternalCatalog implementations, this is created one for each session rather than being a singleton in the SharedState because each request needs to be authenticated independently using the credentials of the user that created the session. Consequently calls to "sharedState.externalCatalog()" will return null in smart connector mode and should never be used. For internal code paths in Spark that use it, an alternative dummy global might be added later that switches the user authentication using thread-locals or similar, but as of now it is used only by some hive insert paths which are not used in SnappySessionState.