关注 spark技术分享,
撸spark源码 玩spark最佳实践

HiveSessionCatalog — Hive-Specific Catalog of Relational Entities

HiveSessionCatalog — Hive-Specific Catalog of Relational Entities

HiveSessionCatalog is a session-scoped catalog of relational entities that is used when SparkSession was created with Hive support enabled.

spark sql HiveSessionCatalog.png
Figure 1. HiveSessionCatalog and HiveSessionStateBuilder

HiveSessionCatalog is available as catalog property of SessionState when SparkSession was created with Hive support enabled (that in the end sets spark.sql.catalogImplementation internal configuration property to hive).

HiveSessionCatalog is created exclusively when HiveSessionStateBuilder is requested for the SessionCatalog.

HiveSessionCatalog uses the legacy HiveMetastoreCatalog (which is another session-scoped catalog of relational entities) exclusively to allow RelationConversions logical evaluation rule to convert Hive metastore relations to data source relations when executed.

Creating HiveSessionCatalog Instance

HiveSessionCatalog takes the following when created:

lookupFunction0 Internal Method

lookupFunction0…​FIXME

Note
lookupFunction0 is used when…​FIXME
赞(0) 打赏
未经允许不得转载:spark技术分享 » HiveSessionCatalog — Hive-Specific Catalog of Relational Entities
分享到: 更多 (0)

关注公众号:spark技术分享

联系我们联系我们

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏