adapta 5.3.2__tar.gz → 5.3.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {adapta-5.3.2 → adapta-5.3.3}/PKG-INFO +1 -1
- {adapta-5.3.2 → adapta-5.3.3}/pyproject.toml +1 -1
- {adapta-5.3.2 → adapta-5.3.3}/pyproject.toml.orig +1 -1
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/query_enabled_store/_qes_iceberg.py +55 -9
- {adapta-5.3.2 → adapta-5.3.3}/README.md +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/__init__.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/_version.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/connectors/__init__.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/connectors/service_bus/__init__.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/connectors/service_bus/_connector.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/dataclass_validation/README.md +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/dataclass_validation/__init__.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/dataclass_validation/dataclass/__init__.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/dataclass_validation/dataclass/dataclass_abstract.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/dataclass_validation/dataclass/dataclass_core.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/dataclass_validation/validation/__init__.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/dataclass_validation/validation/validation.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/dataclass_validation/validation/validation_abstract.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/dataclass_validation/validation/validation_polars.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/dataclass_validation/validation/validation_utils.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/logs/README.md +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/logs/__init__.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/logs/_async_logger.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/logs/_base.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/logs/_internal.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/logs/_internal_logger.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/logs/_logger_interface.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/logs/handlers/__init__.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/logs/handlers/datadog_api_handler.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/logs/handlers/safe_stream_handler.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/logs/models/__init__.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/logs/models/_log_level.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/logs/models/_logs_metadata.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/logs/providers/__init__.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/logs/providers/void_logger.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/metrics/__init__.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/metrics/_base.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/metrics/providers/README.md +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/metrics/providers/__init__.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/metrics/providers/datadog_provider.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/metrics/providers/void_provider.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/ml/__init__.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/ml/_model.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/ml/mlflow/__init__.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/ml/mlflow/_client.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/ml/mlflow/_functions.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/process_communication/__init__.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/process_communication/_models.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/schema_management/README.md +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/schema_management/__init__.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/schema_management/schema_entity.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/security/__init__.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/security/clients/README.md +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/security/clients/__init__.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/security/clients/_azure_client.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/security/clients/_base.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/security/clients/_local_client.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/security/clients/aws/__init__.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/security/clients/aws/_aws_client.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/security/clients/aws/_aws_credentials.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/security/clients/hashicorp_vault/__init__.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/security/clients/hashicorp_vault/hashicorp_vault_client.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/security/clients/hashicorp_vault/kubernetes_client.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/security/clients/hashicorp_vault/oidc_client.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/security/clients/hashicorp_vault/token_client.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/__init__.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/blob/README.md +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/blob/__init__.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/blob/azure_storage_client.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/blob/base.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/blob/local_storage_client.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/blob/s3_storage_client.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/cache/__init__.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/cache/_base.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/cache/redis_cache.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/database/__init__.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/database/v3/README.md +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/database/v3/__init__.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/database/v3/azure_sql.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/database/v3/models/__init__.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/database/v3/models/_models.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/database/v3/odbc.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/database/v3/snowflake_sql.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/database/v3/trino_sql.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/delta_lake/__init__.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/delta_lake/v3/README.md +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/delta_lake/v3/__init__.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/delta_lake/v3/_functions.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/delta_lake/v3/_models.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/distributed_object_store/__init__.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/distributed_object_store/v3/__init__.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/distributed_object_store/v3/aws_keyspaces/README.md +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/distributed_object_store/v3/aws_keyspaces/__init__.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/distributed_object_store/v3/aws_keyspaces/keyspace_client.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/distributed_object_store/v3/aws_keyspaces/keyspaces-certificate.pem +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/distributed_object_store/v3/cassandra_client/README.md +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/distributed_object_store/v3/cassandra_client/__init__.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/distributed_object_store/v3/cassandra_client/_client.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/distributed_object_store/v3/cassandra_client/_client_configuration.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/distributed_object_store/v3/cassandra_client/_model_mappers.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/distributed_object_store/v3/datastax_astra/README.md +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/distributed_object_store/v3/datastax_astra/__init__.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/distributed_object_store/v3/datastax_astra/_models.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/distributed_object_store/v3/datastax_astra/astra_client.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/distributed_object_store/v3/vanilla_cassandra/README.md +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/distributed_object_store/v3/vanilla_cassandra/__init__.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/distributed_object_store/v3/vanilla_cassandra/vanilla_client.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/exceptions.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/iceberg/__init__.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/iceberg/v1/__init__.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/iceberg/v1/_functions.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/iceberg/v1/_models.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/models/__init__.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/models/_functions.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/models/astra.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/models/aws.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/models/azure.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/models/base.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/models/cassandra.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/models/enum.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/models/expression_dsl/__init__.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/models/expression_dsl/arrow_filter_expression.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/models/expression_dsl/cassandra_filter_expression.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/models/expression_dsl/filter_expression.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/models/expression_dsl/iceberg_filter_expression.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/models/expression_dsl/trino_filter_expression.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/models/format.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/models/formatters/__init__.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/models/formatters/dict.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/models/formatters/exceptions.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/models/formatters/metaframe.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/models/formatters/pandas.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/models/formatters/pickle.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/models/formatters/polars.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/models/formatters/unit.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/models/hive.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/models/iceberg.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/models/local.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/models/trino.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/query_enabled_store/README.md +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/query_enabled_store/__init__.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/query_enabled_store/_functions.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/query_enabled_store/_models.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/query_enabled_store/_qes_astra.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/query_enabled_store/_qes_cassandra.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/query_enabled_store/_qes_delta.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/query_enabled_store/_qes_local.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/query_enabled_store/_qes_trino.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/query_enabled_store/parameters/__init__.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/query_enabled_store/parameters/_base.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/query_enabled_store/parameters/_read_parameters.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/query_enabled_store/parameters/_write_parameters.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/secrets/README.md +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/secrets/__init__.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/secrets/_base.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/secrets/azure_secret_client.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/secrets/hashicorp_vault_secret_storage_client.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/sync/__init__.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/sync/iceberg_to_cass.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/utils/README.md +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/utils/__init__.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/utils/_common.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/utils/_requests.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/utils/concurrent_task_runner.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/utils/data_structures/__init__.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/utils/data_structures/_functions.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/utils/decorators/__init__.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/utils/decorators/_logging.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/utils/decorators/_rate_limit.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/utils/metaframe.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/utils/polars.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/utils/python_typing/__init__.py +0 -0
- {adapta-5.3.2 → adapta-5.3.3}/src/adapta/utils/python_typing/_functions.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: adapta
|
|
3
|
-
Version: 5.3.
|
|
3
|
+
Version: 5.3.3
|
|
4
4
|
Summary: Logging, data connectors, monitoring, secret handling and general lifehacks to make data people lives easier.
|
|
5
5
|
Author: ECCO Data & AI
|
|
6
6
|
Author-email: ECCO Data & AI <esdsupport@ecco.com>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "adapta"
|
|
3
|
-
version = "5.3.
|
|
3
|
+
version = "5.3.3"
|
|
4
4
|
description = "Logging, data connectors, monitoring, secret handling and general lifehacks to make data people lives easier."
|
|
5
5
|
authors = [{ name = "ECCO Data & AI", email = "esdsupport@ecco.com" }]
|
|
6
6
|
requires-python = ">=3.11, <3.16"
|
|
@@ -13,6 +13,7 @@ from pyiceberg.catalog import Catalog
|
|
|
13
13
|
|
|
14
14
|
from adapta.storage.iceberg.v1 import (
|
|
15
15
|
IcebergRestCatalogConfig,
|
|
16
|
+
IcebergRestOAuth2Config,
|
|
16
17
|
get_catalog,
|
|
17
18
|
load_using_catalog,
|
|
18
19
|
write_using_catalog,
|
|
@@ -34,16 +35,59 @@ class IcebergCredential(DataClassJsonMixin):
|
|
|
34
35
|
"""
|
|
35
36
|
|
|
36
37
|
oauth_enabled: bool
|
|
38
|
+
warehouse: str | None = None
|
|
39
|
+
read_from_warehouse: str | None = None
|
|
40
|
+
write_to_warehouse: str | None = None
|
|
41
|
+
uri: str | None = None
|
|
37
42
|
|
|
38
43
|
def __post_init__(self):
|
|
39
|
-
self.
|
|
44
|
+
self._read_catalog_config: IcebergRestCatalogConfig | None = None
|
|
45
|
+
self._write_catalog_config: IcebergRestCatalogConfig | None = None
|
|
46
|
+
|
|
47
|
+
if self.warehouse is not None:
|
|
48
|
+
self.read_from_warehouse = self.warehouse
|
|
49
|
+
self.write_to_warehouse = self.warehouse
|
|
50
|
+
|
|
51
|
+
if self.read_from_warehouse is None and self.write_to_warehouse is None:
|
|
52
|
+
self._read_catalog_config = IcebergRestCatalogConfig.from_environment(oauth2_enabled=self.oauth_enabled)
|
|
53
|
+
self._write_catalog_config = self._read_catalog_config
|
|
54
|
+
return
|
|
55
|
+
|
|
56
|
+
if self.read_from_warehouse is not None and self.write_to_warehouse is not None and self.uri is not None:
|
|
57
|
+
self._read_catalog_config = IcebergRestCatalogConfig(
|
|
58
|
+
uri=self.uri,
|
|
59
|
+
warehouse=self.read_from_warehouse,
|
|
60
|
+
oauth2_config=IcebergRestOAuth2Config.from_environment() if self.oauth_enabled else None,
|
|
61
|
+
)
|
|
62
|
+
self._write_catalog_config = IcebergRestCatalogConfig(
|
|
63
|
+
uri=self.uri,
|
|
64
|
+
warehouse=self.write_to_warehouse,
|
|
65
|
+
oauth2_config=IcebergRestOAuth2Config.from_environment() if self.oauth_enabled else None,
|
|
66
|
+
)
|
|
67
|
+
return
|
|
68
|
+
|
|
69
|
+
raise RuntimeError(
|
|
70
|
+
"Invalid IcebergCredential value supplied for Iceberg QES: you must either provide no values in both "
|
|
71
|
+
"read_from_warehouse/write_to_warehouse, or provide both of them together with catalog url."
|
|
72
|
+
)
|
|
40
73
|
|
|
41
74
|
@property
|
|
42
|
-
def
|
|
75
|
+
def read_catalog_config(self) -> IcebergRestCatalogConfig:
|
|
43
76
|
"""
|
|
44
|
-
Catalog configuration for Iceberg QES.
|
|
77
|
+
Catalog configuration for Iceberg QES (read only).
|
|
45
78
|
"""
|
|
46
|
-
|
|
79
|
+
assert self._read_catalog_config is not None, "Catalog not initialized for read"
|
|
80
|
+
|
|
81
|
+
return self._read_catalog_config
|
|
82
|
+
|
|
83
|
+
@property
|
|
84
|
+
def write_catalog_config(self) -> IcebergRestCatalogConfig:
|
|
85
|
+
"""
|
|
86
|
+
Catalog configuration for Iceberg QES (write only).
|
|
87
|
+
"""
|
|
88
|
+
assert self._write_catalog_config is not None, "Catalog not initialized for write"
|
|
89
|
+
|
|
90
|
+
return self._write_catalog_config
|
|
47
91
|
|
|
48
92
|
|
|
49
93
|
@dataclass
|
|
@@ -64,10 +108,12 @@ class IcebergQueryEnabledStore(QueryEnabledStore[IcebergCredential, IcebergSetti
|
|
|
64
108
|
|
|
65
109
|
def __init__(self, credentials: IcebergCredential, settings: IcebergSettings):
|
|
66
110
|
super().__init__(credentials, settings)
|
|
67
|
-
self.
|
|
111
|
+
self._read_catalog: Catalog | None = None
|
|
112
|
+
self._write_catalog: Catalog | None = None
|
|
68
113
|
|
|
69
114
|
def _init_catalog(self) -> Self:
|
|
70
|
-
self.
|
|
115
|
+
self._read_catalog = get_catalog(self.settings.catalog_name, self.credentials.read_catalog_config)
|
|
116
|
+
self._write_catalog = get_catalog(self.settings.catalog_name, self.credentials.write_catalog_config)
|
|
71
117
|
return self
|
|
72
118
|
|
|
73
119
|
def close(self) -> None:
|
|
@@ -98,7 +144,7 @@ class IcebergQueryEnabledStore(QueryEnabledStore[IcebergCredential, IcebergSetti
|
|
|
98
144
|
limit=limit,
|
|
99
145
|
version_id=options.get(QueryEnabledStoreOptions.VERSION_ID, None) if options else None,
|
|
100
146
|
lazy_read=self.settings.lazy_read,
|
|
101
|
-
catalog=self.
|
|
147
|
+
catalog=self._read_catalog,
|
|
102
148
|
)
|
|
103
149
|
|
|
104
150
|
def _apply_query(self, query: str) -> MetaFrame | Iterator[MetaFrame]:
|
|
@@ -120,12 +166,12 @@ class IcebergQueryEnabledStore(QueryEnabledStore[IcebergCredential, IcebergSetti
|
|
|
120
166
|
|
|
121
167
|
return data.to_polars()
|
|
122
168
|
|
|
123
|
-
assert self.
|
|
169
|
+
assert self._write_catalog is not None, "Catalog not initialized"
|
|
124
170
|
|
|
125
171
|
write_using_catalog(
|
|
126
172
|
schema_name=path.schema,
|
|
127
173
|
table_name=path.table,
|
|
128
|
-
catalog=self.
|
|
174
|
+
catalog=self._write_catalog,
|
|
129
175
|
data=_resolve_dataframe(),
|
|
130
176
|
write_chunk_size=block_size,
|
|
131
177
|
overwrite=overwrite,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{adapta-5.3.2 → adapta-5.3.3}/src/adapta/dataclass_validation/dataclass/dataclass_abstract.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{adapta-5.3.2 → adapta-5.3.3}/src/adapta/dataclass_validation/validation/validation_abstract.py
RENAMED
|
File without changes
|
{adapta-5.3.2 → adapta-5.3.3}/src/adapta/dataclass_validation/validation/validation_polars.py
RENAMED
|
File without changes
|
{adapta-5.3.2 → adapta-5.3.3}/src/adapta/dataclass_validation/validation/validation_utils.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{adapta-5.3.2 → adapta-5.3.3}/src/adapta/security/clients/hashicorp_vault/hashicorp_vault_client.py
RENAMED
|
File without changes
|
{adapta-5.3.2 → adapta-5.3.3}/src/adapta/security/clients/hashicorp_vault/kubernetes_client.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/distributed_object_store/v3/aws_keyspaces/README.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/models/expression_dsl/arrow_filter_expression.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/models/expression_dsl/iceberg_filter_expression.py
RENAMED
|
File without changes
|
{adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/models/expression_dsl/trino_filter_expression.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/query_enabled_store/parameters/_read_parameters.py
RENAMED
|
File without changes
|
{adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/query_enabled_store/parameters/_write_parameters.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{adapta-5.3.2 → adapta-5.3.3}/src/adapta/storage/secrets/hashicorp_vault_secret_storage_client.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|