API Reference

HiveParamsConfig

class monad.config.data_source.clients.HiveParamsConfig

Defines the connection parameters for Apache Hive.

from monad.config.data_source.clients import HiveParamsConfig

HiveParamsConfig(DSN="SmokeTests")
Parameters

DSN : str | None
DSN used for the connection.


Driver: str | None
Default: None
Path to connection driver.


Port : str | None
Default: None
Connection port.


HiveServerType: int | None
Default: None
Type of Hive server.


Additional parameters from Apache Hive Configuration Properties can also be passed to this class. Each parameter should have prefix SSP_. Please, note that in such case parameters have to be passed via dictionary, due to dot characters in parameter names.

from monad.config.data_source.clients import HiveParamsConfig

HiveParamsConfig(
  **{
  "DSN": "SmokeTests",
  "SSP_hive.test.mode.samplefreq": 100,
  }
)