acryl-datahub 1.3.0.1rc1__py3-none-any.whl → 1.3.0.1rc2__py3-none-any.whl

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.

Potentially problematic release.


This version of acryl-datahub might be problematic. Click here for more details.

@@ -1,7 +1,7 @@
1
- acryl_datahub-1.3.0.1rc1.dist-info/licenses/LICENSE,sha256=9xNHpsD0uYF5ONzXsKDCuHHB-xbiCrSbueWXqrTNsxk,11365
1
+ acryl_datahub-1.3.0.1rc2.dist-info/licenses/LICENSE,sha256=9xNHpsD0uYF5ONzXsKDCuHHB-xbiCrSbueWXqrTNsxk,11365
2
2
  datahub/__init__.py,sha256=aq_i5lVREmoLfYIqcx_pEQicO855YlhD19tWc1eZZNI,59
3
3
  datahub/__main__.py,sha256=pegIvQ9hzK7IhqVeUi1MeADSZ2QlP-D3K0OQdEg55RU,106
4
- datahub/_version.py,sha256=R7AO3BvsCQaRcQe_NV5EtywuCZj3jLQL4SqalUnrmTc,323
4
+ datahub/_version.py,sha256=G3S5qsHOL2-5yNrU2qQxhGJwD63r-1qLun37Mq1ejLo,323
5
5
  datahub/entrypoints.py,sha256=9Qf-37rNnTzbGlx8S75OCDazIclFp6zWNcCEL1zCZto,9015
6
6
  datahub/errors.py,sha256=p5rFAdAGVCk4Lqolol1YvthceadUSwpaCxLXRcyCCFQ,676
7
7
  datahub/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -309,7 +309,7 @@ datahub/ingestion/source/dbt/dbt_tests.py,sha256=pOZJaP4VsbaE5j4qVlE_E3ifno_KQpi
309
309
  datahub/ingestion/source/debug/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
310
310
  datahub/ingestion/source/debug/datahub_debug.py,sha256=LJmGWi2nqWiR_14nybqkIo14D4IzoJ08GaAtlcGvv98,11962
311
311
  datahub/ingestion/source/delta_lake/__init__.py,sha256=u5oqUeus81ONAtdl6o9Puw33ODSMun-0wLIamrZ4BUM,71
312
- datahub/ingestion/source/delta_lake/config.py,sha256=VAiZnykyFKcSXHJoNOMg_wwevXV2pUaBAOyYkAmC_X0,3526
312
+ datahub/ingestion/source/delta_lake/config.py,sha256=fFBYOktFxidj7bdA0PNFgGD1pLqrlOK4Rn13npW82Uw,3746
313
313
  datahub/ingestion/source/delta_lake/delta_lake_utils.py,sha256=VqIDPEXepOnlk4oWMeRaneSpQBlWmlCKAa1wGUl1sfk,1525
314
314
  datahub/ingestion/source/delta_lake/report.py,sha256=uR4e4QA_jv8lL3CV-wE5t43H8pUqrGmx_ItLqN9flPI,587
315
315
  datahub/ingestion/source/delta_lake/source.py,sha256=IeYW-BAGxDy8gZzBoaLT3C2i-qbhxEEsWLZeC6Tdsfs,14191
@@ -1126,8 +1126,8 @@ datahub_provider/operators/datahub_assertion_operator.py,sha256=uvTQ-jk2F0sbqqxp
1126
1126
  datahub_provider/operators/datahub_assertion_sensor.py,sha256=lCBj_3x1cf5GMNpHdfkpHuyHfVxsm6ff5x2Z5iizcAo,140
1127
1127
  datahub_provider/operators/datahub_operation_operator.py,sha256=aevDp2FzX7FxGlXrR0khoHNbxbhKR2qPEX5e8O2Jyzw,174
1128
1128
  datahub_provider/operators/datahub_operation_sensor.py,sha256=8fcdVBCEPgqy1etTXgLoiHoJrRt_nzFZQMdSzHqSG7M,168
1129
- acryl_datahub-1.3.0.1rc1.dist-info/METADATA,sha256=7XyrCvdsnuEzzHSrBD4-gyr723Kq-Nj2Jawvh5sOz1M,184432
1130
- acryl_datahub-1.3.0.1rc1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
1131
- acryl_datahub-1.3.0.1rc1.dist-info/entry_points.txt,sha256=pzsBoTx-D-iTcmpX8oCGCyzlHP2112EygUMzZWz56M8,10105
1132
- acryl_datahub-1.3.0.1rc1.dist-info/top_level.txt,sha256=iLjSrLK5ox1YVYcglRUkcvfZPvKlobBWx7CTUXx8_GI,25
1133
- acryl_datahub-1.3.0.1rc1.dist-info/RECORD,,
1129
+ acryl_datahub-1.3.0.1rc2.dist-info/METADATA,sha256=FUZjgTu0opHK6NEx8d0r9PRHAD5OdINPUEip2y-6LII,184432
1130
+ acryl_datahub-1.3.0.1rc2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
1131
+ acryl_datahub-1.3.0.1rc2.dist-info/entry_points.txt,sha256=pzsBoTx-D-iTcmpX8oCGCyzlHP2112EygUMzZWz56M8,10105
1132
+ acryl_datahub-1.3.0.1rc2.dist-info/top_level.txt,sha256=iLjSrLK5ox1YVYcglRUkcvfZPvKlobBWx7CTUXx8_GI,25
1133
+ acryl_datahub-1.3.0.1rc2.dist-info/RECORD,,
datahub/_version.py CHANGED
@@ -1,6 +1,6 @@
1
1
  # Published at https://pypi.org/project/acryl-datahub/.
2
2
  __package_name__ = "acryl-datahub"
3
- __version__ = "1.3.0.1rc1"
3
+ __version__ = "1.3.0.1rc2"
4
4
 
5
5
 
6
6
  def is_dev_mode() -> bool:
@@ -13,8 +13,9 @@ from datahub.configuration.source_common import (
13
13
  )
14
14
  from datahub.ingestion.source.aws.aws_common import AwsConnectionConfig
15
15
  from datahub.ingestion.source.aws.s3_util import is_s3_uri
16
- from datahub.ingestion.source.state.stateful_ingestion_base import (
16
+ from datahub.ingestion.source.state.stale_entity_removal_handler import (
17
17
  StatefulIngestionConfigBase,
18
+ StatefulStaleMetadataRemovalConfig,
18
19
  )
19
20
 
20
21
  # hide annoying debug errors from py4j
@@ -39,9 +40,7 @@ class S3(ConfigModel):
39
40
 
40
41
 
41
42
  class DeltaLakeSourceConfig(
42
- PlatformInstanceConfigMixin,
43
- EnvConfigMixin,
44
- StatefulIngestionConfigBase,
43
+ PlatformInstanceConfigMixin, EnvConfigMixin, StatefulIngestionConfigBase
45
44
  ):
46
45
  base_path: str = Field(
47
46
  description="Path to table (s3 or local file system). If path is not a delta table path "
@@ -80,6 +79,11 @@ class DeltaLakeSourceConfig(
80
79
 
81
80
  s3: Optional[S3] = Field(None)
82
81
 
82
+ stateful_ingestion: Optional[StatefulStaleMetadataRemovalConfig] = Field(
83
+ default=None,
84
+ description="Stateful Ingestion Config with stale metadata removal",
85
+ )
86
+
83
87
  @cached_property
84
88
  def is_s3(self):
85
89
  return is_s3_uri(self.base_path or "")