pyflare.sdk.readers package
Submodules
pyflare.sdk.readers.bigquery_reader module
pyflare.sdk.readers.delta_reader module
- class pyflare.sdk.readers.delta_reader.DeltaInputReader(read_config: ReadConfig)[source]
Bases:
FileInputReader
- DELTA_CONF = '[\n ("spark.sql.catalog.spark_catalog","org.apache.spark.sql.delta.catalog.DeltaCatalog"),\n ("spark.sql.extensions", "io.delta.sql.DeltaSparkSessionExtension")\n ]'
pyflare.sdk.readers.elasticsearch_reader module
pyflare.sdk.readers.fastbase_reader module
- class pyflare.sdk.readers.fastbase_reader.FastBaseInputReader(read_config: ReadConfig)[source]
Bases:
Reader
- PULSAR_Options = '[\n ("service.url", "{serviceUrl}"),\n ("admin.url", "{adminUrl}"),\n ("pulsar.admin.authPluginClassName", "org.apache.pulsar.client.impl.auth.AuthenticationToken"),\n ("pulsar.admin.authParams","token:{Apikey}"),\n ("pulsar.client.authPluginClassName","org.apache.pulsar.client.impl.auth.AuthenticationToken"),\n ("pulsar.client.authParams","token:{Apikey}"),\n ("topic","persistent://public/default/{dataset}")\n ]'
pyflare.sdk.readers.file_reader module
pyflare.sdk.readers.iceberg_reader module
- class pyflare.sdk.readers.iceberg_reader.IcebergInputReader(read_config: ReadConfig)[source]
Bases:
FileInputReader
- ICEBERG_CONF = '[\n ("spark.sql.catalog.{catalog_name}", "org.apache.iceberg.spark.SparkCatalog"),\n ("spark.sql.catalog.{catalog_name}.type", "hadoop"),\n ("spark.sql.catalog.{catalog_name}.warehouse", "{depot_base_path}")\n ]'
pyflare.sdk.readers.jdbc_reader module
pyflare.sdk.readers.minerva_reader module
pyflare.sdk.readers.reader module
pyflare.sdk.readers.snowflake_reader module
- class pyflare.sdk.readers.snowflake_reader.SnowflakeInputReader(read_config: ReadConfig)[source]
Bases:
Reader
- SNOWFLAKE_READ_OPTIONS = '{{\n "sfURL": "{connection_url}",\n "sfUser": "{connection_user}",\n "sfPassword": "{connection_password}",\n "sfDatabase": "{connection_database}",\n "sfSchema": "{collection}",\n "sfWarehouse": "{connection_warehouse}",\n "dbtable": "{dataset}"\n }}'