acryl-datahub 1.0.0rc16__py3-none-any.whl → 1.0.0rc17__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.
- {acryl_datahub-1.0.0rc16.dist-info → acryl_datahub-1.0.0rc17.dist-info}/METADATA +2571 -2541
- {acryl_datahub-1.0.0rc16.dist-info → acryl_datahub-1.0.0rc17.dist-info}/RECORD +17 -14
- {acryl_datahub-1.0.0rc16.dist-info → acryl_datahub-1.0.0rc17.dist-info}/entry_points.txt +1 -0
- datahub/_version.py +1 -1
- datahub/configuration/common.py +8 -0
- datahub/emitter/response_helper.py +145 -0
- datahub/emitter/rest_emitter.py +161 -3
- datahub/ingestion/graph/client.py +3 -0
- datahub/ingestion/sink/datahub_rest.py +4 -0
- datahub/ingestion/source/bigquery_v2/bigquery_config.py +2 -46
- datahub/ingestion/source/common/gcp_credentials_config.py +53 -0
- datahub/ingestion/source/salesforce.py +529 -276
- datahub/ingestion/source/sql/hive.py +13 -0
- datahub/ingestion/source/vertexai.py +697 -0
- {acryl_datahub-1.0.0rc16.dist-info → acryl_datahub-1.0.0rc17.dist-info}/LICENSE +0 -0
- {acryl_datahub-1.0.0rc16.dist-info → acryl_datahub-1.0.0rc17.dist-info}/WHEEL +0 -0
- {acryl_datahub-1.0.0rc16.dist-info → acryl_datahub-1.0.0rc17.dist-info}/top_level.txt +0 -0
|
@@ -777,6 +777,7 @@ class HiveSource(TwoTierSQLAlchemySource):
|
|
|
777
777
|
column,
|
|
778
778
|
inspector,
|
|
779
779
|
pk_constraints,
|
|
780
|
+
partition_keys=partition_keys,
|
|
780
781
|
)
|
|
781
782
|
|
|
782
783
|
if self._COMPLEX_TYPE.match(fields[0].nativeDataType) and isinstance(
|
|
@@ -849,3 +850,15 @@ class HiveSource(TwoTierSQLAlchemySource):
|
|
|
849
850
|
default_db=default_db,
|
|
850
851
|
default_schema=default_schema,
|
|
851
852
|
)
|
|
853
|
+
|
|
854
|
+
def get_partitions(
|
|
855
|
+
self, inspector: Inspector, schema: str, table: str
|
|
856
|
+
) -> Optional[List[str]]:
|
|
857
|
+
partition_columns: List[dict] = inspector.get_indexes(
|
|
858
|
+
table_name=table, schema=schema
|
|
859
|
+
)
|
|
860
|
+
for partition_column in partition_columns:
|
|
861
|
+
if partition_column.get("column_names"):
|
|
862
|
+
return partition_column.get("column_names")
|
|
863
|
+
|
|
864
|
+
return []
|