openmetadata-ingestion 1.6.2.0__py3-none-any.whl → 1.10.14.4__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.
- _openmetadata_testutils/helpers/login_user.py +22 -0
- airflow_provider_openmetadata/__init__.py +3 -3
- airflow_provider_openmetadata/hooks/openmetadata.py +3 -3
- airflow_provider_openmetadata/lineage/backend.py +23 -4
- airflow_provider_openmetadata/lineage/callback.py +3 -3
- airflow_provider_openmetadata/lineage/config/commons.py +3 -3
- airflow_provider_openmetadata/lineage/config/loader.py +17 -3
- airflow_provider_openmetadata/lineage/operator.py +3 -3
- airflow_provider_openmetadata/lineage/runner.py +3 -3
- airflow_provider_openmetadata/lineage/status.py +3 -3
- metadata/__init__.py +33 -0
- metadata/__main__.py +3 -3
- metadata/__version__.py +3 -3
- metadata/antlr/split_listener.py +3 -3
- metadata/applications/example.py +74 -0
- metadata/automations/execute_runner.py +49 -0
- metadata/automations/extended_runner.py +13 -0
- metadata/automations/runner.py +48 -39
- metadata/cli/app.py +3 -3
- metadata/cli/classify.py +8 -8
- metadata/cli/common.py +25 -0
- metadata/cli/dataquality.py +8 -8
- metadata/cli/ingest.py +5 -7
- metadata/cli/ingest_dbt.py +367 -0
- metadata/cli/lineage.py +3 -3
- metadata/cli/profile.py +5 -7
- metadata/cli/restore.py +3 -3
- metadata/cli/usage.py +5 -7
- metadata/clients/aws_client.py +32 -11
- metadata/clients/azure_client.py +3 -3
- metadata/clients/domo_client.py +5 -5
- metadata/cmd.py +30 -3
- metadata/config/common.py +3 -3
- metadata/data_quality/api/models.py +3 -3
- metadata/data_quality/builders/validator_builder.py +3 -3
- metadata/data_quality/interface/pandas/pandas_test_suite_interface.py +3 -3
- metadata/data_quality/interface/sqlalchemy/databricks/test_suite_interface.py +3 -3
- metadata/data_quality/interface/sqlalchemy/snowflake/test_suite_interface.py +3 -3
- metadata/data_quality/interface/sqlalchemy/sqa_test_suite_interface.py +3 -3
- metadata/data_quality/interface/sqlalchemy/unity_catalog/test_suite_interface.py +3 -3
- metadata/data_quality/interface/test_suite_interface.py +12 -6
- metadata/data_quality/processor/test_case_runner.py +11 -22
- metadata/data_quality/runner/base_test_suite_source.py +16 -10
- metadata/data_quality/runner/core.py +3 -3
- metadata/data_quality/source/test_suite.py +49 -7
- metadata/data_quality/validations/base_test_handler.py +3 -3
- metadata/data_quality/validations/column/base/columnValueLengthsToBeBetween.py +3 -3
- metadata/data_quality/validations/column/base/columnValueMaxToBeBetween.py +3 -3
- metadata/data_quality/validations/column/base/columnValueMeanToBeBetween.py +3 -3
- metadata/data_quality/validations/column/base/columnValueMedianToBeBetween.py +3 -3
- metadata/data_quality/validations/column/base/columnValueMinToBeBetween.py +3 -3
- metadata/data_quality/validations/column/base/columnValueStdDevToBeBetween.py +3 -3
- metadata/data_quality/validations/column/base/columnValuesMissingCount.py +3 -3
- metadata/data_quality/validations/column/base/columnValuesSumToBeBetween.py +3 -3
- metadata/data_quality/validations/column/base/columnValuesToBeAtExpectedLocation.py +3 -3
- metadata/data_quality/validations/column/base/columnValuesToBeBetween.py +3 -3
- metadata/data_quality/validations/column/base/columnValuesToBeInSet.py +3 -3
- metadata/data_quality/validations/column/base/columnValuesToBeNotInSet.py +3 -3
- metadata/data_quality/validations/column/base/columnValuesToBeNotNull.py +3 -3
- metadata/data_quality/validations/column/base/columnValuesToBeUnique.py +3 -3
- metadata/data_quality/validations/column/base/columnValuesToMatchRegex.py +3 -3
- metadata/data_quality/validations/column/base/columnValuesToNotMatchRegex.py +3 -3
- metadata/data_quality/validations/column/pandas/columnValueLengthsToBeBetween.py +3 -3
- metadata/data_quality/validations/column/pandas/columnValueMaxToBeBetween.py +3 -3
- metadata/data_quality/validations/column/pandas/columnValueMeanToBeBetween.py +3 -3
- metadata/data_quality/validations/column/pandas/columnValueMedianToBeBetween.py +3 -3
- metadata/data_quality/validations/column/pandas/columnValueMinToBeBetween.py +3 -3
- metadata/data_quality/validations/column/pandas/columnValueStdDevToBeBetween.py +3 -3
- metadata/data_quality/validations/column/pandas/columnValuesMissingCount.py +3 -3
- metadata/data_quality/validations/column/pandas/columnValuesSumToBeBetween.py +3 -3
- metadata/data_quality/validations/column/pandas/columnValuesToBeAtExpectedLocation.py +3 -3
- metadata/data_quality/validations/column/pandas/columnValuesToBeBetween.py +3 -3
- metadata/data_quality/validations/column/pandas/columnValuesToBeInSet.py +3 -3
- metadata/data_quality/validations/column/pandas/columnValuesToBeNotInSet.py +3 -3
- metadata/data_quality/validations/column/pandas/columnValuesToBeNotNull.py +3 -3
- metadata/data_quality/validations/column/pandas/columnValuesToBeUnique.py +3 -3
- metadata/data_quality/validations/column/pandas/columnValuesToMatchRegex.py +3 -3
- metadata/data_quality/validations/column/pandas/columnValuesToNotMatchRegex.py +3 -3
- metadata/data_quality/validations/column/sqlalchemy/columnValueLengthsToBeBetween.py +3 -3
- metadata/data_quality/validations/column/sqlalchemy/columnValueMaxToBeBetween.py +3 -3
- metadata/data_quality/validations/column/sqlalchemy/columnValueMeanToBeBetween.py +3 -3
- metadata/data_quality/validations/column/sqlalchemy/columnValueMedianToBeBetween.py +3 -3
- metadata/data_quality/validations/column/sqlalchemy/columnValueMinToBeBetween.py +3 -3
- metadata/data_quality/validations/column/sqlalchemy/columnValueStdDevToBeBetween.py +3 -3
- metadata/data_quality/validations/column/sqlalchemy/columnValuesMissingCount.py +3 -3
- metadata/data_quality/validations/column/sqlalchemy/columnValuesSumToBeBetween.py +3 -3
- metadata/data_quality/validations/column/sqlalchemy/columnValuesToBeAtExpectedLocation.py +3 -3
- metadata/data_quality/validations/column/sqlalchemy/columnValuesToBeBetween.py +3 -3
- metadata/data_quality/validations/column/sqlalchemy/columnValuesToBeInSet.py +3 -3
- metadata/data_quality/validations/column/sqlalchemy/columnValuesToBeNotInSet.py +3 -3
- metadata/data_quality/validations/column/sqlalchemy/columnValuesToBeNotNull.py +3 -3
- metadata/data_quality/validations/column/sqlalchemy/columnValuesToBeUnique.py +17 -5
- metadata/data_quality/validations/column/sqlalchemy/columnValuesToMatchRegex.py +4 -4
- metadata/data_quality/validations/column/sqlalchemy/columnValuesToNotMatchRegex.py +3 -3
- metadata/data_quality/validations/mixins/pandas_validator_mixin.py +3 -3
- metadata/data_quality/validations/mixins/sqa_validator_mixin.py +3 -3
- metadata/data_quality/validations/models.py +16 -3
- metadata/data_quality/validations/runtime_param_setter/base_diff_params_setter.py +219 -0
- metadata/data_quality/validations/runtime_param_setter/param_setter.py +2 -2
- metadata/data_quality/validations/runtime_param_setter/param_setter_factory.py +11 -2
- metadata/data_quality/validations/runtime_param_setter/table_custom_sql_query_params_setter.py +31 -0
- metadata/data_quality/validations/runtime_param_setter/table_diff_params_setter.py +56 -85
- metadata/data_quality/validations/table/base/tableColumnCountToBeBetween.py +3 -3
- metadata/data_quality/validations/table/base/tableColumnCountToEqual.py +3 -3
- metadata/data_quality/validations/table/base/tableColumnNameToExist.py +3 -3
- metadata/data_quality/validations/table/base/tableColumnToMatchSet.py +3 -3
- metadata/data_quality/validations/table/base/tableCustomSQLQuery.py +144 -5
- metadata/data_quality/validations/table/base/tableRowCountToBeBetween.py +3 -3
- metadata/data_quality/validations/table/base/tableRowCountToEqual.py +3 -3
- metadata/data_quality/validations/table/base/tableRowInsertedCountToBeBetween.py +3 -3
- metadata/data_quality/validations/table/pandas/tableColumnCountToBeBetween.py +3 -3
- metadata/data_quality/validations/table/pandas/tableColumnCountToEqual.py +3 -3
- metadata/data_quality/validations/table/pandas/tableColumnNameToExist.py +3 -3
- metadata/data_quality/validations/table/pandas/tableColumnToMatchSet.py +3 -3
- metadata/data_quality/validations/table/pandas/tableCustomSQLQuery.py +41 -3
- metadata/data_quality/validations/table/pandas/tableRowCountToBeBetween.py +3 -3
- metadata/data_quality/validations/table/pandas/tableRowCountToEqual.py +3 -3
- metadata/data_quality/validations/table/pandas/tableRowInsertedCountToBeBetween.py +20 -5
- metadata/data_quality/validations/table/sqlalchemy/tableColumnCountToBeBetween.py +3 -3
- metadata/data_quality/validations/table/sqlalchemy/tableColumnCountToEqual.py +3 -3
- metadata/data_quality/validations/table/sqlalchemy/tableColumnNameToExist.py +3 -3
- metadata/data_quality/validations/table/sqlalchemy/tableColumnToMatchSet.py +3 -3
- metadata/data_quality/validations/table/sqlalchemy/tableCustomSQLQuery.py +323 -3
- metadata/data_quality/validations/table/sqlalchemy/tableDiff.py +34 -3
- metadata/data_quality/validations/table/sqlalchemy/tableRowCountToBeBetween.py +3 -3
- metadata/data_quality/validations/table/sqlalchemy/tableRowCountToEqual.py +3 -3
- metadata/data_quality/validations/table/sqlalchemy/tableRowInsertedCountToBeBetween.py +3 -3
- metadata/examples/workflows/airbyte.yaml +8 -2
- metadata/examples/workflows/bigquery.yaml +1 -0
- metadata/examples/workflows/cassandra.yaml +35 -0
- metadata/examples/workflows/cockroach.yaml +24 -0
- metadata/examples/workflows/confluent_cdc.yaml +70 -0
- metadata/examples/workflows/confluent_cdc_cloud.yaml +86 -0
- metadata/examples/workflows/confluent_cdc_local.yaml +120 -0
- metadata/examples/workflows/databricks.yaml +9 -1
- metadata/examples/workflows/databricks_usage.yaml +7 -1
- metadata/examples/workflows/exasol.yaml +25 -0
- metadata/examples/workflows/grafana.yaml +115 -0
- metadata/examples/workflows/kinesisfirehose.yaml +99 -0
- metadata/examples/workflows/metabase.yaml +1 -0
- metadata/examples/workflows/my_confluent_cloud.yaml +49 -0
- metadata/examples/workflows/nifi.yaml +51 -0
- metadata/examples/workflows/opensearch.yaml +20 -0
- metadata/examples/workflows/rest.yaml +6 -2
- metadata/examples/workflows/tableau.yaml +1 -3
- metadata/examples/workflows/unity_catalog.yaml +7 -1
- metadata/examples/workflows/unity_catalog_usage.yaml +7 -1
- metadata/examples/workflows/wherescape.yaml +28 -0
- metadata/generated/antlr/EntityLinkLexer.py +419 -353
- metadata/generated/schema/analytics/__init__.py +1 -1
- metadata/generated/schema/analytics/basic.py +1 -1
- metadata/generated/schema/analytics/reportData.py +1 -1
- metadata/generated/schema/analytics/reportDataType/__init__.py +1 -1
- metadata/generated/schema/analytics/reportDataType/aggregatedCostAnalysisReportData.py +1 -1
- metadata/generated/schema/analytics/reportDataType/entityReportData.py +1 -1
- metadata/generated/schema/analytics/reportDataType/rawCostAnalysisReportData.py +1 -1
- metadata/generated/schema/analytics/reportDataType/webAnalyticEntityViewReportData.py +1 -1
- metadata/generated/schema/analytics/reportDataType/webAnalyticUserActivityReportData.py +1 -1
- metadata/generated/schema/analytics/webAnalyticEvent.py +9 -5
- metadata/generated/schema/analytics/webAnalyticEventData.py +1 -1
- metadata/generated/schema/analytics/webAnalyticEventType/__init__.py +1 -1
- metadata/generated/schema/analytics/webAnalyticEventType/customEvent.py +1 -1
- metadata/generated/schema/analytics/webAnalyticEventType/pageViewEvent.py +1 -1
- metadata/generated/schema/api/__init__.py +1 -1
- metadata/generated/schema/api/addGlossaryToAssetsRequest.py +3 -16
- metadata/generated/schema/api/addTagToAssetsRequest.py +1 -10
- metadata/generated/schema/api/analytics/__init__.py +1 -1
- metadata/generated/schema/api/analytics/createWebAnalyticEvent.py +6 -5
- metadata/generated/schema/api/automations/__init__.py +1 -1
- metadata/generated/schema/api/automations/createWorkflow.py +18 -7
- metadata/generated/schema/api/bulkAssets.py +1 -1
- metadata/generated/schema/api/classification/__init__.py +1 -1
- metadata/generated/schema/api/classification/createClassification.py +63 -7
- metadata/generated/schema/api/classification/createTag.py +37 -6
- metadata/generated/schema/api/classification/createTagWithRecognizers.py +67 -0
- metadata/generated/schema/api/classification/loadTags.py +1 -1
- metadata/generated/schema/api/configuration/__init__.py +3 -0
- metadata/generated/schema/api/configuration/rdfConfiguration.py +47 -0
- metadata/generated/schema/api/createBot.py +5 -5
- metadata/generated/schema/api/createEventPublisherJob.py +1 -1
- metadata/generated/schema/api/createType.py +6 -5
- metadata/generated/schema/api/data/__init__.py +1 -1
- metadata/generated/schema/api/data/createAPICollection.py +4 -4
- metadata/generated/schema/api/data/createAPIEndpoint.py +4 -4
- metadata/generated/schema/api/data/createChart.py +12 -4
- metadata/generated/schema/api/data/createContainer.py +4 -4
- metadata/generated/schema/api/data/createCustomProperty.py +5 -1
- metadata/generated/schema/api/data/createDashboard.py +4 -4
- metadata/generated/schema/api/data/createDashboardDataModel.py +8 -4
- metadata/generated/schema/api/data/createDataContract.py +102 -0
- metadata/generated/schema/api/data/createDatabase.py +4 -4
- metadata/generated/schema/api/data/createDatabaseSchema.py +4 -4
- metadata/generated/schema/api/data/createDirectory.py +105 -0
- metadata/generated/schema/api/data/createEntityProfile.py +36 -0
- metadata/generated/schema/api/data/createFile.py +104 -0
- metadata/generated/schema/api/data/createGlossary.py +4 -4
- metadata/generated/schema/api/data/createGlossaryTerm.py +1 -1
- metadata/generated/schema/api/data/createMetric.py +15 -4
- metadata/generated/schema/api/data/createMlModel.py +4 -4
- metadata/generated/schema/api/data/createPipeline.py +8 -4
- metadata/generated/schema/api/data/createQuery.py +5 -4
- metadata/generated/schema/api/data/createQueryCostRecord.py +35 -0
- metadata/generated/schema/api/data/createSearchIndex.py +4 -4
- metadata/generated/schema/api/data/createSpreadsheet.py +119 -0
- metadata/generated/schema/api/data/createStoredProcedure.py +4 -4
- metadata/generated/schema/api/data/createTable.py +5 -4
- metadata/generated/schema/api/data/createTableProfile.py +1 -1
- metadata/generated/schema/api/data/createTopic.py +5 -4
- metadata/generated/schema/api/data/createWorksheet.py +105 -0
- metadata/generated/schema/api/data/loadGlossary.py +1 -1
- metadata/generated/schema/api/data/restoreEntity.py +1 -1
- metadata/generated/schema/api/data/updateColumn.py +49 -0
- metadata/generated/schema/api/dataInsight/__init__.py +1 -1
- metadata/generated/schema/api/dataInsight/createDataInsightChart.py +5 -4
- metadata/generated/schema/api/dataInsight/custom/__init__.py +1 -1
- metadata/generated/schema/api/dataInsight/custom/createDataInsightCustomChart.py +1 -1
- metadata/generated/schema/api/dataInsight/kpi/__init__.py +1 -1
- metadata/generated/schema/api/dataInsight/kpi/createKpiRequest.py +5 -5
- metadata/generated/schema/api/docStore/__init__.py +1 -1
- metadata/generated/schema/api/docStore/createDocument.py +6 -5
- metadata/generated/schema/api/domains/__init__.py +1 -1
- metadata/generated/schema/api/domains/createDataProduct.py +15 -6
- metadata/generated/schema/api/domains/createDomain.py +13 -2
- metadata/generated/schema/api/entityRelationship/__init__.py +3 -0
- metadata/generated/schema/api/entityRelationship/entityRelationshipDirection.py +12 -0
- metadata/generated/schema/api/entityRelationship/esEntityRelationshipData.py +57 -0
- metadata/generated/schema/api/entityRelationship/relationshipRef.py +32 -0
- metadata/generated/schema/api/entityRelationship/searchEntityRelationshipRequest.py +47 -0
- metadata/generated/schema/api/entityRelationship/searchEntityRelationshipResult.py +47 -0
- metadata/generated/schema/api/entityRelationship/searchSchemaEntityRelationshipResult.py +20 -0
- metadata/generated/schema/api/events/__init__.py +3 -0
- metadata/generated/schema/api/events/createNotificationTemplate.py +61 -0
- metadata/generated/schema/api/events/notificationTemplateValidationRequest.py +30 -0
- metadata/generated/schema/api/events/notificationTemplateValidationResponse.py +36 -0
- metadata/generated/schema/api/feed/__init__.py +1 -1
- metadata/generated/schema/api/feed/closeTask.py +1 -1
- metadata/generated/schema/api/feed/createPost.py +1 -1
- metadata/generated/schema/api/feed/createSuggestion.py +1 -1
- metadata/generated/schema/api/feed/createThread.py +6 -2
- metadata/generated/schema/api/feed/resolveTask.py +1 -1
- metadata/generated/schema/api/feed/threadCount.py +25 -1
- metadata/generated/schema/api/governance/__init__.py +1 -1
- metadata/generated/schema/api/governance/createWorkflowDefinition.py +20 -5
- metadata/generated/schema/api/governance/createWorkflowInstanceState.py +1 -1
- metadata/generated/schema/api/lineage/__init__.py +1 -1
- metadata/generated/schema/api/lineage/addLineage.py +1 -1
- metadata/generated/schema/api/lineage/entityCountLineageRequest.py +66 -0
- metadata/generated/schema/api/lineage/esLineageData.py +88 -0
- metadata/generated/schema/api/lineage/lineageDirection.py +12 -0
- metadata/generated/schema/api/lineage/lineagePaginationInfo.py +57 -0
- metadata/generated/schema/api/lineage/nodeInformation.py +30 -0
- metadata/generated/schema/api/lineage/searchLineageRequest.py +45 -0
- metadata/generated/schema/api/lineage/searchLineageResult.py +46 -0
- metadata/generated/schema/api/mcp/__init__.py +3 -0
- metadata/generated/schema/api/mcp/mcpSearchResponse.py +118 -0
- metadata/generated/schema/api/mcp/mcpToolDefinition.py +54 -0
- metadata/generated/schema/api/openMetadataServerVersion.py +1 -1
- metadata/generated/schema/api/policies/__init__.py +1 -1
- metadata/generated/schema/api/policies/createPolicy.py +6 -5
- metadata/generated/schema/api/rdf/__init__.py +3 -0
- metadata/generated/schema/api/rdf/sparqlQuery.py +57 -0
- metadata/generated/schema/api/rdf/sparqlResponse.py +56 -0
- metadata/generated/schema/api/scim/__init__.py +3 -0
- metadata/generated/schema/api/scim/scimGroup.py +52 -0
- metadata/generated/schema/api/scim/scimPatchOp.py +32 -0
- metadata/generated/schema/api/scim/scimUser.py +83 -0
- metadata/generated/schema/api/search/__init__.py +3 -0
- metadata/generated/schema/api/search/previewSearchRequest.py +47 -0
- metadata/generated/schema/api/services/__init__.py +1 -1
- metadata/generated/schema/api/services/createApiService.py +12 -5
- metadata/generated/schema/api/services/createDashboardService.py +12 -5
- metadata/generated/schema/api/services/createDatabaseService.py +12 -5
- metadata/generated/schema/api/services/createDriveService.py +65 -0
- metadata/generated/schema/api/services/createMessagingService.py +12 -5
- metadata/generated/schema/api/services/createMetadataService.py +13 -5
- metadata/generated/schema/api/services/createMlModelService.py +12 -5
- metadata/generated/schema/api/services/createPipelineService.py +12 -5
- metadata/generated/schema/api/services/createSearchService.py +12 -5
- metadata/generated/schema/api/services/createSecurityService.py +67 -0
- metadata/generated/schema/api/services/createStorageService.py +12 -5
- metadata/generated/schema/api/services/ingestionPipelines/__init__.py +1 -1
- metadata/generated/schema/api/services/ingestionPipelines/createIngestionPipeline.py +28 -5
- metadata/generated/schema/api/setOwner.py +1 -1
- metadata/generated/schema/api/teams/__init__.py +1 -1
- metadata/generated/schema/api/teams/createPersona.py +12 -4
- metadata/generated/schema/api/teams/createRole.py +5 -4
- metadata/generated/schema/api/teams/createTeam.py +8 -1
- metadata/generated/schema/api/teams/createUser.py +11 -1
- metadata/generated/schema/api/tests/__init__.py +1 -1
- metadata/generated/schema/api/tests/createCustomMetric.py +1 -1
- metadata/generated/schema/api/tests/createLogicalTestCases.py +1 -1
- metadata/generated/schema/api/tests/createTestCase.py +13 -6
- metadata/generated/schema/api/tests/createTestCaseResolutionStatus.py +1 -1
- metadata/generated/schema/api/tests/createTestCaseResult.py +1 -1
- metadata/generated/schema/api/tests/createTestDefinition.py +5 -4
- metadata/generated/schema/api/tests/createTestSuite.py +17 -5
- metadata/generated/schema/api/tests/moveGlossaryTermRequest.py +27 -0
- metadata/generated/schema/api/validateGlossaryTagsRequest.py +31 -0
- metadata/generated/schema/api/voteRequest.py +1 -1
- metadata/generated/schema/auth/__init__.py +1 -1
- metadata/generated/schema/auth/basicAuth.py +1 -1
- metadata/generated/schema/auth/basicLoginRequest.py +1 -1
- metadata/generated/schema/auth/changePasswordRequest.py +1 -1
- metadata/generated/schema/auth/createPersonalToken.py +1 -1
- metadata/generated/schema/auth/emailRequest.py +1 -1
- metadata/generated/schema/auth/emailVerificationToken.py +3 -4
- metadata/generated/schema/auth/generateToken.py +1 -1
- metadata/generated/schema/auth/jwtAuth.py +1 -1
- metadata/generated/schema/auth/loginRequest.py +1 -1
- metadata/generated/schema/auth/logoutRequest.py +1 -1
- metadata/generated/schema/auth/passwordResetRequest.py +1 -1
- metadata/generated/schema/auth/passwordResetToken.py +1 -1
- metadata/generated/schema/auth/personalAccessToken.py +1 -1
- metadata/generated/schema/auth/refreshToken.py +1 -1
- metadata/generated/schema/auth/registrationRequest.py +1 -1
- metadata/generated/schema/auth/revokePersonalToken.py +1 -1
- metadata/generated/schema/auth/revokeToken.py +1 -1
- metadata/generated/schema/auth/serviceTokenEnum.py +1 -1
- metadata/generated/schema/auth/ssoAuth.py +1 -1
- metadata/generated/schema/auth/supportToken.py +35 -0
- metadata/generated/schema/auth/tokenRefreshRequest.py +1 -1
- metadata/generated/schema/configuration/__init__.py +1 -1
- metadata/generated/schema/configuration/aiPlatformConfiguration.py +58 -0
- metadata/generated/schema/configuration/appsPrivateConfiguration.py +4 -1
- metadata/generated/schema/configuration/assetCertificationSettings.py +1 -1
- metadata/generated/schema/configuration/authConfig.py +1 -1
- metadata/generated/schema/configuration/authenticationConfiguration.py +49 -13
- metadata/generated/schema/configuration/authorizerConfiguration.py +41 -9
- metadata/generated/schema/configuration/cacheConfiguration.py +137 -0
- metadata/generated/schema/configuration/changeEventConfiguration.py +1 -1
- metadata/generated/schema/configuration/dataQualityConfiguration.py +1 -1
- metadata/generated/schema/configuration/elasticSearchConfiguration.py +80 -1
- metadata/generated/schema/configuration/entityRulesSettings.py +24 -0
- metadata/generated/schema/configuration/eventHandlerConfiguration.py +1 -1
- metadata/generated/schema/configuration/fernetConfiguration.py +1 -1
- metadata/generated/schema/configuration/jwtTokenConfiguration.py +1 -1
- metadata/generated/schema/configuration/kafkaEventConfiguration.py +1 -1
- metadata/generated/schema/configuration/ldapConfiguration.py +1 -1
- metadata/generated/schema/configuration/ldapTrustStoreConfig/__init__.py +1 -1
- metadata/generated/schema/configuration/ldapTrustStoreConfig/customTrustManagerConfig.py +1 -1
- metadata/generated/schema/configuration/ldapTrustStoreConfig/hostNameConfig.py +1 -1
- metadata/generated/schema/configuration/ldapTrustStoreConfig/jvmDefaultConfig.py +1 -1
- metadata/generated/schema/configuration/ldapTrustStoreConfig/trustAllConfig.py +1 -1
- metadata/generated/schema/configuration/ldapTrustStoreConfig/truststoreConfig.py +1 -1
- metadata/generated/schema/configuration/limitsConfiguration.py +1 -1
- metadata/generated/schema/configuration/lineageSettings.py +9 -1
- metadata/generated/schema/configuration/logStorageConfiguration.py +105 -0
- metadata/generated/schema/configuration/loginConfiguration.py +1 -1
- metadata/generated/schema/configuration/logoConfiguration.py +1 -1
- metadata/generated/schema/configuration/openMetadataBaseUrlConfiguration.py +22 -0
- metadata/generated/schema/configuration/opertionalConfiguration.py +24 -0
- metadata/generated/schema/configuration/opsConfig.py +25 -0
- metadata/generated/schema/configuration/pipelineServiceClientConfiguration.py +9 -2
- metadata/generated/schema/configuration/profilerConfiguration.py +2 -1
- metadata/generated/schema/configuration/searchSettings.py +508 -4
- metadata/generated/schema/configuration/securityConfiguration.py +26 -0
- metadata/generated/schema/configuration/slackAppConfiguration.py +1 -1
- metadata/generated/schema/configuration/taskNotificationConfiguration.py +1 -1
- metadata/generated/schema/configuration/testResultNotificationConfiguration.py +1 -1
- metadata/generated/schema/configuration/themeConfiguration.py +1 -1
- metadata/generated/schema/configuration/uiThemePreference.py +1 -1
- metadata/generated/schema/configuration/workflowSettings.py +24 -3
- metadata/generated/schema/dataInsight/__init__.py +1 -1
- metadata/generated/schema/dataInsight/custom/__init__.py +1 -1
- metadata/generated/schema/dataInsight/custom/dataInsightCustomChart.py +5 -1
- metadata/generated/schema/dataInsight/custom/dataInsightCustomChartResult.py +1 -1
- metadata/generated/schema/dataInsight/custom/dataInsightCustomChartResultList.py +1 -1
- metadata/generated/schema/dataInsight/custom/formulaHolder.py +1 -1
- metadata/generated/schema/dataInsight/custom/lineChart.py +19 -1
- metadata/generated/schema/dataInsight/custom/summaryCard.py +1 -1
- metadata/generated/schema/dataInsight/dataInsightChart.py +9 -5
- metadata/generated/schema/dataInsight/dataInsightChartResult.py +1 -1
- metadata/generated/schema/dataInsight/kpi/__init__.py +1 -1
- metadata/generated/schema/dataInsight/kpi/basic.py +1 -1
- metadata/generated/schema/dataInsight/kpi/kpi.py +8 -4
- metadata/generated/schema/dataInsight/type/__init__.py +1 -1
- metadata/generated/schema/dataInsight/type/aggregatedUnusedAssetsCount.py +1 -1
- metadata/generated/schema/dataInsight/type/aggregatedUnusedAssetsSize.py +1 -1
- metadata/generated/schema/dataInsight/type/aggregatedUsedVsUnusedAssetsCount.py +1 -1
- metadata/generated/schema/dataInsight/type/aggregatedUsedVsUnusedAssetsSize.py +1 -1
- metadata/generated/schema/dataInsight/type/dailyActiveUsers.py +1 -1
- metadata/generated/schema/dataInsight/type/mostActiveUsers.py +1 -1
- metadata/generated/schema/dataInsight/type/mostViewedEntities.py +1 -1
- metadata/generated/schema/dataInsight/type/pageViewsByEntities.py +1 -1
- metadata/generated/schema/dataInsight/type/unusedAssets.py +1 -1
- metadata/generated/schema/email/__init__.py +1 -1
- metadata/generated/schema/email/emailRequest.py +1 -1
- metadata/generated/schema/email/emailTemplate.py +1 -1
- metadata/generated/schema/email/emailTemplatePlaceholder.py +1 -1
- metadata/generated/schema/email/smtpSettings.py +6 -5
- metadata/generated/schema/email/templateValidationReponse.py +1 -1
- metadata/generated/schema/entity/__init__.py +1 -1
- metadata/generated/schema/entity/applications/__init__.py +1 -1
- metadata/generated/schema/entity/applications/app.py +40 -7
- metadata/generated/schema/entity/applications/appExtension.py +1 -1
- metadata/generated/schema/entity/applications/appRunRecord.py +46 -6
- metadata/generated/schema/entity/applications/configuration/__init__.py +1 -1
- metadata/generated/schema/entity/applications/configuration/applicationConfig.py +21 -6
- metadata/generated/schema/entity/applications/configuration/external/__init__.py +1 -1
- metadata/generated/schema/entity/applications/configuration/external/automator/__init__.py +1 -1
- metadata/generated/schema/entity/applications/configuration/external/automator/addCustomProperties.py +1 -1
- metadata/generated/schema/entity/applications/configuration/external/automator/addDataProductAction.py +41 -0
- metadata/generated/schema/entity/applications/configuration/external/automator/addDescriptionAction.py +1 -1
- metadata/generated/schema/entity/applications/configuration/external/automator/addDomainAction.py +5 -5
- metadata/generated/schema/entity/applications/configuration/external/automator/addOwnerAction.py +1 -1
- metadata/generated/schema/entity/applications/configuration/external/automator/addTagsAction.py +7 -2
- metadata/generated/schema/entity/applications/configuration/external/automator/addTermsAction.py +48 -0
- metadata/generated/schema/entity/applications/configuration/external/automator/addTestCaseAction.py +74 -0
- metadata/generated/schema/entity/applications/configuration/external/automator/addTierAction.py +1 -1
- metadata/generated/schema/entity/applications/configuration/external/automator/lineagePropagationAction.py +28 -2
- metadata/generated/schema/entity/applications/configuration/external/automator/mlTaggingAction.py +1 -1
- metadata/generated/schema/entity/applications/configuration/external/automator/propagationStopConfig.py +44 -0
- metadata/generated/schema/entity/applications/configuration/external/automator/removeCustomPropertiesAction.py +1 -1
- metadata/generated/schema/entity/applications/configuration/external/automator/removeDataProductAction.py +33 -0
- metadata/generated/schema/entity/applications/configuration/external/automator/removeDescriptionAction.py +10 -2
- metadata/generated/schema/entity/applications/configuration/external/automator/removeDomainAction.py +1 -1
- metadata/generated/schema/entity/applications/configuration/external/automator/removeOwnerAction.py +1 -1
- metadata/generated/schema/entity/applications/configuration/external/automator/removeTagsAction.py +27 -3
- metadata/generated/schema/entity/applications/configuration/external/automator/removeTermsAction.py +59 -0
- metadata/generated/schema/entity/applications/configuration/external/automator/removeTestCaseAction.py +45 -0
- metadata/generated/schema/entity/applications/configuration/external/automator/removeTierAction.py +1 -1
- metadata/generated/schema/entity/applications/configuration/external/automatorAppConfig.py +26 -1
- metadata/generated/schema/entity/applications/configuration/external/collateAIAppConfig.py +1 -1
- metadata/generated/schema/entity/applications/configuration/external/metadataExporterAppConfig.py +103 -0
- metadata/generated/schema/entity/applications/configuration/external/metadataExporterConnectors/__init__.py +3 -0
- metadata/generated/schema/entity/applications/configuration/external/metadataExporterConnectors/bigQueryConnection.py +90 -0
- metadata/generated/schema/entity/applications/configuration/external/metadataExporterConnectors/databricksConnection.py +101 -0
- metadata/generated/schema/entity/applications/configuration/external/metadataExporterConnectors/redshiftConnection.py +76 -0
- metadata/generated/schema/entity/applications/configuration/external/metadataExporterConnectors/snowflakeConnection.py +115 -0
- metadata/generated/schema/entity/applications/configuration/external/slackAppTokenConfiguration.py +1 -1
- metadata/generated/schema/entity/applications/configuration/internal/__init__.py +1 -1
- metadata/generated/schema/entity/applications/configuration/internal/autoPilotAppConfig.py +48 -0
- metadata/generated/schema/entity/applications/configuration/internal/collateAIQualityAgentAppConfig.py +46 -0
- metadata/generated/schema/entity/applications/configuration/internal/collateAITierAgentAppConfig.py +46 -0
- metadata/generated/schema/entity/applications/configuration/internal/dataInsightsAppConfig.py +111 -2
- metadata/generated/schema/entity/applications/configuration/internal/dataInsightsReportAppConfig.py +1 -1
- metadata/generated/schema/entity/applications/configuration/internal/dataRetentionConfiguration.py +46 -0
- metadata/generated/schema/entity/applications/configuration/internal/helloPipelinesConfiguration.py +18 -0
- metadata/generated/schema/entity/applications/configuration/internal/searchIndexingAppConfig.py +9 -1
- metadata/generated/schema/entity/applications/configuration/private/__init__.py +3 -0
- metadata/generated/schema/entity/applications/configuration/private/external/__init__.py +1 -1
- metadata/generated/schema/entity/applications/configuration/private/external/collateAIAppPrivateConfig.py +3 -22
- metadata/generated/schema/entity/applications/configuration/private/internal/__init__.py +3 -0
- metadata/generated/schema/entity/applications/configuration/private/internal/collateAITierAgentAppPrivateConfig.py +24 -0
- metadata/generated/schema/entity/applications/configuration/private/limits.py +33 -0
- metadata/generated/schema/entity/applications/createAppRequest.py +14 -6
- metadata/generated/schema/entity/applications/jobStatus.py +1 -1
- metadata/generated/schema/entity/applications/liveExecutionContext.py +1 -1
- metadata/generated/schema/entity/applications/marketplace/__init__.py +1 -1
- metadata/generated/schema/entity/applications/marketplace/appMarketPlaceDefinition.py +32 -12
- metadata/generated/schema/entity/applications/marketplace/createAppMarketPlaceDefinitionReq.py +35 -5
- metadata/generated/schema/entity/applications/scheduledExecutionContext.py +1 -1
- metadata/generated/schema/entity/automations/__init__.py +1 -1
- metadata/generated/schema/entity/automations/queryRunnerRequest.py +46 -0
- metadata/generated/schema/entity/automations/response/__init__.py +3 -0
- metadata/generated/schema/entity/automations/response/queryRunnerResponse.py +51 -0
- metadata/generated/schema/entity/automations/testServiceConnection.py +12 -1
- metadata/generated/schema/entity/automations/testSparkEngineConnection.py +31 -0
- metadata/generated/schema/entity/automations/workflow.py +30 -9
- metadata/generated/schema/entity/bot.py +9 -5
- metadata/generated/schema/entity/classification/__init__.py +1 -1
- metadata/generated/schema/entity/classification/classification.py +69 -7
- metadata/generated/schema/entity/classification/tag.py +53 -8
- metadata/generated/schema/entity/data/__init__.py +1 -1
- metadata/generated/schema/entity/data/apiCollection.py +15 -4
- metadata/generated/schema/entity/data/apiEndpoint.py +15 -4
- metadata/generated/schema/entity/data/chart.py +26 -4
- metadata/generated/schema/entity/data/container.py +14 -4
- metadata/generated/schema/entity/data/dashboard.py +13 -4
- metadata/generated/schema/entity/data/dashboardDataModel.py +23 -4
- metadata/generated/schema/entity/data/dataContract.py +403 -0
- metadata/generated/schema/entity/data/database.py +21 -4
- metadata/generated/schema/entity/data/databaseSchema.py +25 -8
- metadata/generated/schema/entity/data/directory.py +178 -0
- metadata/generated/schema/entity/data/file.py +189 -0
- metadata/generated/schema/entity/data/glossary.py +13 -4
- metadata/generated/schema/entity/data/glossaryTerm.py +15 -15
- metadata/generated/schema/entity/data/metric.py +25 -5
- metadata/generated/schema/entity/data/mlmodel.py +13 -4
- metadata/generated/schema/entity/data/pipeline.py +156 -5
- metadata/generated/schema/entity/data/query.py +13 -4
- metadata/generated/schema/entity/data/queryCostRecord.py +47 -0
- metadata/generated/schema/entity/data/queryCostSearchResult.py +56 -0
- metadata/generated/schema/entity/data/report.py +13 -4
- metadata/generated/schema/entity/data/searchIndex.py +15 -4
- metadata/generated/schema/entity/data/spreadsheet.py +215 -0
- metadata/generated/schema/entity/data/storedProcedure.py +22 -4
- metadata/generated/schema/entity/data/table.py +179 -4
- metadata/generated/schema/entity/data/topic.py +13 -4
- metadata/generated/schema/entity/data/worksheet.py +173 -0
- metadata/generated/schema/entity/datacontract/__init__.py +3 -0
- metadata/generated/schema/entity/datacontract/dataContractResult.py +74 -0
- metadata/generated/schema/entity/datacontract/qualityValidation.py +31 -0
- metadata/generated/schema/entity/datacontract/schemaValidation.py +31 -0
- metadata/generated/schema/entity/datacontract/semanticsValidation.py +39 -0
- metadata/generated/schema/entity/datacontract/slaValidation.py +32 -0
- metadata/generated/schema/entity/docStore/__init__.py +1 -1
- metadata/generated/schema/entity/docStore/document.py +9 -5
- metadata/generated/schema/entity/domains/__init__.py +1 -1
- metadata/generated/schema/entity/domains/dataProduct.py +171 -6
- metadata/generated/schema/entity/domains/domain.py +22 -3
- metadata/generated/schema/entity/events/__init__.py +1 -1
- metadata/generated/schema/entity/events/notificationTemplate.py +111 -0
- metadata/generated/schema/entity/events/webhook.py +7 -1
- metadata/generated/schema/entity/feed/__init__.py +1 -1
- metadata/generated/schema/entity/feed/assets.py +1 -1
- metadata/generated/schema/entity/feed/customProperty.py +1 -1
- metadata/generated/schema/entity/feed/description.py +1 -1
- metadata/generated/schema/entity/feed/domain.py +8 -8
- metadata/generated/schema/entity/feed/entityInfo.py +1 -1
- metadata/generated/schema/entity/feed/owner.py +1 -1
- metadata/generated/schema/entity/feed/suggestion.py +1 -1
- metadata/generated/schema/entity/feed/tag.py +1 -1
- metadata/generated/schema/entity/feed/testCaseResult.py +1 -1
- metadata/generated/schema/entity/feed/thread.py +4 -3
- metadata/generated/schema/entity/policies/__init__.py +1 -1
- metadata/generated/schema/entity/policies/accessControl/__init__.py +1 -1
- metadata/generated/schema/entity/policies/accessControl/resourceDescriptor.py +6 -1
- metadata/generated/schema/entity/policies/accessControl/resourcePermission.py +1 -1
- metadata/generated/schema/entity/policies/accessControl/rule.py +1 -1
- metadata/generated/schema/entity/policies/filters.py +1 -1
- metadata/generated/schema/entity/policies/policy.py +8 -4
- metadata/generated/schema/entity/services/__init__.py +1 -1
- metadata/generated/schema/entity/services/apiService.py +18 -3
- metadata/generated/schema/entity/services/connections/__init__.py +1 -1
- metadata/generated/schema/entity/services/connections/api/__init__.py +1 -1
- metadata/generated/schema/entity/services/connections/api/restConnection.py +15 -1
- metadata/generated/schema/entity/services/connections/common/__init__.py +1 -1
- metadata/generated/schema/entity/services/connections/common/sslCertPaths.py +1 -1
- metadata/generated/schema/entity/services/connections/common/sslCertValues.py +1 -1
- metadata/generated/schema/entity/services/connections/common/sslConfig.py +1 -1
- metadata/generated/schema/entity/services/connections/connectionBasicType.py +7 -1
- metadata/generated/schema/entity/services/connections/dashboard/__init__.py +1 -1
- metadata/generated/schema/entity/services/connections/dashboard/customDashboardConnection.py +39 -2
- metadata/generated/schema/entity/services/connections/dashboard/domoDashboardConnection.py +34 -1
- metadata/generated/schema/entity/services/connections/dashboard/grafanaConnection.py +77 -0
- metadata/generated/schema/entity/services/connections/dashboard/hexConnection.py +76 -0
- metadata/generated/schema/entity/services/connections/dashboard/lightdashConnection.py +34 -1
- metadata/generated/schema/entity/services/connections/dashboard/lookerConnection.py +46 -2
- metadata/generated/schema/entity/services/connections/dashboard/metabaseConnection.py +50 -4
- metadata/generated/schema/entity/services/connections/dashboard/microStrategyConnection.py +34 -1
- metadata/generated/schema/entity/services/connections/dashboard/modeConnection.py +34 -1
- metadata/generated/schema/entity/services/connections/dashboard/powerBIConnection.py +50 -1
- metadata/generated/schema/entity/services/connections/dashboard/powerBIReportServerConnection.py +34 -1
- metadata/generated/schema/entity/services/connections/dashboard/powerbi/__init__.py +1 -1
- metadata/generated/schema/entity/services/connections/dashboard/powerbi/azureConfig.py +1 -1
- metadata/generated/schema/entity/services/connections/dashboard/powerbi/bucketDetails.py +1 -1
- metadata/generated/schema/entity/services/connections/dashboard/powerbi/gcsConfig.py +1 -1
- metadata/generated/schema/entity/services/connections/dashboard/powerbi/s3Config.py +1 -1
- metadata/generated/schema/entity/services/connections/dashboard/qlikCloudConnection.py +51 -2
- metadata/generated/schema/entity/services/connections/dashboard/qlikSenseConnection.py +34 -1
- metadata/generated/schema/entity/services/connections/dashboard/quickSightConnection.py +34 -1
- metadata/generated/schema/entity/services/connections/dashboard/redashConnection.py +34 -1
- metadata/generated/schema/entity/services/connections/dashboard/sigmaConnection.py +40 -1
- metadata/generated/schema/entity/services/connections/dashboard/supersetConnection.py +34 -1
- metadata/generated/schema/entity/services/connections/dashboard/tableauConnection.py +51 -11
- metadata/generated/schema/entity/services/connections/dashboard/thoughtSpotConnection.py +77 -0
- metadata/generated/schema/entity/services/connections/database/__init__.py +1 -1
- metadata/generated/schema/entity/services/connections/database/athenaConnection.py +26 -1
- metadata/generated/schema/entity/services/connections/database/azureSQLConnection.py +26 -1
- metadata/generated/schema/entity/services/connections/database/bigQueryConnection.py +48 -1
- metadata/generated/schema/entity/services/connections/database/bigTableConnection.py +26 -1
- metadata/generated/schema/entity/services/connections/database/cassandra/__init__.py +3 -0
- metadata/generated/schema/entity/services/connections/database/cassandra/cloudConfig.py +61 -0
- metadata/generated/schema/entity/services/connections/database/cassandraConnection.py +106 -0
- metadata/generated/schema/entity/services/connections/database/clickhouseConnection.py +26 -1
- metadata/generated/schema/entity/services/connections/database/cockroachConnection.py +136 -0
- metadata/generated/schema/entity/services/connections/database/common/__init__.py +1 -1
- metadata/generated/schema/entity/services/connections/database/common/azureConfig.py +1 -1
- metadata/generated/schema/entity/services/connections/database/common/basicAuth.py +1 -1
- metadata/generated/schema/entity/services/connections/database/common/iamAuthConfig.py +1 -1
- metadata/generated/schema/entity/services/connections/database/common/jwtAuth.py +1 -1
- metadata/generated/schema/entity/services/connections/database/common/noConfigAuthenticationTypes.py +1 -1
- metadata/generated/schema/entity/services/connections/database/couchbaseConnection.py +26 -1
- metadata/generated/schema/entity/services/connections/database/customDatabaseConnection.py +31 -2
- metadata/generated/schema/entity/services/connections/database/databricks/__init__.py +3 -0
- metadata/generated/schema/entity/services/connections/database/databricks/azureAdSetup.py +37 -0
- metadata/generated/schema/entity/services/connections/database/databricks/databricksOAuth.py +30 -0
- metadata/generated/schema/entity/services/connections/database/databricks/personalAccessToken.py +23 -0
- metadata/generated/schema/entity/services/connections/database/databricksConnection.py +48 -8
- metadata/generated/schema/entity/services/connections/database/datalake/__init__.py +1 -1
- metadata/generated/schema/entity/services/connections/database/datalake/azureConfig.py +1 -1
- metadata/generated/schema/entity/services/connections/database/datalake/gcsConfig.py +1 -1
- metadata/generated/schema/entity/services/connections/database/datalake/s3Config.py +1 -1
- metadata/generated/schema/entity/services/connections/database/datalakeConnection.py +26 -1
- metadata/generated/schema/entity/services/connections/database/db2Connection.py +34 -1
- metadata/generated/schema/entity/services/connections/database/deltaLakeConnection.py +26 -1
- metadata/generated/schema/entity/services/connections/database/deltalake/__init__.py +1 -1
- metadata/generated/schema/entity/services/connections/database/deltalake/metastoreConfig.py +1 -1
- metadata/generated/schema/entity/services/connections/database/deltalake/storageConfig.py +1 -1
- metadata/generated/schema/entity/services/connections/database/domoDatabaseConnection.py +26 -1
- metadata/generated/schema/entity/services/connections/database/dorisConnection.py +26 -1
- metadata/generated/schema/entity/services/connections/database/druidConnection.py +26 -1
- metadata/generated/schema/entity/services/connections/database/dynamoDBConnection.py +26 -1
- metadata/generated/schema/entity/services/connections/database/epicConnection.py +80 -0
- metadata/generated/schema/entity/services/connections/database/exasolConnection.py +29 -1
- metadata/generated/schema/entity/services/connections/database/glueConnection.py +26 -1
- metadata/generated/schema/entity/services/connections/database/greenplumConnection.py +26 -1
- metadata/generated/schema/entity/services/connections/database/hiveConnection.py +41 -1
- metadata/generated/schema/entity/services/connections/database/iceberg/__init__.py +1 -1
- metadata/generated/schema/entity/services/connections/database/iceberg/dynamoDbCatalogConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/database/iceberg/glueCatalogConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/database/iceberg/hiveCatalogConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/database/iceberg/icebergCatalog.py +1 -1
- metadata/generated/schema/entity/services/connections/database/iceberg/icebergFileSystem.py +1 -1
- metadata/generated/schema/entity/services/connections/database/iceberg/restCatalogConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/database/icebergConnection.py +26 -1
- metadata/generated/schema/entity/services/connections/database/impalaConnection.py +26 -1
- metadata/generated/schema/entity/services/connections/database/mariaDBConnection.py +26 -1
- metadata/generated/schema/entity/services/connections/database/mongoDBConnection.py +26 -1
- metadata/generated/schema/entity/services/connections/database/mssqlConnection.py +54 -1
- metadata/generated/schema/entity/services/connections/database/mysqlConnection.py +37 -1
- metadata/generated/schema/entity/services/connections/database/oracleConnection.py +26 -1
- metadata/generated/schema/entity/services/connections/database/pinotDBConnection.py +26 -1
- metadata/generated/schema/entity/services/connections/database/postgresConnection.py +26 -1
- metadata/generated/schema/entity/services/connections/database/prestoConnection.py +26 -1
- metadata/generated/schema/entity/services/connections/database/redshiftConnection.py +30 -1
- metadata/generated/schema/entity/services/connections/database/salesforceConnection.py +50 -6
- metadata/generated/schema/entity/services/connections/database/sapErpConnection.py +26 -1
- metadata/generated/schema/entity/services/connections/database/sapHana/__init__.py +1 -1
- metadata/generated/schema/entity/services/connections/database/sapHana/sapHanaHDBConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/database/sapHana/sapHanaSQLConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/database/sapHanaConnection.py +26 -1
- metadata/generated/schema/entity/services/connections/database/sasConnection.py +32 -1
- metadata/generated/schema/entity/services/connections/database/serviceNowConnection.py +90 -0
- metadata/generated/schema/entity/services/connections/database/singleStoreConnection.py +26 -1
- metadata/generated/schema/entity/services/connections/database/snowflakeConnection.py +62 -1
- metadata/generated/schema/entity/services/connections/database/sqliteConnection.py +26 -1
- metadata/generated/schema/entity/services/connections/database/ssasConnection.py +47 -0
- metadata/generated/schema/entity/services/connections/database/synapseConnection.py +52 -2
- metadata/generated/schema/entity/services/connections/database/teradataConnection.py +26 -1
- metadata/generated/schema/entity/services/connections/database/timescaleConnection.py +162 -0
- metadata/generated/schema/entity/services/connections/database/trinoConnection.py +34 -1
- metadata/generated/schema/entity/services/connections/database/unityCatalogConnection.py +39 -6
- metadata/generated/schema/entity/services/connections/database/verticaConnection.py +26 -1
- metadata/generated/schema/entity/services/connections/drive/__init__.py +3 -0
- metadata/generated/schema/entity/services/connections/drive/customDriveConnection.py +78 -0
- metadata/generated/schema/entity/services/connections/drive/googleDriveConnection.py +115 -0
- metadata/generated/schema/entity/services/connections/drive/sharePointConnection.py +112 -0
- metadata/generated/schema/entity/services/connections/messaging/__init__.py +1 -1
- metadata/generated/schema/entity/services/connections/messaging/customMessagingConnection.py +15 -2
- metadata/generated/schema/entity/services/connections/messaging/kafkaConnection.py +18 -1
- metadata/generated/schema/entity/services/connections/messaging/kinesisConnection.py +10 -1
- metadata/generated/schema/entity/services/connections/messaging/pulsarConnection.py +10 -1
- metadata/generated/schema/entity/services/connections/messaging/redpandaConnection.py +18 -1
- metadata/generated/schema/entity/services/connections/messaging/saslMechanismType.py +1 -1
- metadata/generated/schema/entity/services/connections/metadata/__init__.py +1 -1
- metadata/generated/schema/entity/services/connections/metadata/alationConnection.py +26 -1
- metadata/generated/schema/entity/services/connections/metadata/alationSinkConnection.py +26 -1
- metadata/generated/schema/entity/services/connections/metadata/amundsenConnection.py +26 -1
- metadata/generated/schema/entity/services/connections/metadata/atlasConnection.py +26 -1
- metadata/generated/schema/entity/services/connections/metadata/collibraConnection.py +73 -0
- metadata/generated/schema/entity/services/connections/metadata/metadataESConnection.py +26 -1
- metadata/generated/schema/entity/services/connections/metadata/openMetadataConnection.py +26 -2
- metadata/generated/schema/entity/services/connections/mlmodel/__init__.py +1 -1
- metadata/generated/schema/entity/services/connections/mlmodel/customMlModelConnection.py +15 -2
- metadata/generated/schema/entity/services/connections/mlmodel/mlflowConnection.py +10 -1
- metadata/generated/schema/entity/services/connections/mlmodel/sageMakerConnection.py +10 -1
- metadata/generated/schema/entity/services/connections/mlmodel/sklearnConnection.py +10 -1
- metadata/generated/schema/entity/services/connections/mlmodel/vertexaiConnection.py +15 -1
- metadata/generated/schema/entity/services/connections/pipeline/__init__.py +1 -1
- metadata/generated/schema/entity/services/connections/pipeline/airbyte/__init__.py +3 -0
- metadata/generated/schema/entity/services/connections/pipeline/airbyte/basicAuth.py +26 -0
- metadata/generated/schema/entity/services/connections/pipeline/airbyte/oauthClientAuth.py +30 -0
- metadata/generated/schema/entity/services/connections/pipeline/airbyteConnection.py +25 -10
- metadata/generated/schema/entity/services/connections/pipeline/airflowConnection.py +10 -1
- metadata/generated/schema/entity/services/connections/pipeline/backendConnection.py +11 -1
- metadata/generated/schema/entity/services/connections/pipeline/customPipelineConnection.py +15 -2
- metadata/generated/schema/entity/services/connections/pipeline/dagsterConnection.py +10 -1
- metadata/generated/schema/entity/services/connections/pipeline/databricksPipelineConnection.py +28 -1
- metadata/generated/schema/entity/services/connections/pipeline/datafactoryConnection.py +15 -1
- metadata/generated/schema/entity/services/connections/pipeline/dbtCloudConnection.py +24 -1
- metadata/generated/schema/entity/services/connections/pipeline/domoPipelineConnection.py +10 -1
- metadata/generated/schema/entity/services/connections/pipeline/fivetranConnection.py +11 -2
- metadata/generated/schema/entity/services/connections/pipeline/flinkConnection.py +15 -1
- metadata/generated/schema/entity/services/connections/pipeline/gluePipelineConnection.py +10 -1
- metadata/generated/schema/entity/services/connections/pipeline/kafkaConnectConnection.py +16 -1
- metadata/generated/schema/entity/services/connections/pipeline/kinesisFirehoseConnection.py +58 -0
- metadata/generated/schema/entity/services/connections/pipeline/matillion/__init__.py +3 -0
- metadata/generated/schema/entity/services/connections/pipeline/matillion/matillionETL.py +39 -0
- metadata/generated/schema/entity/services/connections/pipeline/matillionConnection.py +13 -25
- metadata/generated/schema/entity/services/connections/pipeline/nifi/__init__.py +3 -0
- metadata/generated/schema/entity/services/connections/pipeline/nifi/basicAuth.py +40 -0
- metadata/generated/schema/entity/services/connections/pipeline/nifi/clientCertificateAuth.py +38 -0
- metadata/generated/schema/entity/services/connections/pipeline/nifiConnection.py +12 -2
- metadata/generated/schema/entity/services/connections/pipeline/openLineageConnection.py +10 -1
- metadata/generated/schema/entity/services/connections/pipeline/snowplowConnection.py +93 -0
- metadata/generated/schema/entity/services/connections/pipeline/sparkConnection.py +16 -1
- metadata/generated/schema/entity/services/connections/pipeline/splineConnection.py +10 -1
- metadata/generated/schema/entity/services/connections/pipeline/ssisConnection.py +56 -0
- metadata/generated/schema/entity/services/connections/pipeline/stitchConnection.py +10 -1
- metadata/generated/schema/entity/services/connections/pipeline/wherescapeConnection.py +51 -0
- metadata/generated/schema/entity/services/connections/search/__init__.py +1 -1
- metadata/generated/schema/entity/services/connections/search/customSearchConnection.py +15 -2
- metadata/generated/schema/entity/services/connections/search/elasticSearch/__init__.py +1 -1
- metadata/generated/schema/entity/services/connections/search/elasticSearch/apiAuth.py +1 -1
- metadata/generated/schema/entity/services/connections/search/elasticSearch/basicAuth.py +1 -1
- metadata/generated/schema/entity/services/connections/search/elasticSearchConnection.py +10 -1
- metadata/generated/schema/entity/services/connections/search/openSearchConnection.py +37 -29
- metadata/generated/schema/entity/services/connections/security/__init__.py +3 -0
- metadata/generated/schema/entity/services/connections/security/ranger/__init__.py +3 -0
- metadata/generated/schema/entity/services/connections/security/ranger/basicAuth.py +26 -0
- metadata/generated/schema/entity/services/connections/security/rangerConnection.py +39 -0
- metadata/generated/schema/entity/services/connections/serviceConnection.py +7 -1
- metadata/generated/schema/entity/services/connections/storage/__init__.py +1 -1
- metadata/generated/schema/entity/services/connections/storage/adlsConnection.py +10 -1
- metadata/generated/schema/entity/services/connections/storage/customStorageConnection.py +15 -2
- metadata/generated/schema/entity/services/connections/storage/gcsConnection.py +10 -1
- metadata/generated/schema/entity/services/connections/storage/s3Connection.py +19 -2
- metadata/generated/schema/entity/services/connections/testConnectionDefinition.py +9 -5
- metadata/generated/schema/entity/services/connections/testConnectionResult.py +1 -1
- metadata/generated/schema/entity/services/dashboardService.py +27 -3
- metadata/generated/schema/entity/services/databaseService.py +36 -3
- metadata/generated/schema/entity/services/driveService.py +143 -0
- metadata/generated/schema/entity/services/ingestionPipelines/__init__.py +1 -1
- metadata/generated/schema/entity/services/ingestionPipelines/ingestionPipeline.py +50 -4
- metadata/generated/schema/entity/services/ingestionPipelines/pipelineServiceClientResponse.py +1 -1
- metadata/generated/schema/entity/services/ingestionPipelines/reverseIngestionResponse.py +47 -0
- metadata/generated/schema/entity/services/ingestionPipelines/status.py +1 -1
- metadata/generated/schema/entity/services/messagingService.py +18 -3
- metadata/generated/schema/entity/services/metadataService.py +21 -3
- metadata/generated/schema/entity/services/mlmodelService.py +18 -3
- metadata/generated/schema/entity/services/pipelineService.py +30 -3
- metadata/generated/schema/entity/services/searchService.py +19 -4
- metadata/generated/schema/entity/services/securityService.py +135 -0
- metadata/generated/schema/entity/services/serviceType.py +3 -1
- metadata/generated/schema/entity/services/storageService.py +18 -3
- metadata/generated/schema/entity/teams/__init__.py +1 -1
- metadata/generated/schema/entity/teams/persona.py +20 -5
- metadata/generated/schema/entity/teams/role.py +9 -5
- metadata/generated/schema/entity/teams/team.py +12 -1
- metadata/generated/schema/entity/teams/teamHierarchy.py +1 -1
- metadata/generated/schema/entity/teams/user.py +39 -3
- metadata/generated/schema/entity/type.py +9 -11
- metadata/generated/schema/entity/utils/__init__.py +1 -1
- metadata/generated/schema/entity/utils/entitiesCount.py +1 -1
- metadata/generated/schema/entity/utils/servicesCount.py +1 -1
- metadata/generated/schema/entity/utils/supersetApiConnection.py +1 -1
- metadata/generated/schema/events/__init__.py +1 -1
- metadata/generated/schema/events/alertMetrics.py +1 -1
- metadata/generated/schema/events/api/__init__.py +1 -1
- metadata/generated/schema/events/api/createEventSubscription.py +13 -4
- metadata/generated/schema/events/api/eventSubscriptionDiagnosticInfo.py +1 -1
- metadata/generated/schema/events/api/eventsRecord.py +1 -1
- metadata/generated/schema/events/api/testEventSubscriptionDestination.py +1 -1
- metadata/generated/schema/events/api/typedEvent.py +1 -1
- metadata/generated/schema/events/emailAlertConfig.py +1 -1
- metadata/generated/schema/events/eventFilterRule.py +1 -1
- metadata/generated/schema/events/eventSubscription.py +32 -6
- metadata/generated/schema/events/eventSubscriptionOffset.py +1 -1
- metadata/generated/schema/events/failedEvent.py +1 -1
- metadata/generated/schema/events/failedEventResponse.py +1 -1
- metadata/generated/schema/events/filterResourceDescriptor.py +1 -1
- metadata/generated/schema/events/statusContext.py +1 -1
- metadata/generated/schema/events/subscriptionResourceDescriptor.py +2 -1
- metadata/generated/schema/events/subscriptionStatus.py +1 -1
- metadata/generated/schema/events/testDestinationStatus.py +1 -1
- metadata/generated/schema/governance/workflows/__init__.py +1 -1
- metadata/generated/schema/governance/workflows/elements/__init__.py +1 -1
- metadata/generated/schema/governance/workflows/elements/edge.py +2 -2
- metadata/generated/schema/governance/workflows/elements/nodeSubType.py +7 -1
- metadata/generated/schema/governance/workflows/elements/nodeType.py +2 -1
- metadata/generated/schema/governance/workflows/elements/nodes/__init__.py +1 -1
- metadata/generated/schema/governance/workflows/elements/nodes/automatedTask/__init__.py +1 -1
- metadata/generated/schema/governance/workflows/elements/nodes/automatedTask/checkEntityAttributesTask.py +28 -8
- metadata/generated/schema/governance/workflows/elements/nodes/automatedTask/createAndRunIngestionPipelineTask.py +86 -0
- metadata/generated/schema/governance/workflows/elements/nodes/automatedTask/dataCompletenessTask.py +124 -0
- metadata/generated/schema/governance/workflows/elements/nodes/automatedTask/rollbackEntityTask.py +54 -0
- metadata/generated/schema/governance/workflows/elements/nodes/automatedTask/runAppTask.py +73 -0
- metadata/generated/schema/governance/workflows/elements/nodes/automatedTask/setEntityAttributeTask.py +66 -0
- metadata/generated/schema/governance/workflows/elements/nodes/automatedTask/setEntityCertificationTask.py +27 -6
- metadata/generated/schema/governance/workflows/elements/nodes/automatedTask/setGlossaryTermStatusTask.py +29 -9
- metadata/generated/schema/governance/workflows/elements/nodes/endEvent/__init__.py +1 -1
- metadata/generated/schema/governance/workflows/elements/nodes/endEvent/endEvent.py +9 -4
- metadata/generated/schema/governance/workflows/elements/nodes/gateway/__init__.py +3 -0
- metadata/generated/schema/governance/workflows/elements/nodes/gateway/parallelGateway.py +30 -0
- metadata/generated/schema/governance/workflows/elements/nodes/startEvent/__init__.py +1 -1
- metadata/generated/schema/governance/workflows/elements/nodes/startEvent/startEvent.py +9 -4
- metadata/generated/schema/governance/workflows/elements/nodes/userTask/__init__.py +1 -1
- metadata/generated/schema/governance/workflows/elements/nodes/userTask/userApprovalTask.py +45 -7
- metadata/generated/schema/governance/workflows/elements/triggers/__init__.py +1 -1
- metadata/generated/schema/governance/workflows/elements/triggers/eventBasedEntityTrigger.py +103 -8
- metadata/generated/schema/governance/workflows/elements/triggers/noOpTrigger.py +20 -0
- metadata/generated/schema/governance/workflows/elements/triggers/periodicBatchEntityTrigger.py +94 -8
- metadata/generated/schema/governance/workflows/workflowDefinition.py +34 -7
- metadata/generated/schema/governance/workflows/workflowInstance.py +11 -8
- metadata/generated/schema/governance/workflows/workflowInstanceState.py +8 -8
- metadata/generated/schema/jobs/__init__.py +1 -1
- metadata/generated/schema/jobs/backgroundJob.py +12 -3
- metadata/generated/schema/jobs/enumCleanupArgs.py +1 -1
- metadata/generated/schema/metadataIngestion/__init__.py +1 -1
- metadata/generated/schema/metadataIngestion/apiServiceMetadataPipeline.py +1 -1
- metadata/generated/schema/metadataIngestion/application.py +8 -1
- metadata/generated/schema/metadataIngestion/applicationPipeline.py +1 -1
- metadata/generated/schema/metadataIngestion/dashboardServiceMetadataPipeline.py +4 -4
- metadata/generated/schema/metadataIngestion/dataInsightPipeline.py +1 -1
- metadata/generated/schema/metadataIngestion/databaseServiceAutoClassificationPipeline.py +3 -3
- metadata/generated/schema/metadataIngestion/databaseServiceMetadataPipeline.py +20 -4
- metadata/generated/schema/metadataIngestion/databaseServiceProfilerPipeline.py +29 -3
- metadata/generated/schema/metadataIngestion/databaseServiceQueryLineagePipeline.py +42 -2
- metadata/generated/schema/metadataIngestion/databaseServiceQueryUsagePipeline.py +9 -1
- metadata/generated/schema/metadataIngestion/dbtPipeline.py +16 -1
- metadata/generated/schema/metadataIngestion/dbtconfig/__init__.py +1 -1
- metadata/generated/schema/metadataIngestion/dbtconfig/dbtAzureConfig.py +1 -1
- metadata/generated/schema/metadataIngestion/dbtconfig/dbtBucketDetails.py +1 -1
- metadata/generated/schema/metadataIngestion/dbtconfig/dbtCloudConfig.py +1 -1
- metadata/generated/schema/metadataIngestion/dbtconfig/dbtGCSConfig.py +1 -1
- metadata/generated/schema/metadataIngestion/dbtconfig/dbtHttpConfig.py +1 -1
- metadata/generated/schema/metadataIngestion/dbtconfig/dbtLocalConfig.py +1 -1
- metadata/generated/schema/metadataIngestion/dbtconfig/dbtS3Config.py +1 -1
- metadata/generated/schema/metadataIngestion/driveServiceMetadataPipeline.py +165 -0
- metadata/generated/schema/metadataIngestion/engine/__init__.py +3 -0
- metadata/generated/schema/metadataIngestion/engine/nativeEngineConfig.py +23 -0
- metadata/generated/schema/metadataIngestion/engine/sparkEngineConfig.py +43 -0
- metadata/generated/schema/metadataIngestion/messagingServiceMetadataPipeline.py +1 -1
- metadata/generated/schema/metadataIngestion/metadataToElasticSearchPipeline.py +1 -1
- metadata/generated/schema/metadataIngestion/mlmodelServiceMetadataPipeline.py +29 -2
- metadata/generated/schema/metadataIngestion/pipelineServiceMetadataPipeline.py +1 -1
- metadata/generated/schema/metadataIngestion/reverseIngestionPipeline.py +71 -0
- metadata/generated/schema/metadataIngestion/reverseingestionconfig/__init__.py +3 -0
- metadata/generated/schema/metadataIngestion/reverseingestionconfig/descriptionConfig.py +24 -0
- metadata/generated/schema/metadataIngestion/reverseingestionconfig/ownerConfig.py +28 -0
- metadata/generated/schema/metadataIngestion/reverseingestionconfig/tagsConfig.py +28 -0
- metadata/generated/schema/metadataIngestion/searchServiceMetadataPipeline.py +2 -2
- metadata/generated/schema/metadataIngestion/securityServiceMetadataPipeline.py +27 -0
- metadata/generated/schema/metadataIngestion/storage/__init__.py +1 -1
- metadata/generated/schema/metadataIngestion/storage/containerMetadataConfig.py +1 -1
- metadata/generated/schema/metadataIngestion/storage/manifestMetadataConfig.py +17 -1
- metadata/generated/schema/metadataIngestion/storage/storageBucketDetails.py +1 -1
- metadata/generated/schema/metadataIngestion/storage/storageMetadataADLSConfig.py +1 -1
- metadata/generated/schema/metadataIngestion/storage/storageMetadataGCSConfig.py +1 -1
- metadata/generated/schema/metadataIngestion/storage/storageMetadataHttpConfig.py +1 -1
- metadata/generated/schema/metadataIngestion/storage/storageMetadataLocalConfig.py +1 -1
- metadata/generated/schema/metadataIngestion/storage/storageMetadataS3Config.py +1 -1
- metadata/generated/schema/metadataIngestion/storageServiceMetadataPipeline.py +1 -1
- metadata/generated/schema/metadataIngestion/testSuitePipeline.py +1 -1
- metadata/generated/schema/metadataIngestion/workflow.py +19 -1
- metadata/generated/schema/monitoring/__init__.py +1 -1
- metadata/generated/schema/monitoring/eventMonitorProvider.py +1 -1
- metadata/generated/schema/scim/__init__.py +3 -0
- metadata/generated/schema/scim/scimConfiguration.py +32 -0
- metadata/generated/schema/search/__init__.py +3 -0
- metadata/generated/schema/search/aggregationRequest.py +80 -0
- metadata/generated/schema/search/searchRequest.py +120 -0
- metadata/generated/schema/security/__init__.py +1 -1
- metadata/generated/schema/security/client/__init__.py +1 -1
- metadata/generated/schema/security/client/auth0SSOClientConfig.py +1 -1
- metadata/generated/schema/security/client/azureSSOClientConfig.py +1 -1
- metadata/generated/schema/security/client/customOidcSSOClientConfig.py +1 -1
- metadata/generated/schema/security/client/googleSSOClientConfig.py +1 -1
- metadata/generated/schema/security/client/oidcClientConfig.py +22 -10
- metadata/generated/schema/security/client/oktaSSOClientConfig.py +1 -1
- metadata/generated/schema/security/client/openMetadataJWTClientConfig.py +1 -1
- metadata/generated/schema/security/client/samlSSOClientConfig.py +6 -6
- metadata/generated/schema/security/credentials/__init__.py +1 -1
- metadata/generated/schema/security/credentials/accessTokenAuth.py +1 -1
- metadata/generated/schema/security/credentials/apiAccessTokenAuth.py +1 -1
- metadata/generated/schema/security/credentials/awsCredentials.py +1 -1
- metadata/generated/schema/security/credentials/azureCredentials.py +1 -1
- metadata/generated/schema/security/credentials/basicAuth.py +1 -1
- metadata/generated/schema/security/credentials/bitbucketCredentials.py +10 -2
- metadata/generated/schema/security/credentials/gcpCredentials.py +42 -22
- metadata/generated/schema/security/credentials/gcpExternalAccount.py +2 -2
- metadata/generated/schema/security/credentials/gcpValues.py +1 -1
- metadata/generated/schema/security/credentials/gitCredentials.py +1 -1
- metadata/generated/schema/security/credentials/githubCredentials.py +10 -2
- metadata/generated/schema/security/credentials/gitlabCredentials.py +10 -2
- metadata/generated/schema/security/credentials/kubernetesCredentials.py +40 -0
- metadata/generated/schema/security/sasl/__init__.py +1 -1
- metadata/generated/schema/security/sasl/saslClientConfig.py +1 -1
- metadata/generated/schema/security/secrets/__init__.py +1 -1
- metadata/generated/schema/security/secrets/secretsManagerClientLoader.py +1 -1
- metadata/generated/schema/security/secrets/secretsManagerConfiguration.py +1 -1
- metadata/generated/schema/security/secrets/secretsManagerProvider.py +2 -1
- metadata/generated/schema/security/securityConfiguration.py +1 -1
- metadata/generated/schema/security/ssl/__init__.py +1 -1
- metadata/generated/schema/security/ssl/validateSSLClientConfig.py +1 -1
- metadata/generated/schema/security/ssl/verifySSLConfig.py +1 -1
- metadata/generated/schema/settings/__init__.py +1 -1
- metadata/generated/schema/settings/settings.py +11 -1
- metadata/generated/schema/system/__init__.py +1 -1
- metadata/generated/schema/system/entityError.py +1 -1
- metadata/generated/schema/system/eventPublisherJob.py +62 -11
- metadata/generated/schema/system/indexingError.py +2 -2
- metadata/generated/schema/system/limitsResponse.py +1 -1
- metadata/generated/schema/system/securityValidationResponse.py +62 -0
- metadata/generated/schema/system/ui/__init__.py +1 -1
- metadata/generated/schema/system/ui/knowledgePanel.py +1 -1
- metadata/generated/schema/system/ui/navigationItem.py +38 -0
- metadata/generated/schema/system/ui/page.py +34 -18
- metadata/generated/schema/system/ui/tab.py +36 -0
- metadata/generated/schema/system/ui/uiCustomization.py +52 -0
- metadata/generated/schema/system/validationResponse.py +8 -1
- metadata/generated/schema/tests/__init__.py +1 -1
- metadata/generated/schema/tests/assigned.py +1 -1
- metadata/generated/schema/tests/basic.py +1 -1
- metadata/generated/schema/tests/customMetric.py +1 -1
- metadata/generated/schema/tests/dataQualityReport.py +1 -1
- metadata/generated/schema/tests/resolved.py +1 -1
- metadata/generated/schema/tests/testCase.py +36 -5
- metadata/generated/schema/tests/testCaseResolutionStatus.py +1 -1
- metadata/generated/schema/tests/testDefinition.py +9 -5
- metadata/generated/schema/tests/testSuite.py +26 -4
- metadata/generated/schema/type/__init__.py +1 -1
- metadata/generated/schema/type/apiSchema.py +1 -1
- metadata/generated/schema/type/assetCertification.py +1 -1
- metadata/generated/schema/type/auditLog.py +1 -1
- metadata/generated/schema/type/basic.py +61 -3
- metadata/generated/schema/type/bulkOperationResult.py +1 -1
- metadata/generated/schema/type/changeEvent.py +9 -7
- metadata/generated/schema/type/changeEventType.py +1 -1
- metadata/generated/schema/type/changeSummaryMap.py +37 -0
- metadata/generated/schema/type/collectionDescriptor.py +1 -1
- metadata/generated/schema/type/contextRecognizer.py +50 -0
- metadata/generated/schema/type/contractExecutionStatus.py +16 -0
- metadata/generated/schema/type/csvDocumentation.py +1 -1
- metadata/generated/schema/type/csvErrorType.py +1 -1
- metadata/generated/schema/type/csvFile.py +1 -1
- metadata/generated/schema/type/csvImportResult.py +1 -1
- metadata/generated/schema/type/customProperties/__init__.py +1 -1
- metadata/generated/schema/type/customProperties/complexTypes.py +1 -1
- metadata/generated/schema/type/customProperties/enumConfig.py +1 -1
- metadata/generated/schema/type/customProperties/tableConfig.py +1 -1
- metadata/generated/schema/type/customProperty.py +1 -1
- metadata/generated/schema/type/customRecognizer.py +39 -0
- metadata/generated/schema/type/dailyCount.py +1 -1
- metadata/generated/schema/type/databaseConnectionConfig.py +1 -1
- metadata/generated/schema/type/denyListRecognizer.py +37 -0
- metadata/generated/schema/type/entityHierarchy.py +7 -6
- metadata/generated/schema/type/entityHistory.py +35 -1
- metadata/generated/schema/type/entityLineage.py +27 -1
- metadata/generated/schema/type/entityProfile.py +45 -0
- metadata/generated/schema/type/entityReference.py +1 -1
- metadata/generated/schema/type/entityReferenceList.py +1 -1
- metadata/generated/schema/type/{entityRelationship.py → entityRelationship/__init__.py} +2 -2
- metadata/generated/schema/type/entityRelationship/nodeInformation.py +25 -0
- metadata/generated/schema/type/entityUsage.py +1 -1
- metadata/generated/schema/type/filterPattern.py +3 -3
- metadata/generated/schema/type/function.py +1 -1
- metadata/generated/schema/type/include.py +1 -1
- metadata/generated/schema/type/jdbcConnection.py +1 -1
- metadata/generated/schema/type/layerPaging.py +24 -0
- metadata/generated/schema/type/lifeCycle.py +1 -1
- metadata/generated/schema/type/paging.py +1 -1
- metadata/generated/schema/type/patternRecognizer.py +39 -0
- metadata/generated/schema/type/personaPreferences.py +48 -0
- metadata/generated/schema/type/piiEntity.py +48 -0
- metadata/generated/schema/type/predefinedRecognizer.py +85 -0
- metadata/generated/schema/type/profile.py +1 -1
- metadata/generated/schema/type/queryParserData.py +4 -1
- metadata/generated/schema/type/reaction.py +1 -1
- metadata/generated/schema/type/recognizer.py +159 -0
- metadata/generated/schema/type/recognizerFeedback.py +120 -0
- metadata/generated/schema/type/recognizers/__init__.py +3 -0
- metadata/generated/schema/type/recognizers/patterns.py +29 -0
- metadata/generated/schema/type/recognizers/regexFlags.py +29 -0
- metadata/generated/schema/type/schedule.py +1 -1
- metadata/generated/schema/type/schema.py +1 -1
- metadata/generated/schema/type/status.py +16 -0
- metadata/generated/schema/type/tableQuery.py +4 -1
- metadata/generated/schema/type/tableUsageCount.py +18 -1
- metadata/generated/schema/type/tagLabel.py +9 -1
- metadata/generated/schema/type/usageDetails.py +1 -1
- metadata/generated/schema/type/usageRequest.py +1 -1
- metadata/generated/schema/type/votes.py +1 -1
- metadata/great_expectations/action.py +158 -21
- metadata/great_expectations/action1xx.py +471 -0
- metadata/great_expectations/utils/ometa_config_handler.py +2 -2
- metadata/ingestion/api/closeable.py +3 -3
- metadata/ingestion/api/common.py +3 -3
- metadata/ingestion/api/delete.py +3 -3
- metadata/ingestion/api/models.py +3 -3
- metadata/ingestion/api/parser.py +41 -12
- metadata/ingestion/api/status.py +9 -4
- metadata/ingestion/api/step.py +6 -4
- metadata/ingestion/api/steps.py +3 -3
- metadata/ingestion/api/topology_runner.py +54 -32
- metadata/ingestion/bulksink/metadata_usage.py +49 -11
- metadata/ingestion/connections/builders.py +22 -8
- metadata/ingestion/connections/connection.py +80 -0
- metadata/ingestion/connections/headers.py +3 -3
- metadata/ingestion/connections/query_logger.py +115 -0
- metadata/ingestion/connections/secrets.py +3 -3
- metadata/ingestion/connections/session.py +3 -3
- metadata/ingestion/connections/test_connections.py +4 -4
- metadata/ingestion/lineage/masker.py +45 -27
- metadata/ingestion/lineage/models.py +30 -3
- metadata/ingestion/lineage/parser.py +89 -36
- metadata/ingestion/lineage/sql_lineage.py +459 -112
- metadata/ingestion/models/custom_basemodel_validation.py +180 -49
- metadata/ingestion/models/custom_properties.py +6 -6
- metadata/ingestion/models/custom_pydantic.py +83 -27
- metadata/ingestion/models/custom_types.py +2 -2
- metadata/ingestion/models/data_insight.py +3 -3
- metadata/ingestion/models/delete_entity.py +3 -3
- metadata/ingestion/models/encoders.py +3 -3
- metadata/ingestion/models/entity_interface.py +3 -3
- metadata/ingestion/models/lf_tags_model.py +3 -3
- metadata/ingestion/models/life_cycle.py +3 -3
- metadata/ingestion/models/ometa_classification.py +3 -3
- metadata/ingestion/models/ometa_lineage.py +8 -4
- metadata/ingestion/models/ometa_topic_data.py +3 -3
- metadata/ingestion/models/patch_request.py +119 -11
- metadata/ingestion/models/pipeline_status.py +3 -3
- metadata/ingestion/models/profile_data.py +3 -3
- metadata/ingestion/models/search_index_data.py +3 -3
- metadata/ingestion/models/table_metadata.py +3 -3
- metadata/ingestion/models/tests_data.py +3 -3
- metadata/ingestion/models/topology.py +3 -3
- metadata/ingestion/models/user.py +3 -3
- metadata/ingestion/ometa/auth_provider.py +3 -3
- metadata/ingestion/ometa/client.py +25 -5
- metadata/ingestion/ometa/client_utils.py +3 -3
- metadata/ingestion/ometa/credentials.py +3 -3
- metadata/ingestion/ometa/mixins/csv_mixin.py +180 -0
- metadata/ingestion/ometa/mixins/custom_property_mixin.py +3 -3
- metadata/ingestion/ometa/mixins/dashboard_mixin.py +3 -3
- metadata/ingestion/ometa/mixins/data_contract_mixin.py +205 -0
- metadata/ingestion/ometa/mixins/data_insight_mixin.py +3 -3
- metadata/ingestion/ometa/mixins/domain_mixin.py +128 -0
- metadata/ingestion/ometa/mixins/es_mixin.py +134 -22
- metadata/ingestion/ometa/mixins/ingestion_pipeline_mixin.py +29 -3
- metadata/ingestion/ometa/mixins/lineage_mixin.py +39 -12
- metadata/ingestion/ometa/mixins/logs_mixin.py +316 -0
- metadata/ingestion/ometa/mixins/mlmodel_mixin.py +3 -3
- metadata/ingestion/ometa/mixins/patch_mixin.py +165 -65
- metadata/ingestion/ometa/mixins/patch_mixin_utils.py +2 -2
- metadata/ingestion/ometa/mixins/pipeline_mixin.py +21 -3
- metadata/ingestion/ometa/mixins/profile_mixin.py +77 -0
- metadata/ingestion/ometa/mixins/query_mixin.py +48 -3
- metadata/ingestion/ometa/mixins/role_policy_mixin.py +2 -2
- metadata/ingestion/ometa/mixins/search_index_mixin.py +3 -3
- metadata/ingestion/ometa/mixins/server_mixin.py +3 -3
- metadata/ingestion/ometa/mixins/service_mixin.py +3 -3
- metadata/ingestion/ometa/mixins/suggestions_mixin.py +3 -3
- metadata/ingestion/ometa/mixins/table_mixin.py +34 -4
- metadata/ingestion/ometa/mixins/tag_glossary_mixin.py +68 -0
- metadata/ingestion/ometa/mixins/tests_mixin.py +8 -8
- metadata/ingestion/ometa/mixins/topic_mixin.py +3 -3
- metadata/ingestion/ometa/mixins/user_mixin.py +60 -19
- metadata/ingestion/ometa/mixins/version_mixin.py +3 -3
- metadata/ingestion/ometa/models.py +3 -3
- metadata/ingestion/ometa/ometa_api.py +94 -10
- metadata/ingestion/ometa/routes.py +59 -3
- metadata/ingestion/ometa/ttl_cache.py +3 -3
- metadata/ingestion/ometa/utils.py +48 -4
- metadata/ingestion/processor/query_parser.py +4 -3
- metadata/ingestion/sink/file.py +3 -3
- metadata/ingestion/sink/metadata_rest.py +139 -16
- metadata/ingestion/source/api/api_service.py +4 -9
- metadata/ingestion/source/api/rest/connection.py +22 -12
- metadata/ingestion/source/api/rest/metadata.py +358 -67
- metadata/ingestion/source/api/rest/models.py +5 -4
- metadata/ingestion/source/api/rest/parser.py +103 -0
- metadata/ingestion/source/connections.py +83 -17
- metadata/ingestion/source/connections_utils.py +32 -0
- metadata/ingestion/source/dashboard/dashboard_service.py +77 -25
- metadata/ingestion/source/dashboard/domodashboard/connection.py +3 -3
- metadata/ingestion/source/dashboard/domodashboard/metadata.py +35 -19
- metadata/ingestion/source/dashboard/grafana/__init__.py +10 -0
- metadata/ingestion/source/dashboard/grafana/client.py +223 -0
- metadata/ingestion/source/dashboard/grafana/connection.py +66 -0
- metadata/ingestion/source/dashboard/grafana/metadata.py +476 -0
- metadata/ingestion/source/dashboard/grafana/models.py +159 -0
- metadata/ingestion/source/dashboard/grafana/service_spec.py +17 -0
- metadata/ingestion/source/dashboard/hex/client.py +104 -0
- metadata/ingestion/source/dashboard/hex/connection.py +60 -0
- metadata/ingestion/source/dashboard/hex/metadata.py +363 -0
- metadata/ingestion/source/dashboard/hex/models.py +143 -0
- metadata/ingestion/source/dashboard/hex/query_fetcher.py +503 -0
- metadata/ingestion/source/dashboard/hex/service_spec.py +18 -0
- metadata/ingestion/source/dashboard/hex/warehouse_queries.py +225 -0
- metadata/ingestion/source/dashboard/lightdash/client.py +86 -12
- metadata/ingestion/source/dashboard/lightdash/connection.py +3 -3
- metadata/ingestion/source/dashboard/lightdash/metadata.py +49 -28
- metadata/ingestion/source/dashboard/lightdash/models.py +11 -0
- metadata/ingestion/source/dashboard/looker/bulk_parser.py +34 -17
- metadata/ingestion/source/dashboard/looker/columns.py +3 -3
- metadata/ingestion/source/dashboard/looker/connection.py +3 -3
- metadata/ingestion/source/dashboard/looker/links.py +3 -3
- metadata/ingestion/source/dashboard/looker/metadata.py +602 -100
- metadata/ingestion/source/dashboard/looker/models.py +8 -3
- metadata/ingestion/source/dashboard/looker/parser.py +6 -3
- metadata/ingestion/source/dashboard/looker/utils.py +21 -6
- metadata/ingestion/source/dashboard/metabase/client.py +99 -18
- metadata/ingestion/source/dashboard/metabase/connection.py +3 -3
- metadata/ingestion/source/dashboard/metabase/metadata.py +181 -48
- metadata/ingestion/source/dashboard/metabase/models.py +54 -5
- metadata/ingestion/source/dashboard/microstrategy/client.py +23 -2
- metadata/ingestion/source/dashboard/microstrategy/connection.py +3 -3
- metadata/ingestion/source/dashboard/microstrategy/helpers.py +67 -0
- metadata/ingestion/source/dashboard/microstrategy/metadata.py +197 -6
- metadata/ingestion/source/dashboard/microstrategy/models.py +16 -4
- metadata/ingestion/source/dashboard/mode/client.py +5 -4
- metadata/ingestion/source/dashboard/mode/connection.py +3 -3
- metadata/ingestion/source/dashboard/mode/metadata.py +78 -25
- metadata/ingestion/source/dashboard/powerbi/client.py +322 -65
- metadata/ingestion/source/dashboard/powerbi/connection.py +3 -3
- metadata/ingestion/source/dashboard/powerbi/databricks_parser.py +108 -0
- metadata/ingestion/source/dashboard/powerbi/file_client.py +3 -3
- metadata/ingestion/source/dashboard/powerbi/metadata.py +1207 -286
- metadata/ingestion/source/dashboard/powerbi/models.py +102 -2
- metadata/ingestion/source/dashboard/qlikcloud/client.py +63 -8
- metadata/ingestion/source/dashboard/qlikcloud/connection.py +3 -3
- metadata/ingestion/source/dashboard/qlikcloud/constants.py +9 -3
- metadata/ingestion/source/dashboard/qlikcloud/metadata.py +96 -21
- metadata/ingestion/source/dashboard/qlikcloud/models.py +56 -4
- metadata/ingestion/source/dashboard/qliksense/client.py +3 -3
- metadata/ingestion/source/dashboard/qliksense/connection.py +3 -3
- metadata/ingestion/source/dashboard/qliksense/constants.py +3 -3
- metadata/ingestion/source/dashboard/qliksense/metadata.py +77 -28
- metadata/ingestion/source/dashboard/qliksense/models.py +3 -3
- metadata/ingestion/source/dashboard/quicksight/connection.py +3 -3
- metadata/ingestion/source/dashboard/quicksight/metadata.py +124 -42
- metadata/ingestion/source/dashboard/quicksight/models.py +3 -3
- metadata/ingestion/source/dashboard/redash/client.py +10 -14
- metadata/ingestion/source/dashboard/redash/connection.py +3 -3
- metadata/ingestion/source/dashboard/redash/metadata.py +80 -25
- metadata/ingestion/source/dashboard/sigma/client.py +72 -9
- metadata/ingestion/source/dashboard/sigma/connection.py +7 -4
- metadata/ingestion/source/dashboard/sigma/metadata.py +76 -26
- metadata/ingestion/source/dashboard/sigma/models.py +8 -2
- metadata/ingestion/source/dashboard/superset/api_source.py +74 -31
- metadata/ingestion/source/dashboard/superset/client.py +6 -5
- metadata/ingestion/source/dashboard/superset/connection.py +15 -17
- metadata/ingestion/source/dashboard/superset/db_source.py +71 -27
- metadata/ingestion/source/dashboard/superset/metadata.py +3 -3
- metadata/ingestion/source/dashboard/superset/mixin.py +224 -59
- metadata/ingestion/source/dashboard/superset/models.py +6 -3
- metadata/ingestion/source/dashboard/superset/queries.py +10 -7
- metadata/ingestion/source/dashboard/superset/utils.py +36 -0
- metadata/ingestion/source/dashboard/tableau/__init__.py +3 -3
- metadata/ingestion/source/dashboard/tableau/client.py +275 -109
- metadata/ingestion/source/dashboard/tableau/connection.py +72 -54
- metadata/ingestion/source/dashboard/tableau/metadata.py +472 -117
- metadata/ingestion/source/dashboard/tableau/models.py +45 -18
- metadata/ingestion/source/dashboard/tableau/queries.py +17 -3
- metadata/ingestion/source/database/athena/client.py +3 -3
- metadata/ingestion/source/database/athena/connection.py +3 -3
- metadata/ingestion/source/database/athena/lineage.py +3 -3
- metadata/ingestion/source/database/athena/metadata.py +52 -3
- metadata/ingestion/source/database/athena/models.py +3 -3
- metadata/ingestion/source/database/athena/query_parser.py +3 -3
- metadata/ingestion/source/database/athena/usage.py +3 -3
- metadata/ingestion/source/database/athena/utils.py +66 -9
- metadata/ingestion/source/database/azuresql/connection.py +3 -3
- metadata/ingestion/source/database/azuresql/lineage.py +3 -3
- metadata/ingestion/source/database/azuresql/metadata.py +3 -3
- metadata/ingestion/source/database/azuresql/queries.py +3 -3
- metadata/ingestion/source/database/azuresql/query_parser.py +3 -3
- metadata/ingestion/source/database/azuresql/usage.py +3 -3
- metadata/ingestion/source/database/bigquery/connection.py +36 -7
- metadata/ingestion/source/database/bigquery/helper.py +31 -19
- metadata/ingestion/source/database/bigquery/incremental_table_processor.py +3 -3
- metadata/ingestion/source/database/bigquery/lineage.py +8 -13
- metadata/ingestion/source/database/bigquery/metadata.py +331 -66
- metadata/ingestion/source/database/bigquery/models.py +3 -3
- metadata/ingestion/source/database/bigquery/queries.py +26 -8
- metadata/ingestion/source/database/bigquery/query_parser.py +4 -3
- metadata/ingestion/source/database/bigquery/service_spec.py +4 -4
- metadata/ingestion/source/database/bigquery/usage.py +3 -3
- metadata/ingestion/source/database/bigtable/client.py +2 -2
- metadata/ingestion/source/database/bigtable/connection.py +2 -2
- metadata/ingestion/source/database/bigtable/metadata.py +13 -5
- metadata/ingestion/source/database/bigtable/models.py +2 -2
- metadata/ingestion/source/database/cassandra/connection.py +138 -0
- metadata/ingestion/source/database/cassandra/helpers.py +100 -0
- metadata/ingestion/source/database/cassandra/metadata.py +138 -0
- metadata/ingestion/source/database/cassandra/queries.py +45 -0
- metadata/ingestion/source/database/cassandra/service_spec.py +10 -0
- metadata/ingestion/source/database/clickhouse/connection.py +3 -3
- metadata/ingestion/source/database/clickhouse/lineage.py +3 -3
- metadata/ingestion/source/database/clickhouse/metadata.py +3 -36
- metadata/ingestion/source/database/clickhouse/queries.py +3 -3
- metadata/ingestion/source/database/clickhouse/query_parser.py +3 -3
- metadata/ingestion/source/database/clickhouse/usage.py +3 -3
- metadata/ingestion/source/database/clickhouse/utils.py +3 -3
- metadata/ingestion/source/database/cockroach/connection.py +71 -0
- metadata/ingestion/source/database/cockroach/metadata.py +206 -0
- metadata/ingestion/source/database/cockroach/queries.py +90 -0
- metadata/ingestion/source/database/cockroach/service_spec.py +4 -0
- metadata/ingestion/source/database/column_helpers.py +3 -3
- metadata/ingestion/source/database/column_type_parser.py +11 -6
- metadata/ingestion/source/database/common/data_diff/databricks_base.py +42 -0
- metadata/ingestion/source/database/common_db_source.py +63 -59
- metadata/ingestion/source/database/common_nosql_source.py +105 -52
- metadata/ingestion/source/database/common_pg_mappings.py +56 -0
- metadata/ingestion/source/database/couchbase/connection.py +3 -3
- metadata/ingestion/source/database/couchbase/metadata.py +11 -5
- metadata/ingestion/source/database/couchbase/models.py +2 -2
- metadata/ingestion/source/database/couchbase/queries.py +3 -3
- metadata/ingestion/source/database/database_service.py +154 -11
- metadata/ingestion/source/database/databricks/auth.py +99 -0
- metadata/ingestion/source/database/databricks/client.py +304 -19
- metadata/ingestion/source/database/databricks/connection.py +154 -16
- metadata/ingestion/source/database/databricks/data_diff/__init__.py +1 -0
- metadata/ingestion/source/database/databricks/data_diff/data_diff.py +12 -0
- metadata/ingestion/source/database/databricks/lineage.py +15 -27
- metadata/ingestion/source/database/databricks/metadata.py +64 -17
- metadata/ingestion/source/database/databricks/queries.py +133 -9
- metadata/ingestion/source/database/databricks/query_parser.py +14 -18
- metadata/ingestion/source/database/databricks/service_spec.py +6 -0
- metadata/ingestion/source/database/databricks/usage.py +10 -40
- metadata/ingestion/source/database/datalake/clients/azure_blob.py +3 -3
- metadata/ingestion/source/database/datalake/clients/base.py +3 -3
- metadata/ingestion/source/database/datalake/clients/gcs.py +3 -3
- metadata/ingestion/source/database/datalake/clients/s3.py +3 -3
- metadata/ingestion/source/database/datalake/columns.py +3 -3
- metadata/ingestion/source/database/datalake/connection.py +54 -76
- metadata/ingestion/source/database/datalake/metadata.py +41 -34
- metadata/ingestion/source/database/datalake/service_spec.py +2 -0
- metadata/ingestion/source/database/db2/connection.py +19 -4
- metadata/ingestion/source/database/db2/lineage.py +3 -3
- metadata/ingestion/source/database/db2/metadata.py +3 -3
- metadata/ingestion/source/database/db2/service_spec.py +4 -1
- metadata/ingestion/source/database/db2/utils.py +133 -3
- metadata/ingestion/source/database/dbt/constants.py +20 -5
- metadata/ingestion/source/database/dbt/dbt_config.py +93 -31
- metadata/ingestion/source/database/dbt/dbt_service.py +34 -5
- metadata/ingestion/source/database/dbt/dbt_utils.py +4 -4
- metadata/ingestion/source/database/dbt/metadata.py +346 -116
- metadata/ingestion/source/database/dbt/models.py +4 -3
- metadata/ingestion/source/database/deltalake/clients/base.py +3 -3
- metadata/ingestion/source/database/deltalake/clients/pyspark.py +4 -4
- metadata/ingestion/source/database/deltalake/clients/s3.py +3 -3
- metadata/ingestion/source/database/deltalake/connection.py +3 -3
- metadata/ingestion/source/database/deltalake/metadata.py +21 -20
- metadata/ingestion/source/database/domodatabase/connection.py +3 -3
- metadata/ingestion/source/database/domodatabase/metadata.py +21 -20
- metadata/ingestion/source/database/domodatabase/models.py +3 -3
- metadata/ingestion/source/database/doris/connection.py +3 -3
- metadata/ingestion/source/database/doris/metadata.py +14 -6
- metadata/ingestion/source/database/doris/utils.py +3 -3
- metadata/ingestion/source/database/druid/connection.py +3 -3
- metadata/ingestion/source/database/druid/lineage.py +3 -3
- metadata/ingestion/source/database/druid/metadata.py +3 -3
- metadata/ingestion/source/database/druid/service_spec.py +5 -1
- metadata/ingestion/source/database/dynamodb/connection.py +3 -3
- metadata/ingestion/source/database/dynamodb/metadata.py +9 -6
- metadata/ingestion/source/database/dynamodb/models.py +2 -2
- metadata/ingestion/source/database/exasol/connection.py +20 -3
- metadata/ingestion/source/database/exasol/lineage.py +24 -0
- metadata/ingestion/source/database/exasol/metadata.py +6 -0
- metadata/ingestion/source/database/exasol/queries.py +35 -0
- metadata/ingestion/source/database/exasol/query_parser.py +33 -0
- metadata/ingestion/source/database/exasol/service_spec.py +5 -1
- metadata/ingestion/source/database/external_table_lineage_mixin.py +3 -3
- metadata/ingestion/source/database/glue/connection.py +3 -3
- metadata/ingestion/source/database/glue/metadata.py +100 -25
- metadata/ingestion/source/database/glue/models.py +3 -3
- metadata/ingestion/source/database/greenplum/connection.py +3 -3
- metadata/ingestion/source/database/greenplum/lineage.py +3 -3
- metadata/ingestion/source/database/greenplum/metadata.py +9 -40
- metadata/ingestion/source/database/greenplum/queries.py +3 -3
- metadata/ingestion/source/database/greenplum/service_spec.py +5 -1
- metadata/ingestion/source/database/greenplum/utils.py +3 -3
- metadata/ingestion/source/database/hive/connection.py +44 -5
- metadata/ingestion/source/database/hive/custom_hive_connection.py +195 -0
- metadata/ingestion/source/database/hive/lineage.py +3 -3
- metadata/ingestion/source/database/hive/metadata.py +11 -4
- metadata/ingestion/source/database/hive/metastore_dialects/mixin.py +3 -3
- metadata/ingestion/source/database/hive/metastore_dialects/mysql/__init__.py +3 -3
- metadata/ingestion/source/database/hive/metastore_dialects/mysql/dialect.py +38 -16
- metadata/ingestion/source/database/hive/metastore_dialects/postgres/__init__.py +3 -3
- metadata/ingestion/source/database/hive/metastore_dialects/postgres/dialect.py +41 -17
- metadata/ingestion/source/database/hive/queries.py +3 -3
- metadata/ingestion/source/database/hive/service_spec.py +5 -1
- metadata/ingestion/source/database/hive/utils.py +3 -3
- metadata/ingestion/source/database/iceberg/catalog/__init__.py +3 -3
- metadata/ingestion/source/database/iceberg/catalog/base.py +3 -3
- metadata/ingestion/source/database/iceberg/catalog/dynamodb.py +3 -3
- metadata/ingestion/source/database/iceberg/catalog/glue.py +3 -3
- metadata/ingestion/source/database/iceberg/catalog/hive.py +3 -3
- metadata/ingestion/source/database/iceberg/catalog/rest.py +3 -3
- metadata/ingestion/source/database/iceberg/connection.py +3 -3
- metadata/ingestion/source/database/iceberg/fs/__init__.py +3 -3
- metadata/ingestion/source/database/iceberg/fs/azure.py +3 -3
- metadata/ingestion/source/database/iceberg/fs/base.py +3 -3
- metadata/ingestion/source/database/iceberg/fs/s3.py +3 -3
- metadata/ingestion/source/database/iceberg/helper.py +3 -3
- metadata/ingestion/source/database/iceberg/metadata.py +64 -21
- metadata/ingestion/source/database/iceberg/models.py +25 -16
- metadata/ingestion/source/database/impala/connection.py +3 -3
- metadata/ingestion/source/database/impala/lineage.py +3 -3
- metadata/ingestion/source/database/impala/metadata.py +3 -3
- metadata/ingestion/source/database/impala/queries.py +3 -3
- metadata/ingestion/source/database/impala/service_spec.py +5 -1
- metadata/ingestion/source/database/incremental_metadata_extraction.py +3 -3
- metadata/ingestion/source/database/life_cycle_query_mixin.py +23 -10
- metadata/ingestion/source/database/lineage_processors.py +386 -0
- metadata/ingestion/source/database/lineage_source.py +417 -111
- metadata/ingestion/source/database/mariadb/connection.py +3 -3
- metadata/ingestion/source/database/mariadb/lineage.py +6 -6
- metadata/ingestion/source/database/mariadb/metadata.py +89 -4
- metadata/ingestion/source/database/mariadb/models.py +36 -0
- metadata/ingestion/source/database/mariadb/queries.py +43 -0
- metadata/ingestion/source/database/mariadb/service_spec.py +9 -1
- metadata/ingestion/source/database/mongodb/connection.py +3 -3
- metadata/ingestion/source/database/mongodb/metadata.py +11 -6
- metadata/ingestion/source/database/mssql/connection.py +3 -3
- metadata/ingestion/source/database/mssql/constants.py +3 -3
- metadata/ingestion/source/database/mssql/lineage.py +6 -30
- metadata/ingestion/source/database/mssql/metadata.py +71 -5
- metadata/ingestion/source/database/mssql/models.py +3 -3
- metadata/ingestion/source/database/mssql/queries.py +51 -8
- metadata/ingestion/source/database/mssql/query_parser.py +3 -3
- metadata/ingestion/source/database/mssql/usage.py +3 -3
- metadata/ingestion/source/database/mssql/utils.py +3 -3
- metadata/ingestion/source/database/multi_db_source.py +3 -3
- metadata/ingestion/source/database/mysql/connection.py +55 -46
- metadata/ingestion/source/database/mysql/lineage.py +7 -7
- metadata/ingestion/source/database/mysql/metadata.py +3 -3
- metadata/ingestion/source/database/mysql/queries.py +32 -3
- metadata/ingestion/source/database/mysql/query_parser.py +34 -3
- metadata/ingestion/source/database/mysql/service_spec.py +2 -0
- metadata/ingestion/source/database/mysql/usage.py +3 -3
- metadata/ingestion/source/database/mysql/utils.py +8 -6
- metadata/ingestion/source/database/oracle/connection.py +165 -99
- metadata/ingestion/source/database/oracle/lineage.py +6 -13
- metadata/ingestion/source/database/oracle/metadata.py +40 -62
- metadata/ingestion/source/database/oracle/models.py +5 -4
- metadata/ingestion/source/database/oracle/queries.py +64 -6
- metadata/ingestion/source/database/oracle/query_parser.py +3 -3
- metadata/ingestion/source/database/oracle/service_spec.py +2 -0
- metadata/ingestion/source/database/oracle/usage.py +3 -3
- metadata/ingestion/source/database/oracle/utils.py +22 -17
- metadata/ingestion/source/database/pinotdb/connection.py +3 -3
- metadata/ingestion/source/database/pinotdb/lineage.py +3 -3
- metadata/ingestion/source/database/pinotdb/metadata.py +3 -3
- metadata/ingestion/source/database/pinotdb/service_spec.py +5 -1
- metadata/ingestion/source/database/postgres/connection.py +60 -51
- metadata/ingestion/source/database/postgres/converter_orm.py +3 -3
- metadata/ingestion/source/database/postgres/lineage.py +5 -4
- metadata/ingestion/source/database/postgres/metadata.py +51 -63
- metadata/ingestion/source/database/postgres/models.py +4 -2
- metadata/ingestion/source/database/postgres/pgspider/lineage.py +2 -2
- metadata/ingestion/source/database/postgres/pgspider/queries.py +2 -2
- metadata/ingestion/source/database/postgres/queries.py +55 -91
- metadata/ingestion/source/database/postgres/query_parser.py +3 -3
- metadata/ingestion/source/database/postgres/service_spec.py +2 -0
- metadata/ingestion/source/database/postgres/types/money.py +3 -3
- metadata/ingestion/source/database/postgres/usage.py +18 -3
- metadata/ingestion/source/database/postgres/utils.py +58 -59
- metadata/ingestion/source/database/presto/connection.py +3 -3
- metadata/ingestion/source/database/presto/metadata.py +3 -3
- metadata/ingestion/source/database/presto/queries.py +3 -3
- metadata/ingestion/source/database/query/lineage.py +3 -3
- metadata/ingestion/source/database/query/usage.py +3 -3
- metadata/ingestion/source/database/query_parser_source.py +17 -15
- metadata/ingestion/source/database/redshift/connection.py +4 -4
- metadata/ingestion/source/database/redshift/incremental_table_processor.py +3 -3
- metadata/ingestion/source/database/redshift/lineage.py +7 -13
- metadata/ingestion/source/database/redshift/metadata.py +40 -22
- metadata/ingestion/source/database/redshift/models.py +3 -3
- metadata/ingestion/source/database/redshift/queries.py +8 -38
- metadata/ingestion/source/database/redshift/query_parser.py +3 -3
- metadata/ingestion/source/database/redshift/service_spec.py +4 -4
- metadata/ingestion/source/database/redshift/usage.py +3 -3
- metadata/ingestion/source/database/redshift/utils.py +31 -4
- metadata/ingestion/source/database/salesforce/connection.py +17 -9
- metadata/ingestion/source/database/salesforce/metadata.py +73 -34
- metadata/ingestion/source/database/sample_data.py +692 -6
- metadata/ingestion/source/database/sample_usage.py +5 -3
- metadata/ingestion/source/database/saperp/client.py +3 -3
- metadata/ingestion/source/database/saperp/connection.py +3 -3
- metadata/ingestion/source/database/saperp/constants.py +2 -2
- metadata/ingestion/source/database/saperp/metadata.py +3 -3
- metadata/ingestion/source/database/saperp/models.py +3 -3
- metadata/ingestion/source/database/saphana/cdata_parser.py +330 -120
- metadata/ingestion/source/database/saphana/connection.py +3 -3
- metadata/ingestion/source/database/saphana/lineage.py +20 -12
- metadata/ingestion/source/database/saphana/metadata.py +3 -3
- metadata/ingestion/source/database/saphana/models.py +3 -3
- metadata/ingestion/source/database/saphana/queries.py +10 -3
- metadata/ingestion/source/database/sas/client.py +5 -4
- metadata/ingestion/source/database/sas/connection.py +3 -3
- metadata/ingestion/source/database/sas/extension_attr.py +3 -3
- metadata/ingestion/source/database/sas/metadata.py +22 -25
- metadata/ingestion/source/database/singlestore/connection.py +3 -3
- metadata/ingestion/source/database/singlestore/lineage.py +3 -3
- metadata/ingestion/source/database/singlestore/metadata.py +3 -3
- metadata/ingestion/source/database/singlestore/service_spec.py +6 -1
- metadata/ingestion/source/database/snowflake/connection.py +207 -152
- metadata/ingestion/source/database/snowflake/constants.py +69 -0
- metadata/ingestion/source/database/snowflake/data_diff/data_diff.py +37 -0
- metadata/ingestion/source/database/snowflake/lineage.py +55 -32
- metadata/ingestion/source/database/snowflake/metadata.py +416 -63
- metadata/ingestion/source/database/snowflake/models.py +6 -6
- metadata/ingestion/source/database/snowflake/queries.py +76 -20
- metadata/ingestion/source/database/snowflake/query_parser.py +18 -5
- metadata/ingestion/source/database/snowflake/service_spec.py +10 -4
- metadata/ingestion/source/database/snowflake/usage.py +100 -3
- metadata/ingestion/source/database/snowflake/utils.py +143 -39
- metadata/ingestion/source/database/sql_column_handler.py +112 -90
- metadata/ingestion/source/database/sqlalchemy_source.py +3 -3
- metadata/ingestion/source/database/sqlite/connection.py +3 -3
- metadata/ingestion/source/database/sqlite/lineage.py +3 -3
- metadata/ingestion/source/database/sqlite/metadata.py +3 -3
- metadata/ingestion/source/database/sqlite/service_spec.py +5 -1
- metadata/ingestion/source/database/stored_procedures_mixin.py +113 -176
- metadata/ingestion/source/database/teradata/connection.py +3 -3
- metadata/ingestion/source/database/teradata/lineage.py +3 -3
- metadata/ingestion/source/database/teradata/metadata.py +3 -3
- metadata/ingestion/source/database/teradata/queries.py +3 -3
- metadata/ingestion/source/database/teradata/service_spec.py +5 -1
- metadata/ingestion/source/database/teradata/utils.py +3 -3
- metadata/ingestion/source/database/timescale/__init__.py +3 -0
- metadata/ingestion/source/database/timescale/connection.py +103 -0
- metadata/ingestion/source/database/timescale/lineage.py +124 -0
- metadata/ingestion/source/database/timescale/metadata.py +228 -0
- metadata/ingestion/source/database/timescale/models.py +60 -0
- metadata/ingestion/source/database/timescale/queries.py +96 -0
- metadata/ingestion/source/database/timescale/query_parser.py +106 -0
- metadata/ingestion/source/database/timescale/service_spec.py +12 -0
- metadata/ingestion/source/database/timescale/usage.py +43 -0
- metadata/ingestion/source/database/timescale/utils.py +545 -0
- metadata/ingestion/source/database/trino/connection.py +290 -123
- metadata/ingestion/source/database/trino/lineage.py +98 -3
- metadata/ingestion/source/database/trino/metadata.py +46 -7
- metadata/ingestion/source/database/trino/profiler/system_tables_profiler.py +29 -20
- metadata/ingestion/source/database/trino/queries.py +8 -4
- metadata/ingestion/source/database/trino/query_parser.py +18 -3
- metadata/ingestion/source/database/trino/service_spec.py +2 -0
- metadata/ingestion/source/database/trino/usage.py +3 -3
- metadata/ingestion/source/database/unitycatalog/client.py +38 -4
- metadata/ingestion/source/database/unitycatalog/connection.py +121 -17
- metadata/ingestion/source/database/unitycatalog/data_diff/__init__.py +1 -0
- metadata/ingestion/source/database/unitycatalog/data_diff/data_diff.py +12 -0
- metadata/ingestion/source/database/unitycatalog/lineage.py +306 -63
- metadata/ingestion/source/database/unitycatalog/metadata.py +160 -48
- metadata/ingestion/source/database/unitycatalog/models.py +22 -6
- metadata/ingestion/source/database/unitycatalog/queries.py +55 -0
- metadata/ingestion/source/database/unitycatalog/query_parser.py +14 -3
- metadata/ingestion/source/database/unitycatalog/service_spec.py +8 -0
- metadata/ingestion/source/database/unitycatalog/usage.py +30 -5
- metadata/ingestion/source/database/usage_source.py +11 -8
- metadata/ingestion/source/database/vertica/connection.py +3 -3
- metadata/ingestion/source/database/vertica/lineage.py +3 -3
- metadata/ingestion/source/database/vertica/metadata.py +3 -3
- metadata/ingestion/source/database/vertica/queries.py +8 -23
- metadata/ingestion/source/database/vertica/query_parser.py +3 -3
- metadata/ingestion/source/database/vertica/usage.py +3 -3
- metadata/ingestion/source/drive/drive_service.py +648 -0
- metadata/ingestion/source/drives/__init__.py +13 -0
- metadata/ingestion/source/messaging/common_broker_source.py +3 -3
- metadata/ingestion/source/messaging/kafka/connection.py +16 -7
- metadata/ingestion/source/messaging/kafka/metadata.py +11 -13
- metadata/ingestion/source/messaging/kinesis/connection.py +3 -3
- metadata/ingestion/source/messaging/kinesis/metadata.py +7 -5
- metadata/ingestion/source/messaging/kinesis/models.py +2 -2
- metadata/ingestion/source/messaging/messaging_service.py +7 -10
- metadata/ingestion/source/messaging/redpanda/connection.py +3 -3
- metadata/ingestion/source/messaging/redpanda/metadata.py +3 -3
- metadata/ingestion/source/metadata/alationsink/client.py +2 -2
- metadata/ingestion/source/metadata/alationsink/connection.py +2 -2
- metadata/ingestion/source/metadata/alationsink/constants.py +2 -2
- metadata/ingestion/source/metadata/alationsink/metadata.py +36 -27
- metadata/ingestion/source/metadata/alationsink/models.py +2 -2
- metadata/ingestion/source/metadata/amundsen/client.py +9 -9
- metadata/ingestion/source/metadata/amundsen/connection.py +3 -3
- metadata/ingestion/source/metadata/amundsen/metadata.py +18 -20
- metadata/ingestion/source/metadata/amundsen/queries.py +3 -3
- metadata/ingestion/source/metadata/atlas/client.py +5 -4
- metadata/ingestion/source/metadata/atlas/connection.py +3 -3
- metadata/ingestion/source/metadata/atlas/metadata.py +7 -11
- metadata/ingestion/source/mlmodel/mlflow/connection.py +3 -3
- metadata/ingestion/source/mlmodel/mlflow/metadata.py +3 -3
- metadata/ingestion/source/mlmodel/mlmodel_service.py +82 -11
- metadata/ingestion/source/mlmodel/sagemaker/connection.py +3 -3
- metadata/ingestion/source/mlmodel/sagemaker/metadata.py +3 -3
- metadata/ingestion/source/models.py +3 -3
- metadata/ingestion/source/pipeline/airbyte/client.py +145 -7
- metadata/ingestion/source/pipeline/airbyte/connection.py +21 -8
- metadata/ingestion/source/pipeline/airbyte/constants.py +29 -0
- metadata/ingestion/source/pipeline/airbyte/metadata.py +172 -31
- metadata/ingestion/source/pipeline/airbyte/utils.py +99 -0
- metadata/ingestion/source/pipeline/airflow/connection.py +14 -14
- metadata/ingestion/source/pipeline/airflow/lineage_parser.py +3 -3
- metadata/ingestion/source/pipeline/airflow/metadata.py +112 -41
- metadata/ingestion/source/pipeline/airflow/models.py +4 -3
- metadata/ingestion/source/pipeline/airflow/utils.py +49 -7
- metadata/ingestion/source/pipeline/dagster/client.py +3 -3
- metadata/ingestion/source/pipeline/dagster/connection.py +3 -3
- metadata/ingestion/source/pipeline/dagster/metadata.py +3 -3
- metadata/ingestion/source/pipeline/dagster/models.py +3 -3
- metadata/ingestion/source/pipeline/dagster/queries.py +3 -3
- metadata/ingestion/source/pipeline/databrickspipeline/connection.py +30 -5
- metadata/ingestion/source/pipeline/databrickspipeline/kafka_parser.py +603 -0
- metadata/ingestion/source/pipeline/databrickspipeline/metadata.py +1138 -47
- metadata/ingestion/source/pipeline/databrickspipeline/models.py +22 -6
- metadata/ingestion/source/pipeline/dbtcloud/client.py +126 -68
- metadata/ingestion/source/pipeline/dbtcloud/connection.py +3 -3
- metadata/ingestion/source/pipeline/dbtcloud/metadata.py +138 -87
- metadata/ingestion/source/pipeline/dbtcloud/models.py +20 -3
- metadata/ingestion/source/pipeline/dbtcloud/queries.py +10 -14
- metadata/ingestion/source/pipeline/domopipeline/connection.py +3 -3
- metadata/ingestion/source/pipeline/domopipeline/metadata.py +3 -3
- metadata/ingestion/source/pipeline/fivetran/client.py +10 -6
- metadata/ingestion/source/pipeline/fivetran/connection.py +3 -3
- metadata/ingestion/source/pipeline/fivetran/metadata.py +127 -95
- metadata/ingestion/source/pipeline/flink/client.py +3 -3
- metadata/ingestion/source/pipeline/flink/connection.py +3 -3
- metadata/ingestion/source/pipeline/flink/metadata.py +3 -3
- metadata/ingestion/source/pipeline/flink/models.py +3 -3
- metadata/ingestion/source/pipeline/gluepipeline/connection.py +3 -3
- metadata/ingestion/source/pipeline/gluepipeline/metadata.py +3 -3
- metadata/ingestion/source/pipeline/gluepipeline/models.py +3 -3
- metadata/ingestion/source/pipeline/kafkaconnect/client.py +391 -110
- metadata/ingestion/source/pipeline/kafkaconnect/connection.py +3 -3
- metadata/ingestion/source/pipeline/kafkaconnect/metadata.py +1683 -77
- metadata/ingestion/source/pipeline/kafkaconnect/models.py +58 -21
- metadata/ingestion/source/pipeline/nifi/client.py +71 -77
- metadata/ingestion/source/pipeline/nifi/connection.py +4 -19
- metadata/ingestion/source/pipeline/nifi/metadata.py +197 -10
- metadata/ingestion/source/pipeline/openlineage/connection.py +3 -3
- metadata/ingestion/source/pipeline/openlineage/metadata.py +10 -5
- metadata/ingestion/source/pipeline/openlineage/models.py +6 -5
- metadata/ingestion/source/pipeline/pipeline_service.py +146 -15
- metadata/ingestion/source/pipeline/spline/client.py +3 -3
- metadata/ingestion/source/pipeline/spline/connection.py +3 -3
- metadata/ingestion/source/pipeline/spline/metadata.py +3 -3
- metadata/ingestion/source/pipeline/spline/models.py +3 -3
- metadata/ingestion/source/pipeline/spline/utils.py +3 -3
- metadata/ingestion/source/search/elasticsearch/connection.py +4 -4
- metadata/ingestion/source/search/elasticsearch/metadata.py +3 -3
- metadata/ingestion/source/search/elasticsearch/parser.py +3 -3
- metadata/ingestion/source/search/opensearch/connection.py +211 -0
- metadata/ingestion/source/search/opensearch/metadata.py +270 -0
- metadata/ingestion/source/search/opensearch/parser.py +71 -0
- metadata/ingestion/source/search/opensearch/service_spec.py +4 -0
- metadata/ingestion/source/search/search_service.py +7 -10
- metadata/ingestion/source/security/security_service.py +128 -0
- metadata/ingestion/source/sqa_types.py +3 -3
- metadata/ingestion/source/storage/gcs/client.py +2 -2
- metadata/ingestion/source/storage/gcs/connection.py +17 -7
- metadata/ingestion/source/storage/gcs/metadata.py +287 -28
- metadata/ingestion/source/storage/gcs/models.py +14 -8
- metadata/ingestion/source/storage/s3/connection.py +3 -3
- metadata/ingestion/source/storage/s3/metadata.py +75 -31
- metadata/ingestion/source/storage/s3/models.py +3 -3
- metadata/ingestion/source/storage/storage_service.py +9 -10
- metadata/ingestion/stage/table_usage.py +56 -4
- metadata/mixins/pandas/pandas_mixin.py +3 -3
- metadata/mixins/sqalchemy/sqa_mixin.py +22 -11
- metadata/parsers/avro_parser.py +3 -3
- metadata/parsers/json_schema_parser.py +44 -4
- metadata/parsers/protobuf_parser.py +3 -3
- metadata/parsers/schema_parsers.py +3 -3
- metadata/pii/algorithms/classifiers.py +242 -0
- metadata/pii/algorithms/column_patterns.py +61 -0
- metadata/pii/algorithms/feature_extraction.py +165 -0
- metadata/pii/algorithms/patterns.py +171 -0
- metadata/pii/algorithms/preprocessing.py +68 -0
- metadata/pii/algorithms/presidio_patches.py +90 -0
- metadata/pii/algorithms/presidio_recognizer_factory.py +302 -0
- metadata/pii/algorithms/presidio_utils.py +292 -0
- metadata/pii/algorithms/tags.py +111 -0
- metadata/pii/algorithms/utils.py +42 -0
- metadata/pii/base_processor.py +126 -0
- metadata/pii/constants.py +11 -3
- metadata/pii/models.py +3 -3
- metadata/pii/ner.py +3 -3
- metadata/pii/processor.py +52 -139
- metadata/pii/processor_factory.py +28 -0
- metadata/pii/scanners/base.py +3 -3
- metadata/pii/scanners/column_name_scanner.py +5 -7
- metadata/pii/scanners/custom_ner_scanner.py +290 -0
- metadata/pii/scanners/ner_scanner.py +5 -12
- metadata/pii/tag_analyzer.py +124 -0
- metadata/pii/tag_processor.py +100 -0
- metadata/profiler/adaptors/adaptor_factory.py +2 -2
- metadata/profiler/adaptors/dynamodb.py +2 -2
- metadata/profiler/adaptors/factory.py +2 -2
- metadata/profiler/adaptors/mongodb.py +2 -2
- metadata/profiler/adaptors/nosql_adaptor.py +2 -2
- metadata/profiler/api/models.py +3 -3
- metadata/profiler/config.py +3 -3
- metadata/profiler/factory.py +3 -3
- metadata/profiler/interface/nosql/profiler_interface.py +3 -3
- metadata/profiler/interface/pandas/profiler_interface.py +3 -3
- metadata/profiler/interface/profiler_interface.py +3 -3
- metadata/profiler/interface/sqlalchemy/bigquery/profiler_interface.py +52 -6
- metadata/profiler/interface/sqlalchemy/databricks/profiler_interface.py +59 -5
- metadata/profiler/interface/sqlalchemy/db2/profiler_interface.py +3 -3
- metadata/profiler/interface/sqlalchemy/mariadb/profiler_interface.py +3 -3
- metadata/profiler/interface/sqlalchemy/profiler_interface.py +86 -52
- metadata/profiler/interface/sqlalchemy/redshift/profiler_interface.py +50 -0
- metadata/profiler/interface/sqlalchemy/single_store/profiler_interface.py +3 -3
- metadata/profiler/interface/sqlalchemy/snowflake/profiler_interface.py +23 -3
- metadata/profiler/interface/sqlalchemy/stored_statistics_profiler.py +3 -3
- metadata/profiler/interface/sqlalchemy/trino/profiler_interface.py +3 -3
- metadata/profiler/interface/sqlalchemy/unity_catalog/profiler_interface.py +19 -5
- metadata/profiler/metrics/composed/distinct_ratio.py +3 -3
- metadata/profiler/metrics/composed/duplicate_count.py +3 -3
- metadata/profiler/metrics/composed/ilike_ratio.py +3 -3
- metadata/profiler/metrics/composed/iqr.py +3 -3
- metadata/profiler/metrics/composed/like_ratio.py +3 -3
- metadata/profiler/metrics/composed/non_parametric_skew.py +3 -3
- metadata/profiler/metrics/composed/null_ratio.py +3 -3
- metadata/profiler/metrics/composed/unique_ratio.py +3 -3
- metadata/profiler/metrics/core.py +3 -3
- metadata/profiler/metrics/hybrid/cardinality_distribution.py +232 -0
- metadata/profiler/metrics/hybrid/histogram.py +4 -4
- metadata/profiler/metrics/registry.py +7 -3
- metadata/profiler/metrics/static/column_count.py +3 -3
- metadata/profiler/metrics/static/column_names.py +3 -3
- metadata/profiler/metrics/static/count.py +3 -3
- metadata/profiler/metrics/static/count_in_set.py +3 -3
- metadata/profiler/metrics/static/distinct_count.py +3 -3
- metadata/profiler/metrics/static/ilike_count.py +3 -3
- metadata/profiler/metrics/static/like_count.py +3 -3
- metadata/profiler/metrics/static/max.py +3 -3
- metadata/profiler/metrics/static/max_length.py +3 -3
- metadata/profiler/metrics/static/mean.py +3 -3
- metadata/profiler/metrics/static/min.py +3 -3
- metadata/profiler/metrics/static/min_length.py +3 -3
- metadata/profiler/metrics/static/not_like_count.py +3 -3
- metadata/profiler/metrics/static/not_regexp_match_count.py +7 -6
- metadata/profiler/metrics/static/null_count.py +3 -3
- metadata/profiler/metrics/static/null_missing_count.py +3 -3
- metadata/profiler/metrics/static/regexp_match_count.py +6 -5
- metadata/profiler/metrics/static/row_count.py +3 -3
- metadata/profiler/metrics/static/stddev.py +3 -3
- metadata/profiler/metrics/static/sum.py +3 -3
- metadata/profiler/metrics/static/unique_count.py +3 -3
- metadata/{ingestion/source/database/bigquery/profiler → profiler/metrics/system/bigquery}/system.py +44 -59
- metadata/profiler/metrics/system/databricks/system.py +132 -0
- metadata/profiler/metrics/system/dml_operation.py +5 -3
- metadata/{ingestion/source/database/redshift/profiler → profiler/metrics/system/redshift}/system.py +39 -57
- metadata/{ingestion/source/database/snowflake/profiler → profiler/metrics/system/snowflake}/system.py +29 -52
- metadata/profiler/metrics/system/system.py +110 -41
- metadata/profiler/metrics/window/first_quartile.py +6 -6
- metadata/profiler/metrics/window/median.py +6 -6
- metadata/profiler/metrics/window/third_quartile.py +6 -6
- metadata/profiler/orm/converter/azuresql/converter.py +39 -0
- metadata/profiler/orm/converter/base.py +3 -3
- metadata/profiler/orm/converter/bigquery/converter.py +3 -3
- metadata/profiler/orm/converter/common.py +3 -3
- metadata/profiler/orm/converter/converter_registry.py +9 -3
- metadata/profiler/orm/converter/mariadb/converter.py +28 -0
- metadata/profiler/orm/converter/mssql/converter.py +3 -3
- metadata/profiler/orm/converter/redshift/converter.py +3 -3
- metadata/profiler/orm/converter/snowflake/converter.py +3 -3
- metadata/profiler/orm/converter/trino/__init__.py +14 -0
- metadata/profiler/orm/converter/trino/converter.py +39 -0
- metadata/profiler/orm/functions/concat.py +3 -3
- metadata/profiler/orm/functions/conn_test.py +8 -3
- metadata/profiler/orm/functions/count.py +3 -3
- metadata/profiler/orm/functions/datetime.py +3 -3
- metadata/profiler/orm/functions/length.py +6 -3
- metadata/profiler/orm/functions/md5.py +12 -3
- metadata/profiler/orm/functions/median.py +22 -3
- metadata/profiler/orm/functions/modulo.py +5 -3
- metadata/profiler/orm/functions/random_num.py +8 -3
- metadata/profiler/orm/functions/regexp.py +40 -0
- metadata/profiler/orm/functions/substr.py +3 -3
- metadata/profiler/orm/functions/sum.py +4 -3
- metadata/profiler/orm/functions/table_metric_computer.py +28 -15
- metadata/profiler/orm/functions/unique_count.py +3 -3
- metadata/profiler/orm/registry.py +15 -3
- metadata/profiler/orm/types/__init__.py +10 -0
- metadata/profiler/orm/types/bytea_to_string.py +3 -3
- metadata/profiler/orm/types/custom_array.py +3 -3
- metadata/profiler/orm/types/custom_datetimerange.py +3 -3
- metadata/profiler/orm/types/custom_hex_byte_string.py +3 -3
- metadata/profiler/orm/types/custom_image.py +3 -3
- metadata/profiler/orm/types/custom_ip.py +3 -3
- metadata/profiler/orm/types/custom_time.py +54 -0
- metadata/profiler/orm/types/custom_timestamp.py +3 -3
- metadata/profiler/orm/types/trino.py +70 -0
- metadata/profiler/orm/types/undetermined_type.py +3 -3
- metadata/profiler/orm/types/uuid.py +3 -3
- metadata/profiler/processor/core.py +9 -8
- metadata/profiler/processor/default.py +33 -31
- metadata/profiler/processor/handle_partition.py +3 -3
- metadata/profiler/processor/metric_filter.py +20 -7
- metadata/profiler/processor/models.py +17 -7
- metadata/profiler/processor/processor.py +21 -6
- metadata/profiler/processor/runner.py +32 -9
- metadata/profiler/processor/sample_data_handler.py +3 -3
- metadata/profiler/registry.py +3 -3
- metadata/profiler/source/database/base/profiler_resolver.py +38 -0
- metadata/profiler/source/database/base/profiler_source.py +60 -37
- metadata/profiler/source/database/bigquery/profiler_source.py +5 -23
- metadata/profiler/source/database/bigquery/type_mapper.py +3 -3
- metadata/profiler/source/database/mssql/profiler_source.py +86 -0
- metadata/profiler/source/fetcher/config.py +7 -3
- metadata/profiler/source/fetcher/entity_fetcher.py +3 -3
- metadata/profiler/source/fetcher/fetcher_strategy.py +26 -5
- metadata/profiler/source/fetcher/profiler_source_factory.py +16 -3
- metadata/profiler/source/metadata.py +3 -3
- metadata/profiler/source/metadata_ext.py +3 -3
- metadata/profiler/source/model.py +3 -3
- metadata/profiler/source/profiler_source_interface.py +20 -16
- metadata/readers/dataframe/avro.py +3 -3
- metadata/readers/dataframe/base.py +5 -3
- metadata/readers/dataframe/common.py +3 -3
- metadata/readers/dataframe/dsv.py +53 -8
- metadata/readers/dataframe/json.py +8 -4
- metadata/readers/dataframe/mf4.py +75 -0
- metadata/readers/dataframe/models.py +3 -3
- metadata/readers/dataframe/parquet.py +226 -39
- metadata/readers/dataframe/reader_factory.py +20 -4
- metadata/readers/file/adls.py +3 -3
- metadata/readers/file/api_reader.py +3 -3
- metadata/readers/file/base.py +3 -3
- metadata/readers/file/bitbucket.py +3 -3
- metadata/readers/file/config_source_factory.py +3 -3
- metadata/readers/file/credentials.py +3 -3
- metadata/readers/file/gcs.py +3 -3
- metadata/readers/file/github.py +3 -3
- metadata/readers/file/gitlab.py +3 -3
- metadata/readers/file/local.py +3 -3
- metadata/readers/file/s3.py +3 -3
- metadata/readers/models.py +3 -3
- metadata/sampler/config.py +7 -6
- metadata/sampler/models.py +9 -6
- metadata/sampler/nosql/sampler.py +11 -7
- metadata/sampler/pandas/sampler.py +12 -11
- metadata/sampler/partition.py +14 -6
- metadata/sampler/processor.py +30 -7
- metadata/sampler/sampler_interface.py +28 -17
- metadata/sampler/sqlalchemy/azuresql/sampler.py +32 -6
- metadata/sampler/sqlalchemy/bigquery/sampler.py +30 -9
- metadata/sampler/sqlalchemy/databricks/sampler.py +69 -0
- metadata/sampler/sqlalchemy/mssql/sampler.py +16 -14
- metadata/sampler/sqlalchemy/postgres/sampler.py +8 -8
- metadata/sampler/sqlalchemy/sampler.py +155 -61
- metadata/sampler/sqlalchemy/snowflake/sampler.py +12 -11
- metadata/sampler/sqlalchemy/trino/sampler.py +12 -11
- metadata/sampler/sqlalchemy/unitycatalog/sampler.py +27 -0
- metadata/sdk/__init__.py +188 -0
- metadata/sdk/api/__init__.py +7 -0
- metadata/sdk/api/lineage.py +421 -0
- metadata/sdk/api/search.py +382 -0
- metadata/sdk/client.py +91 -0
- metadata/sdk/config.py +121 -0
- metadata/sdk/entities/__init__.py +64 -0
- metadata/sdk/entities/apicollections.py +19 -0
- metadata/sdk/entities/apiendpoints.py +19 -0
- metadata/sdk/entities/base.py +487 -0
- metadata/sdk/entities/charts.py +17 -0
- metadata/sdk/entities/classifications.py +21 -0
- metadata/sdk/entities/containers.py +17 -0
- metadata/sdk/entities/custom_properties.py +144 -0
- metadata/sdk/entities/dashboard_services.py +18 -0
- metadata/sdk/entities/dashboarddatamodels.py +21 -0
- metadata/sdk/entities/dashboards.py +17 -0
- metadata/sdk/entities/database_services.py +18 -0
- metadata/sdk/entities/databases.py +17 -0
- metadata/sdk/entities/databaseschemas.py +19 -0
- metadata/sdk/entities/datacontracts.py +19 -0
- metadata/sdk/entities/dataproducts.py +19 -0
- metadata/sdk/entities/domains.py +17 -0
- metadata/sdk/entities/glossaries.py +17 -0
- metadata/sdk/entities/glossary_terms.py +18 -0
- metadata/sdk/entities/glossaryterms.py +19 -0
- metadata/sdk/entities/metrics.py +49 -0
- metadata/sdk/entities/mlmodels.py +17 -0
- metadata/sdk/entities/pipelines.py +17 -0
- metadata/sdk/entities/queries.py +17 -0
- metadata/sdk/entities/searchindexes.py +19 -0
- metadata/sdk/entities/storedprocedures.py +19 -0
- metadata/sdk/entities/tables.py +68 -0
- metadata/sdk/entities/tags.py +17 -0
- metadata/sdk/entities/teams.py +17 -0
- metadata/sdk/entities/testcases.py +17 -0
- metadata/sdk/entities/testdefinitions.py +19 -0
- metadata/sdk/entities/testsuites.py +17 -0
- metadata/sdk/entities/users.py +17 -0
- metadata/sdk/examples/builder_end_to_end.py +387 -0
- metadata/sdk/types.py +15 -0
- metadata/timer/repeated_timer.py +3 -3
- metadata/utils/bigquery_utils.py +45 -7
- metadata/utils/class_helper.py +4 -3
- metadata/utils/client_version.py +3 -3
- metadata/utils/constants.py +6 -3
- metadata/utils/constraints.py +2 -2
- metadata/utils/credentials.py +63 -7
- metadata/utils/custom_thread_pool.py +3 -3
- metadata/utils/datalake/datalake_utils.py +134 -6
- metadata/utils/db_utils.py +42 -10
- metadata/utils/dependency_injector/dependency_injector.py +403 -0
- metadata/utils/deprecation.py +12 -9
- metadata/utils/dispatch.py +9 -6
- metadata/utils/elasticsearch.py +10 -3
- metadata/utils/entity_link.py +3 -3
- metadata/utils/entity_utils.py +9 -3
- metadata/utils/execution_time_tracker.py +3 -3
- metadata/utils/filters.py +106 -3
- metadata/utils/fqn.py +190 -14
- metadata/utils/helpers.py +121 -4
- metadata/utils/importer.py +6 -5
- metadata/utils/life_cycle_utils.py +3 -3
- metadata/utils/logger.py +34 -11
- metadata/utils/lru_cache.py +3 -3
- metadata/utils/messaging_utils.py +2 -2
- metadata/utils/metadata_service_helper.py +1 -1
- metadata/utils/profiler_utils.py +3 -3
- metadata/utils/s3_utils.py +3 -3
- metadata/utils/secrets/aws_based_secrets_manager.py +2 -2
- metadata/utils/secrets/aws_secrets_manager.py +2 -2
- metadata/utils/secrets/aws_ssm_secrets_manager.py +2 -2
- metadata/utils/secrets/azure_kv_secrets_manager.py +2 -2
- metadata/utils/secrets/db_secrets_manager.py +2 -2
- metadata/utils/secrets/external_secrets_manager.py +2 -2
- metadata/utils/secrets/kubernetes_secrets_manager.py +176 -0
- metadata/utils/secrets/secrets_manager.py +2 -2
- metadata/utils/secrets/secrets_manager_factory.py +5 -2
- metadata/utils/service_spec/default.py +4 -0
- metadata/utils/service_spec/service_spec.py +67 -10
- metadata/utils/singleton.py +3 -3
- metadata/utils/source_hash.py +3 -3
- metadata/utils/sqa_like_column.py +3 -3
- metadata/utils/sqa_utils.py +21 -3
- metadata/utils/sqlalchemy_utils.py +29 -5
- metadata/utils/ssl_manager.py +186 -12
- metadata/utils/ssl_registry.py +3 -3
- metadata/utils/storage_metadata_config.py +3 -3
- metadata/utils/stored_procedures.py +3 -3
- metadata/utils/streamable_logger.py +569 -0
- metadata/utils/tag_utils.py +75 -30
- metadata/utils/test_utils.py +2 -2
- metadata/utils/time_utils.py +3 -3
- metadata/utils/timeout.py +3 -3
- metadata/utils/uuid_encoder.py +3 -3
- metadata/workflow/application.py +3 -3
- metadata/workflow/application_output_handler.py +3 -3
- metadata/workflow/base.py +60 -6
- metadata/workflow/classification.py +8 -5
- metadata/workflow/context/base.py +24 -0
- metadata/workflow/context/context_manager.py +124 -0
- metadata/workflow/context/workflow_context.py +29 -0
- metadata/workflow/data_quality.py +3 -3
- metadata/workflow/ingestion.py +18 -5
- metadata/workflow/metadata.py +3 -3
- metadata/workflow/output_handler.py +3 -3
- metadata/workflow/profiler.py +24 -21
- metadata/workflow/usage.py +3 -3
- metadata/workflow/workflow_init_error_handler.py +3 -3
- metadata/workflow/workflow_output_handler.py +3 -3
- metadata/workflow/workflow_resource_metrics.py +111 -0
- metadata/workflow/workflow_status_mixin.py +40 -19
- {openmetadata_ingestion-1.6.2.0.dist-info → openmetadata_ingestion-1.10.14.4.dist-info}/METADATA +607 -376
- openmetadata_ingestion-1.10.14.4.dist-info/RECORD +2162 -0
- metadata/ingestion/source/database/bigquery/profiler/profiler.py +0 -30
- metadata/ingestion/source/database/extended_sample_data.py +0 -534
- metadata/ingestion/source/database/redshift/profiler/profiler.py +0 -14
- metadata/ingestion/source/database/snowflake/profiler/profiler.py +0 -26
- openmetadata_ingestion-1.6.2.0.dist-info/RECORD +0 -1814
- /metadata/ingestion/source/database/{bigquery/profiler → cassandra}/__init__.py +0 -0
- /metadata/ingestion/source/database/{redshift/profiler → cockroach}/__init__.py +0 -0
- /metadata/ingestion/source/database/snowflake/{profiler → data_diff}/__init__.py +0 -0
- {openmetadata_ingestion-1.6.2.0.dist-info → openmetadata_ingestion-1.10.14.4.dist-info}/LICENSE +0 -0
- {openmetadata_ingestion-1.6.2.0.dist-info → openmetadata_ingestion-1.10.14.4.dist-info}/WHEEL +0 -0
- {openmetadata_ingestion-1.6.2.0.dist-info → openmetadata_ingestion-1.10.14.4.dist-info}/entry_points.txt +0 -0
- {openmetadata_ingestion-1.6.2.0.dist-info → openmetadata_ingestion-1.10.14.4.dist-info}/top_level.txt +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# pylint: disable=too-many-lines
|
|
2
|
-
# Copyright
|
|
3
|
-
# Licensed under the
|
|
2
|
+
# Copyright 2025 Collate
|
|
3
|
+
# Licensed under the Collate Community License, Version 1.0 (the "License");
|
|
4
4
|
# you may not use this file except in compliance with the License.
|
|
5
5
|
# You may obtain a copy of the License at
|
|
6
|
-
#
|
|
6
|
+
# https://github.com/open-metadata/OpenMetadata/blob/main/ingestion/LICENSE
|
|
7
7
|
# Unless required by applicable law or agreed to in writing, software
|
|
8
8
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
9
9
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
@@ -63,16 +63,19 @@ from metadata.ingestion.lineage.sql_lineage import get_lineage_by_query
|
|
|
63
63
|
from metadata.ingestion.models.ometa_classification import OMetaTagAndClassification
|
|
64
64
|
from metadata.ingestion.models.patch_request import PatchedEntity, PatchRequest
|
|
65
65
|
from metadata.ingestion.models.table_metadata import ColumnDescription
|
|
66
|
+
from metadata.ingestion.ometa.client import APIError
|
|
66
67
|
from metadata.ingestion.ometa.ometa_api import OpenMetadata
|
|
67
68
|
from metadata.ingestion.source.database.column_type_parser import ColumnTypeParser
|
|
68
69
|
from metadata.ingestion.source.database.database_service import DataModelLink
|
|
69
70
|
from metadata.ingestion.source.database.dbt.constants import (
|
|
70
71
|
DBT_RUN_RESULT_DATE_FORMAT,
|
|
71
72
|
REQUIRED_CATALOG_KEYS,
|
|
73
|
+
REQUIRED_EXPOSURE_KEYS,
|
|
72
74
|
REQUIRED_MANIFEST_KEYS,
|
|
73
75
|
DbtCommonEnum,
|
|
74
76
|
DbtTestFailureEnum,
|
|
75
77
|
DbtTestSuccessEnum,
|
|
78
|
+
ExposureTypeMap,
|
|
76
79
|
SkipResourceTypeEnum,
|
|
77
80
|
)
|
|
78
81
|
from metadata.ingestion.source.database.dbt.dbt_service import (
|
|
@@ -82,7 +85,6 @@ from metadata.ingestion.source.database.dbt.dbt_service import (
|
|
|
82
85
|
)
|
|
83
86
|
from metadata.ingestion.source.database.dbt.dbt_utils import (
|
|
84
87
|
check_ephemeral_node,
|
|
85
|
-
check_or_create_test_suite,
|
|
86
88
|
create_test_case_parameter_definitions,
|
|
87
89
|
create_test_case_parameter_values,
|
|
88
90
|
generate_entity_link,
|
|
@@ -96,9 +98,10 @@ from metadata.ingestion.source.database.dbt.models import DbtMeta
|
|
|
96
98
|
from metadata.utils import fqn
|
|
97
99
|
from metadata.utils.elasticsearch import get_entity_from_es_result
|
|
98
100
|
from metadata.utils.entity_link import get_table_fqn
|
|
101
|
+
from metadata.utils.filters import filter_by_tag
|
|
99
102
|
from metadata.utils.logger import ingestion_logger
|
|
100
103
|
from metadata.utils.tag_utils import get_ometa_tag_and_classification, get_tag_labels
|
|
101
|
-
from metadata.utils.time_utils import
|
|
104
|
+
from metadata.utils.time_utils import datetime_to_timestamp
|
|
102
105
|
|
|
103
106
|
logger = ingestion_logger()
|
|
104
107
|
|
|
@@ -146,32 +149,66 @@ class DbtSource(DbtServiceSource):
|
|
|
146
149
|
self, manifest_node: Any, catalog_node: Optional[Any]
|
|
147
150
|
) -> Optional[EntityReferenceList]:
|
|
148
151
|
"""
|
|
149
|
-
Returns dbt owner
|
|
152
|
+
Returns dbt owner with priority:
|
|
153
|
+
1. manifest_node.meta.openmetadata.owner (OpenMetadata docs format - HIGHEST PRIORITY)
|
|
154
|
+
2. manifest_node.meta.owner (old format)
|
|
155
|
+
3. catalog_node.metadata.owner (standard DBT location - LOWEST PRIORITY)
|
|
150
156
|
"""
|
|
151
157
|
try:
|
|
152
|
-
owner = None
|
|
153
158
|
dbt_owner = None
|
|
154
|
-
if catalog_node:
|
|
155
|
-
dbt_owner = catalog_node.metadata.owner
|
|
156
|
-
if manifest_node:
|
|
157
|
-
dbt_owner = manifest_node.meta.get(DbtCommonEnum.OWNER.value)
|
|
158
|
-
if dbt_owner:
|
|
159
|
-
owner = self.metadata.get_reference_by_name(
|
|
160
|
-
name=dbt_owner, is_owner=True
|
|
161
|
-
)
|
|
162
159
|
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
160
|
+
# PRIORITY 1: Check manifest node meta.openmetadata.owner
|
|
161
|
+
if manifest_node and manifest_node.meta:
|
|
162
|
+
openmetadata = manifest_node.meta.get("openmetadata", {})
|
|
163
|
+
if openmetadata:
|
|
164
|
+
openmetadata_owner = openmetadata.get("owner")
|
|
165
|
+
if openmetadata_owner:
|
|
166
|
+
dbt_owner = openmetadata_owner
|
|
167
|
+
|
|
168
|
+
# PRIORITY 2: Check old format meta.owner
|
|
169
|
+
if not dbt_owner:
|
|
170
|
+
if manifest_node and manifest_node.meta:
|
|
171
|
+
old_owner = manifest_node.meta.get(DbtCommonEnum.OWNER.value)
|
|
172
|
+
if old_owner:
|
|
173
|
+
dbt_owner = old_owner
|
|
174
|
+
|
|
175
|
+
# PRIORITY 3: Check catalog node
|
|
176
|
+
if not dbt_owner:
|
|
177
|
+
if catalog_node:
|
|
178
|
+
try:
|
|
179
|
+
catalog_owner = catalog_node.metadata.owner
|
|
180
|
+
if catalog_owner:
|
|
181
|
+
dbt_owner = catalog_owner
|
|
182
|
+
except Exception as catalog_exc:
|
|
183
|
+
logger.debug(
|
|
184
|
+
f"Error accessing catalog_node.metadata.owner: {catalog_exc}"
|
|
185
|
+
)
|
|
168
186
|
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
187
|
+
if dbt_owner and isinstance(dbt_owner, str):
|
|
188
|
+
owner_ref = self.metadata.get_reference_by_name(
|
|
189
|
+
name=dbt_owner, is_owner=True
|
|
190
|
+
) or self.metadata.get_reference_by_email(email=dbt_owner)
|
|
191
|
+
if owner_ref:
|
|
192
|
+
return owner_ref
|
|
193
|
+
logger.warning(
|
|
194
|
+
"Unable to ingest owner from DBT since no user or"
|
|
195
|
+
f" team was found with name {dbt_owner}"
|
|
196
|
+
)
|
|
197
|
+
elif dbt_owner and isinstance(dbt_owner, list):
|
|
198
|
+
owner_list = EntityReferenceList(root=[])
|
|
199
|
+
for owner_name in dbt_owner:
|
|
200
|
+
owner_ref = self.metadata.get_reference_by_name(
|
|
201
|
+
name=owner_name, is_owner=True
|
|
202
|
+
) or self.metadata.get_reference_by_email(email=owner_name)
|
|
203
|
+
if owner_ref:
|
|
204
|
+
owner_list.root.extend(owner_ref.root)
|
|
205
|
+
else:
|
|
206
|
+
logger.warning(
|
|
207
|
+
"Unable to ingest owner from DBT since no user or"
|
|
208
|
+
f" team was found with name {owner_name}"
|
|
209
|
+
)
|
|
210
|
+
if owner_list.root:
|
|
211
|
+
return owner_list
|
|
175
212
|
except Exception as exc:
|
|
176
213
|
logger.debug(traceback.format_exc())
|
|
177
214
|
logger.warning(f"Unable to ingest owner from DBT due to: {exc}")
|
|
@@ -201,6 +238,7 @@ class DbtSource(DbtServiceSource):
|
|
|
201
238
|
manifest_entities = {
|
|
202
239
|
**dbt_files.dbt_manifest[DbtCommonEnum.NODES.value],
|
|
203
240
|
**dbt_files.dbt_manifest[DbtCommonEnum.SOURCES.value],
|
|
241
|
+
**dbt_files.dbt_manifest.get(DbtCommonEnum.EXPOSURES.value, {}),
|
|
204
242
|
}
|
|
205
243
|
catalog_entities = None
|
|
206
244
|
if dbt_files.dbt_catalog:
|
|
@@ -214,6 +252,23 @@ class DbtSource(DbtServiceSource):
|
|
|
214
252
|
]:
|
|
215
253
|
continue
|
|
216
254
|
|
|
255
|
+
if (
|
|
256
|
+
manifest_node[DbtCommonEnum.RESOURCETYPE.value]
|
|
257
|
+
== DbtCommonEnum.EXPOSURE.value
|
|
258
|
+
):
|
|
259
|
+
if all(
|
|
260
|
+
required_key in manifest_node
|
|
261
|
+
for required_key in REQUIRED_EXPOSURE_KEYS
|
|
262
|
+
):
|
|
263
|
+
logger.debug(f"Successfully Validated DBT Node: {key}")
|
|
264
|
+
else:
|
|
265
|
+
logger.warning(
|
|
266
|
+
f"Error validating DBT Node: {key}\n"
|
|
267
|
+
f"Please check if following keys exist for the node: {REQUIRED_EXPOSURE_KEYS}"
|
|
268
|
+
)
|
|
269
|
+
|
|
270
|
+
continue
|
|
271
|
+
|
|
217
272
|
# Validate if all the required keys are present in the manifest nodes
|
|
218
273
|
if all(
|
|
219
274
|
required_key in manifest_node
|
|
@@ -236,6 +291,18 @@ class DbtSource(DbtServiceSource):
|
|
|
236
291
|
f"Unable to find the node or columns in the catalog file for dbt node: {key}"
|
|
237
292
|
)
|
|
238
293
|
|
|
294
|
+
def filter_tags(self, tags: List[str]) -> List[str]:
|
|
295
|
+
"""
|
|
296
|
+
Filter tags based on tag filter pattern if configured
|
|
297
|
+
"""
|
|
298
|
+
if self.source_config.tagFilterPattern:
|
|
299
|
+
return [
|
|
300
|
+
tag
|
|
301
|
+
for tag in tags
|
|
302
|
+
if not filter_by_tag(self.source_config.tagFilterPattern, tag)
|
|
303
|
+
]
|
|
304
|
+
return tags
|
|
305
|
+
|
|
239
306
|
def yield_dbt_tags(
|
|
240
307
|
self, dbt_objects: DbtObjects
|
|
241
308
|
) -> Iterable[Either[OMetaTagAndClassification]]:
|
|
@@ -263,13 +330,13 @@ class DbtSource(DbtServiceSource):
|
|
|
263
330
|
# Add the tags from the model
|
|
264
331
|
model_tags = manifest_node.tags
|
|
265
332
|
if model_tags:
|
|
266
|
-
dbt_tags_list.extend(model_tags)
|
|
333
|
+
dbt_tags_list.extend(self.filter_tags(model_tags))
|
|
267
334
|
|
|
268
335
|
# Add the tags from the columns
|
|
269
336
|
for _, column in manifest_node.columns.items():
|
|
270
337
|
column_tags = column.tags
|
|
271
338
|
if column_tags:
|
|
272
|
-
dbt_tags_list.extend(column_tags)
|
|
339
|
+
dbt_tags_list.extend(self.filter_tags(column_tags))
|
|
273
340
|
except Exception as exc:
|
|
274
341
|
yield Either(
|
|
275
342
|
left=StackTraceError(
|
|
@@ -279,6 +346,9 @@ class DbtSource(DbtServiceSource):
|
|
|
279
346
|
)
|
|
280
347
|
)
|
|
281
348
|
try:
|
|
349
|
+
# Deduplicate tags before building FQNs
|
|
350
|
+
dbt_tags_list = list(set(dbt_tags_list)) if dbt_tags_list else []
|
|
351
|
+
|
|
282
352
|
# Create all the tags added
|
|
283
353
|
dbt_tag_labels = [
|
|
284
354
|
fqn.build(
|
|
@@ -326,11 +396,27 @@ class DbtSource(DbtServiceSource):
|
|
|
326
396
|
None,
|
|
327
397
|
)
|
|
328
398
|
|
|
329
|
-
def
|
|
399
|
+
def add_dbt_exposure(self, key: str, manifest_node, manifest_entities):
|
|
400
|
+
exposure_entity = self.parse_exposure_node(manifest_node)
|
|
401
|
+
|
|
402
|
+
if exposure_entity:
|
|
403
|
+
self.context.get().exposures[key] = {
|
|
404
|
+
DbtCommonEnum.EXPOSURE: exposure_entity,
|
|
405
|
+
DbtCommonEnum.MANIFEST_NODE: manifest_node,
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
self.context.get().exposures[key][
|
|
409
|
+
DbtCommonEnum.UPSTREAM
|
|
410
|
+
] = self.parse_upstream_nodes(manifest_entities, manifest_node)
|
|
411
|
+
|
|
412
|
+
def add_dbt_sources(
|
|
330
413
|
self, key: str, manifest_node, manifest_entities, dbt_objects: DbtObjects
|
|
331
|
-
):
|
|
332
|
-
|
|
333
|
-
|
|
414
|
+
) -> None:
|
|
415
|
+
"""
|
|
416
|
+
Method to append dbt test cases based on sources file for later processing
|
|
417
|
+
In dbt manifest sources node name is table/view name (not test name like with test nodes)
|
|
418
|
+
So in order for the test creation to be named precisely I am amending manifest node name within it's deepcopy
|
|
419
|
+
"""
|
|
334
420
|
manifest_node_new = deepcopy(manifest_node)
|
|
335
421
|
manifest_node_new.name = manifest_node_new.name + "_freshness"
|
|
336
422
|
|
|
@@ -350,17 +436,71 @@ class DbtSource(DbtServiceSource):
|
|
|
350
436
|
DbtCommonEnum.RESULTS.value
|
|
351
437
|
] = freshness_test_result
|
|
352
438
|
|
|
353
|
-
def
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
439
|
+
def _get_table_entity(self, table_fqn) -> Optional[Table]:
|
|
440
|
+
def search_table(fqn_search_string: str) -> Optional[Table]:
|
|
441
|
+
table_entities = get_entity_from_es_result(
|
|
442
|
+
entity_list=self.metadata.es_search_from_fqn(
|
|
443
|
+
entity_type=Table,
|
|
444
|
+
fqn_search_string=fqn_search_string,
|
|
445
|
+
fields="sourceHash",
|
|
446
|
+
),
|
|
447
|
+
fetch_multiple_entities=True,
|
|
448
|
+
)
|
|
449
|
+
|
|
450
|
+
if not table_entities:
|
|
451
|
+
return None
|
|
362
452
|
|
|
363
|
-
|
|
453
|
+
logger.debug(
|
|
454
|
+
f"Found table entities from {fqn_search_string}: {len(table_entities)} entities"
|
|
455
|
+
)
|
|
456
|
+
return (
|
|
457
|
+
next(iter(filter(None, table_entities)), None)
|
|
458
|
+
if table_entities
|
|
459
|
+
else None
|
|
460
|
+
)
|
|
461
|
+
|
|
462
|
+
try:
|
|
463
|
+
table_entity = search_table(table_fqn)
|
|
464
|
+
if table_entity:
|
|
465
|
+
logger.debug(
|
|
466
|
+
f"Using Table Entity: {table_entity.fullyQualifiedName.root}"
|
|
467
|
+
f"with id {table_entity.id}"
|
|
468
|
+
)
|
|
469
|
+
return table_entity
|
|
470
|
+
|
|
471
|
+
if self.source_config.searchAcrossDatabases:
|
|
472
|
+
logger.warning(
|
|
473
|
+
f"Table {table_fqn} not found under service: {self.config.serviceName}."
|
|
474
|
+
"Trying to find table across services"
|
|
475
|
+
)
|
|
476
|
+
_, database_name, schema_name, table_name = fqn.split(table_fqn)
|
|
477
|
+
table_fqn = fqn.build(
|
|
478
|
+
self.metadata,
|
|
479
|
+
entity_type=Table,
|
|
480
|
+
service_name="*",
|
|
481
|
+
database_name=database_name,
|
|
482
|
+
schema_name=schema_name,
|
|
483
|
+
table_name=table_name,
|
|
484
|
+
)
|
|
485
|
+
table_entity = search_table(table_fqn)
|
|
486
|
+
if table_entity:
|
|
487
|
+
return table_entity
|
|
488
|
+
|
|
489
|
+
logger.warning(
|
|
490
|
+
f"Unable to find the table '{table_fqn}' in OpenMetadata. "
|
|
491
|
+
"Please check if the table exists and is ingested in OpenMetadata. "
|
|
492
|
+
"Also, ensure the name, database, and schema of the manifest node"
|
|
493
|
+
"match the table present in OpenMetadata."
|
|
494
|
+
)
|
|
495
|
+
except Exception as exc:
|
|
496
|
+
logger.debug(traceback.format_exc())
|
|
497
|
+
logger.warning(
|
|
498
|
+
f"Failed to get table entity '{table_fqn}' from OpenMetadata: {exc}"
|
|
499
|
+
)
|
|
500
|
+
|
|
501
|
+
return None
|
|
502
|
+
|
|
503
|
+
# pylint: disable=too-many-locals, too-many-branches
|
|
364
504
|
def yield_data_models(
|
|
365
505
|
self, dbt_objects: DbtObjects
|
|
366
506
|
) -> Iterable[Either[DataModelLink]]:
|
|
@@ -372,6 +512,7 @@ class DbtSource(DbtServiceSource):
|
|
|
372
512
|
manifest_entities = {
|
|
373
513
|
**dbt_objects.dbt_manifest.sources,
|
|
374
514
|
**dbt_objects.dbt_manifest.nodes,
|
|
515
|
+
**dbt_objects.dbt_manifest.exposures,
|
|
375
516
|
}
|
|
376
517
|
catalog_entities = None
|
|
377
518
|
if dbt_objects.dbt_catalog:
|
|
@@ -380,8 +521,10 @@ class DbtSource(DbtServiceSource):
|
|
|
380
521
|
**dbt_objects.dbt_catalog.nodes,
|
|
381
522
|
}
|
|
382
523
|
self.context.get().data_model_links = []
|
|
524
|
+
self.context.get().exposures = {}
|
|
383
525
|
self.context.get().dbt_tests = {}
|
|
384
526
|
self.context.get().run_results_generate_time = None
|
|
527
|
+
|
|
385
528
|
# Since we'll be processing multiple run_results for a single project
|
|
386
529
|
# we'll only consider the first run_results generated_at time
|
|
387
530
|
if (
|
|
@@ -391,6 +534,9 @@ class DbtSource(DbtServiceSource):
|
|
|
391
534
|
self.context.get().run_results_generate_time = (
|
|
392
535
|
dbt_objects.dbt_run_results[0].metadata.generated_at
|
|
393
536
|
)
|
|
537
|
+
dbt_project_name = getattr(
|
|
538
|
+
dbt_objects.dbt_manifest.metadata, "project_name", None
|
|
539
|
+
)
|
|
394
540
|
for key, manifest_node in manifest_entities.items():
|
|
395
541
|
try:
|
|
396
542
|
resource_type = getattr(
|
|
@@ -414,7 +560,7 @@ class DbtSource(DbtServiceSource):
|
|
|
414
560
|
|
|
415
561
|
if (
|
|
416
562
|
dbt_objects.dbt_sources
|
|
417
|
-
and resource_type ==
|
|
563
|
+
and resource_type == DbtCommonEnum.SOURCE.value
|
|
418
564
|
):
|
|
419
565
|
self.add_dbt_sources(
|
|
420
566
|
key,
|
|
@@ -423,6 +569,10 @@ class DbtSource(DbtServiceSource):
|
|
|
423
569
|
dbt_objects=dbt_objects,
|
|
424
570
|
)
|
|
425
571
|
|
|
572
|
+
if resource_type == DbtCommonEnum.EXPOSURE.value:
|
|
573
|
+
self.add_dbt_exposure(key, manifest_node, manifest_entities)
|
|
574
|
+
continue
|
|
575
|
+
|
|
426
576
|
# Skip the ephemeral nodes since it is not materialized
|
|
427
577
|
if check_ephemeral_node(manifest_node):
|
|
428
578
|
logger.debug(f"Skipping ephemeral DBT node: {key}.")
|
|
@@ -453,6 +603,7 @@ class DbtSource(DbtServiceSource):
|
|
|
453
603
|
|
|
454
604
|
dbt_table_tags_list = []
|
|
455
605
|
if manifest_node.tags:
|
|
606
|
+
manifest_node.tags = self.filter_tags(manifest_node.tags)
|
|
456
607
|
dbt_table_tags_list = (
|
|
457
608
|
get_tag_labels(
|
|
458
609
|
metadata=self.metadata,
|
|
@@ -471,28 +622,20 @@ class DbtSource(DbtServiceSource):
|
|
|
471
622
|
dbt_compiled_query = get_dbt_compiled_query(manifest_node)
|
|
472
623
|
dbt_raw_query = get_dbt_raw_query(manifest_node)
|
|
473
624
|
|
|
474
|
-
# Get the table entity from ES
|
|
475
625
|
table_fqn = fqn.build(
|
|
476
626
|
self.metadata,
|
|
477
627
|
entity_type=Table,
|
|
478
|
-
service_name=
|
|
628
|
+
service_name=self.config.serviceName,
|
|
479
629
|
database_name=get_corrected_name(manifest_node.database),
|
|
480
630
|
schema_name=get_corrected_name(manifest_node.schema_),
|
|
481
631
|
table_name=model_name,
|
|
482
632
|
)
|
|
483
633
|
|
|
484
|
-
table_entity:
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
fqn_search_string=table_fqn,
|
|
490
|
-
fields="sourceHash",
|
|
491
|
-
),
|
|
492
|
-
fetch_multiple_entities=False,
|
|
493
|
-
)
|
|
494
|
-
|
|
495
|
-
if table_entity:
|
|
634
|
+
if table_entity := self._get_table_entity(table_fqn=table_fqn):
|
|
635
|
+
logger.debug(
|
|
636
|
+
f"Using Table Entity for datamodel: {table_entity.fullyQualifiedName.root}"
|
|
637
|
+
f"with id {table_entity.id}"
|
|
638
|
+
)
|
|
496
639
|
data_model_link = DataModelLink(
|
|
497
640
|
table_entity=table_entity,
|
|
498
641
|
datamodel=DataModel(
|
|
@@ -519,17 +662,12 @@ class DbtSource(DbtServiceSource):
|
|
|
519
662
|
catalog_node=catalog_node,
|
|
520
663
|
),
|
|
521
664
|
tags=dbt_table_tags_list or [],
|
|
665
|
+
dbtSourceProject=dbt_project_name,
|
|
522
666
|
),
|
|
523
667
|
)
|
|
524
668
|
yield Either(right=data_model_link)
|
|
525
669
|
self.context.get().data_model_links.append(data_model_link)
|
|
526
|
-
|
|
527
|
-
logger.warning(
|
|
528
|
-
f"Unable to find the table '{table_fqn}' in OpenMetadata"
|
|
529
|
-
"Please check if the table exists and is ingested in OpenMetadata"
|
|
530
|
-
"Also name, database, schema of the manifest node matches with the table present "
|
|
531
|
-
"in OpenMetadata"
|
|
532
|
-
)
|
|
670
|
+
|
|
533
671
|
except Exception as exc:
|
|
534
672
|
yield Either(
|
|
535
673
|
left=StackTraceError(
|
|
@@ -573,22 +711,14 @@ class DbtSource(DbtServiceSource):
|
|
|
573
711
|
parent_fqn = fqn.build(
|
|
574
712
|
self.metadata,
|
|
575
713
|
entity_type=Table,
|
|
576
|
-
service_name=
|
|
714
|
+
service_name=self.config.serviceName,
|
|
577
715
|
database_name=get_corrected_name(parent_node.database),
|
|
578
716
|
schema_name=get_corrected_name(parent_node.schema_),
|
|
579
717
|
table_name=table_name,
|
|
580
718
|
)
|
|
581
719
|
|
|
582
720
|
# check if the parent table exists in OM before adding it to the upstream list
|
|
583
|
-
|
|
584
|
-
Union[Table, List[Table]]
|
|
585
|
-
] = get_entity_from_es_result(
|
|
586
|
-
entity_list=self.metadata.es_search_from_fqn(
|
|
587
|
-
entity_type=Table, fqn_search_string=parent_fqn
|
|
588
|
-
),
|
|
589
|
-
fetch_multiple_entities=False,
|
|
590
|
-
)
|
|
591
|
-
if parent_table_entity:
|
|
721
|
+
if self._get_table_entity(table_fqn=parent_fqn):
|
|
592
722
|
upstream_nodes.append(parent_fqn)
|
|
593
723
|
except Exception as exc: # pylint: disable=broad-except
|
|
594
724
|
logger.debug(traceback.format_exc())
|
|
@@ -597,28 +727,6 @@ class DbtSource(DbtServiceSource):
|
|
|
597
727
|
)
|
|
598
728
|
continue
|
|
599
729
|
|
|
600
|
-
if dbt_node.resource_type == SkipResourceTypeEnum.SOURCE.value:
|
|
601
|
-
parent_fqn = fqn.build(
|
|
602
|
-
self.metadata,
|
|
603
|
-
entity_type=Table,
|
|
604
|
-
service_name="*",
|
|
605
|
-
database_name=get_corrected_name(dbt_node.database),
|
|
606
|
-
schema_name=get_corrected_name(dbt_node.schema_),
|
|
607
|
-
table_name=dbt_node.name,
|
|
608
|
-
)
|
|
609
|
-
|
|
610
|
-
# check if the parent table exists in OM before adding it to the upstream list
|
|
611
|
-
parent_table_entity: Optional[
|
|
612
|
-
Union[Table, List[Table]]
|
|
613
|
-
] = get_entity_from_es_result(
|
|
614
|
-
entity_list=self.metadata.es_search_from_fqn(
|
|
615
|
-
entity_type=Table, fqn_search_string=parent_fqn
|
|
616
|
-
),
|
|
617
|
-
fetch_multiple_entities=False,
|
|
618
|
-
)
|
|
619
|
-
if parent_table_entity:
|
|
620
|
-
upstream_nodes.append(parent_fqn)
|
|
621
|
-
|
|
622
730
|
return upstream_nodes
|
|
623
731
|
|
|
624
732
|
def parse_data_model_columns(
|
|
@@ -644,6 +752,7 @@ class DbtSource(DbtServiceSource):
|
|
|
644
752
|
column_description = catalog_column.comment
|
|
645
753
|
|
|
646
754
|
dbt_column_tag_list = []
|
|
755
|
+
manifest_column.tags = self.filter_tags(manifest_column.tags)
|
|
647
756
|
dbt_column_tag_list.extend(
|
|
648
757
|
get_tag_labels(
|
|
649
758
|
metadata=self.metadata,
|
|
@@ -697,6 +806,57 @@ class DbtSource(DbtServiceSource):
|
|
|
697
806
|
|
|
698
807
|
return columns
|
|
699
808
|
|
|
809
|
+
def parse_exposure_node(self, exposure_spec) -> Optional[Any]:
|
|
810
|
+
"""
|
|
811
|
+
Parses the exposure node verifying if it's type is supported and if provided label matches FQN of
|
|
812
|
+
Open Metadata entity. Returns entity object if both conditions are met.
|
|
813
|
+
|
|
814
|
+
The implementation assumes that value of meta.open_metadata_fqn provided in DBT exposures object matches
|
|
815
|
+
to FQN of OpenMetadata entity.
|
|
816
|
+
|
|
817
|
+
```yaml
|
|
818
|
+
exposures:
|
|
819
|
+
- name: orders_dashboard
|
|
820
|
+
label: orders
|
|
821
|
+
meta:
|
|
822
|
+
open_metadata_fqn: sample_looker.orders # OpenMetadata entity FullyQualifiedName
|
|
823
|
+
type: dashboard
|
|
824
|
+
maturity: high
|
|
825
|
+
url: http://localhost:808/looker/dashboard/8/
|
|
826
|
+
description: >
|
|
827
|
+
Exemplary OM Looker Dashboard.
|
|
828
|
+
|
|
829
|
+
depends_on:
|
|
830
|
+
- ref('fact_sales')
|
|
831
|
+
```
|
|
832
|
+
"""
|
|
833
|
+
exposure_type = exposure_spec.type.value
|
|
834
|
+
entity_type = ExposureTypeMap.get(exposure_type, {}).get("entity_type")
|
|
835
|
+
|
|
836
|
+
if not entity_type:
|
|
837
|
+
logger.warning(f"Exposure type [{exposure_spec.type.value}] not supported.")
|
|
838
|
+
|
|
839
|
+
return None
|
|
840
|
+
|
|
841
|
+
try:
|
|
842
|
+
entity_fqn = exposure_spec.meta["open_metadata_fqn"]
|
|
843
|
+
except KeyError:
|
|
844
|
+
logger.warning(
|
|
845
|
+
f"meta.open_metadata_fqn not found in [{exposure_spec.name}] exposure spec."
|
|
846
|
+
)
|
|
847
|
+
return None
|
|
848
|
+
|
|
849
|
+
entity = self.metadata.get_by_name(fqn=entity_fqn, entity=entity_type)
|
|
850
|
+
|
|
851
|
+
if not entity:
|
|
852
|
+
logger.warning(
|
|
853
|
+
f"Entity [{entity_fqn}] of [{exposure_type}] type not found in Open Metadata."
|
|
854
|
+
)
|
|
855
|
+
|
|
856
|
+
return None
|
|
857
|
+
|
|
858
|
+
return entity
|
|
859
|
+
|
|
700
860
|
def create_dbt_lineage(
|
|
701
861
|
self, data_model_link: DataModelLink
|
|
702
862
|
) -> Iterable[Either[AddLineageRequest]]:
|
|
@@ -708,14 +868,8 @@ class DbtSource(DbtServiceSource):
|
|
|
708
868
|
|
|
709
869
|
for upstream_node in data_model_link.datamodel.upstream:
|
|
710
870
|
try:
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
fqn_search_string=upstream_node,
|
|
714
|
-
)
|
|
715
|
-
from_entity: Optional[
|
|
716
|
-
Union[Table, List[Table]]
|
|
717
|
-
] = get_entity_from_es_result(
|
|
718
|
-
entity_list=from_es_result, fetch_multiple_entities=False
|
|
871
|
+
from_entity: Optional[Table] = self._get_table_entity(
|
|
872
|
+
table_fqn=upstream_node
|
|
719
873
|
)
|
|
720
874
|
if from_entity and to_entity:
|
|
721
875
|
yield Either(
|
|
@@ -730,7 +884,12 @@ class DbtSource(DbtServiceSource):
|
|
|
730
884
|
type="table",
|
|
731
885
|
),
|
|
732
886
|
lineageDetails=LineageDetails(
|
|
733
|
-
source=LineageSource.DbtLineage
|
|
887
|
+
source=LineageSource.DbtLineage,
|
|
888
|
+
sqlQuery=SqlQuery(
|
|
889
|
+
data_model_link.datamodel.sql.root
|
|
890
|
+
)
|
|
891
|
+
if data_model_link.datamodel.sql
|
|
892
|
+
else None,
|
|
734
893
|
),
|
|
735
894
|
)
|
|
736
895
|
)
|
|
@@ -760,6 +919,7 @@ class DbtSource(DbtServiceSource):
|
|
|
760
919
|
query_fqn = fqn._build( # pylint: disable=protected-access
|
|
761
920
|
*source_elements[-3:]
|
|
762
921
|
)
|
|
922
|
+
query_fqn = ".".join([f'"{i}"' for i in query_fqn.split(".")])
|
|
763
923
|
query = (
|
|
764
924
|
f"create table {query_fqn} as {data_model_link.datamodel.sql.root}"
|
|
765
925
|
)
|
|
@@ -770,7 +930,7 @@ class DbtSource(DbtServiceSource):
|
|
|
770
930
|
lineages = get_lineage_by_query(
|
|
771
931
|
self.metadata,
|
|
772
932
|
query=query,
|
|
773
|
-
|
|
933
|
+
service_names=source_elements[0],
|
|
774
934
|
database_name=source_elements[1],
|
|
775
935
|
schema_name=source_elements[2],
|
|
776
936
|
dialect=dialect,
|
|
@@ -791,6 +951,54 @@ class DbtSource(DbtServiceSource):
|
|
|
791
951
|
)
|
|
792
952
|
)
|
|
793
953
|
|
|
954
|
+
def create_dbt_exposures_lineage(
|
|
955
|
+
self, exposure_spec: dict
|
|
956
|
+
) -> Iterable[Either[AddLineageRequest]]:
|
|
957
|
+
"""
|
|
958
|
+
Method to process dbt exposure lineage
|
|
959
|
+
"""
|
|
960
|
+
to_entity = exposure_spec[DbtCommonEnum.EXPOSURE]
|
|
961
|
+
upstream = exposure_spec[DbtCommonEnum.UPSTREAM]
|
|
962
|
+
manifest_node = exposure_spec[DbtCommonEnum.MANIFEST_NODE]
|
|
963
|
+
|
|
964
|
+
for upstream_node in upstream:
|
|
965
|
+
try:
|
|
966
|
+
from_es_result = self.metadata.es_search_from_fqn(
|
|
967
|
+
entity_type=Table,
|
|
968
|
+
fqn_search_string=upstream_node,
|
|
969
|
+
)
|
|
970
|
+
from_entity: Optional[
|
|
971
|
+
Union[Table, List[Table]]
|
|
972
|
+
] = get_entity_from_es_result(
|
|
973
|
+
entity_list=from_es_result, fetch_multiple_entities=False
|
|
974
|
+
)
|
|
975
|
+
if from_entity and to_entity:
|
|
976
|
+
yield Either(
|
|
977
|
+
right=AddLineageRequest(
|
|
978
|
+
edge=EntitiesEdge(
|
|
979
|
+
fromEntity=EntityReference(
|
|
980
|
+
id=Uuid(from_entity.id.root),
|
|
981
|
+
type="table",
|
|
982
|
+
),
|
|
983
|
+
toEntity=EntityReference(
|
|
984
|
+
id=Uuid(to_entity.id.root),
|
|
985
|
+
type=ExposureTypeMap[manifest_node.type.value][
|
|
986
|
+
"entity_type_name"
|
|
987
|
+
],
|
|
988
|
+
),
|
|
989
|
+
lineageDetails=LineageDetails(
|
|
990
|
+
source=LineageSource.DbtLineage
|
|
991
|
+
),
|
|
992
|
+
)
|
|
993
|
+
)
|
|
994
|
+
)
|
|
995
|
+
|
|
996
|
+
except Exception as exc: # pylint: disable=broad-except
|
|
997
|
+
logger.debug(traceback.format_exc())
|
|
998
|
+
logger.warning(
|
|
999
|
+
f"Failed to parse the node {upstream_node} to capture lineage: {exc}"
|
|
1000
|
+
)
|
|
1001
|
+
|
|
794
1002
|
def process_dbt_meta(self, manifest_meta):
|
|
795
1003
|
"""
|
|
796
1004
|
Method to process DBT meta for Tags and GlossaryTerms
|
|
@@ -821,6 +1029,23 @@ class DbtSource(DbtServiceSource):
|
|
|
821
1029
|
or []
|
|
822
1030
|
)
|
|
823
1031
|
|
|
1032
|
+
if dbt_meta_info.openmetadata and dbt_meta_info.openmetadata.tags:
|
|
1033
|
+
for tag_fqn in dbt_meta_info.openmetadata.tags:
|
|
1034
|
+
# Parse classification.tag format
|
|
1035
|
+
tag_parts = tag_fqn.split(fqn.FQN_SEPARATOR)
|
|
1036
|
+
if len(tag_parts) >= 2:
|
|
1037
|
+
classification_name = tag_parts[0]
|
|
1038
|
+
tag_name = fqn.FQN_SEPARATOR.join(tag_parts[1:])
|
|
1039
|
+
dbt_table_tags_list.extend(
|
|
1040
|
+
get_tag_labels(
|
|
1041
|
+
metadata=self.metadata,
|
|
1042
|
+
tags=[tag_name],
|
|
1043
|
+
classification_name=classification_name,
|
|
1044
|
+
include_tags=True,
|
|
1045
|
+
)
|
|
1046
|
+
or []
|
|
1047
|
+
)
|
|
1048
|
+
|
|
824
1049
|
except Exception as exc: # pylint: disable=broad-except
|
|
825
1050
|
logger.debug(traceback.format_exc())
|
|
826
1051
|
logger.warning(f"Failed to process meta dbt Tags and GlossaryTerms: {exc}")
|
|
@@ -985,10 +1210,8 @@ class DbtSource(DbtServiceSource):
|
|
|
985
1210
|
logger.debug(f"Processing DBT Test Case for node: {manifest_node.name}")
|
|
986
1211
|
entity_link_list = generate_entity_link(dbt_test)
|
|
987
1212
|
for entity_link_str in entity_link_list:
|
|
988
|
-
test_suite = check_or_create_test_suite(
|
|
989
|
-
self.metadata, entity_link_str
|
|
990
|
-
)
|
|
991
1213
|
table_fqn = get_table_fqn(entity_link_str)
|
|
1214
|
+
logger.debug(f"Table fqn found: {table_fqn}")
|
|
992
1215
|
source_elements = table_fqn.split(fqn.FQN_SEPARATOR)
|
|
993
1216
|
test_case_fqn = fqn.build(
|
|
994
1217
|
self.metadata,
|
|
@@ -1016,7 +1239,6 @@ class DbtSource(DbtServiceSource):
|
|
|
1016
1239
|
manifest_node.name
|
|
1017
1240
|
),
|
|
1018
1241
|
entityLink=entity_link_str,
|
|
1019
|
-
testSuite=test_suite.fullyQualifiedName,
|
|
1020
1242
|
parameterValues=create_test_case_parameter_values(
|
|
1021
1243
|
dbt_test
|
|
1022
1244
|
),
|
|
@@ -1024,6 +1246,7 @@ class DbtSource(DbtServiceSource):
|
|
|
1024
1246
|
owners=None,
|
|
1025
1247
|
)
|
|
1026
1248
|
)
|
|
1249
|
+
logger.debug(f"Test case Already Exists: {test_case_fqn}")
|
|
1027
1250
|
except Exception as err: # pylint: disable=broad-except
|
|
1028
1251
|
yield Either(
|
|
1029
1252
|
left=StackTraceError(
|
|
@@ -1085,7 +1308,7 @@ class DbtSource(DbtServiceSource):
|
|
|
1085
1308
|
# Create the test case result object
|
|
1086
1309
|
test_case_result = TestCaseResult(
|
|
1087
1310
|
timestamp=Timestamp(
|
|
1088
|
-
|
|
1311
|
+
datetime_to_timestamp(dbt_timestamp, milliseconds=True)
|
|
1089
1312
|
),
|
|
1090
1313
|
testCaseStatus=test_case_status,
|
|
1091
1314
|
testResultValue=[
|
|
@@ -1113,13 +1336,20 @@ class DbtSource(DbtServiceSource):
|
|
|
1113
1336
|
else None,
|
|
1114
1337
|
test_case_name=manifest_node.name,
|
|
1115
1338
|
)
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1339
|
+
|
|
1340
|
+
logger.debug(f"Adding test case results to {test_case_fqn} ")
|
|
1341
|
+
try:
|
|
1342
|
+
self.metadata.add_test_case_results(
|
|
1343
|
+
test_results=test_case_result,
|
|
1344
|
+
test_case_fqn=test_case_fqn,
|
|
1345
|
+
)
|
|
1346
|
+
except APIError as err:
|
|
1347
|
+
if err.code != 409:
|
|
1348
|
+
raise err
|
|
1349
|
+
|
|
1120
1350
|
except Exception as err: # pylint: disable=broad-except
|
|
1121
1351
|
logger.debug(traceback.format_exc())
|
|
1122
|
-
logger.
|
|
1352
|
+
logger.debug(
|
|
1123
1353
|
f"Failed to capture tests results for node: {manifest_node.name} {err}"
|
|
1124
1354
|
)
|
|
1125
1355
|
|