openmetadata-ingestion 1.9.0.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.
- airflow_provider_openmetadata/lineage/backend.py +4 -2
- airflow_provider_openmetadata/lineage/config/loader.py +8 -1
- metadata/cli/common.py +0 -1
- metadata/clients/aws_client.py +4 -0
- metadata/data_quality/interface/test_suite_interface.py +9 -3
- metadata/data_quality/validations/models.py +11 -1
- metadata/data_quality/validations/runtime_param_setter/base_diff_params_setter.py +39 -13
- metadata/data_quality/validations/runtime_param_setter/param_setter_factory.py +9 -0
- 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 +20 -13
- metadata/data_quality/validations/table/base/tableCustomSQLQuery.py +132 -3
- metadata/data_quality/validations/table/pandas/tableCustomSQLQuery.py +38 -0
- metadata/data_quality/validations/table/sqlalchemy/tableCustomSQLQuery.py +320 -0
- metadata/data_quality/validations/table/sqlalchemy/tableDiff.py +4 -0
- metadata/examples/workflows/airbyte.yaml +8 -2
- metadata/examples/workflows/bigquery.yaml +1 -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/unity_catalog.yaml +7 -1
- metadata/examples/workflows/unity_catalog_usage.yaml +7 -1
- 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 +1 -1
- 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 +1 -1
- metadata/generated/schema/api/addTagToAssetsRequest.py +1 -1
- metadata/generated/schema/api/analytics/__init__.py +1 -1
- metadata/generated/schema/api/analytics/createWebAnalyticEvent.py +1 -1
- metadata/generated/schema/api/automations/__init__.py +1 -1
- metadata/generated/schema/api/automations/createWorkflow.py +1 -1
- metadata/generated/schema/api/bulkAssets.py +1 -1
- metadata/generated/schema/api/classification/__init__.py +1 -1
- metadata/generated/schema/api/classification/createClassification.py +52 -1
- metadata/generated/schema/api/classification/createTag.py +29 -2
- 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 +1 -1
- metadata/generated/schema/api/createEventPublisherJob.py +1 -1
- metadata/generated/schema/api/createType.py +1 -1
- metadata/generated/schema/api/data/__init__.py +1 -1
- metadata/generated/schema/api/data/createAPICollection.py +1 -1
- metadata/generated/schema/api/data/createAPIEndpoint.py +1 -1
- metadata/generated/schema/api/data/createChart.py +1 -1
- metadata/generated/schema/api/data/createContainer.py +1 -1
- metadata/generated/schema/api/data/createCustomProperty.py +1 -1
- metadata/generated/schema/api/data/createDashboard.py +1 -1
- metadata/generated/schema/api/data/createDashboardDataModel.py +5 -1
- metadata/generated/schema/api/data/createDataContract.py +33 -3
- metadata/generated/schema/api/data/createDatabase.py +1 -1
- metadata/generated/schema/api/data/createDatabaseSchema.py +1 -1
- metadata/generated/schema/api/data/createDirectory.py +1 -1
- metadata/generated/schema/api/data/createEntityProfile.py +36 -0
- metadata/generated/schema/api/data/createFile.py +1 -1
- metadata/generated/schema/api/data/createGlossary.py +1 -1
- metadata/generated/schema/api/data/createGlossaryTerm.py +1 -1
- metadata/generated/schema/api/data/createMetric.py +12 -1
- metadata/generated/schema/api/data/createMlModel.py +1 -1
- metadata/generated/schema/api/data/createPipeline.py +1 -1
- metadata/generated/schema/api/data/createQuery.py +1 -1
- metadata/generated/schema/api/data/createQueryCostRecord.py +1 -1
- metadata/generated/schema/api/data/createSearchIndex.py +1 -1
- metadata/generated/schema/api/data/createSpreadsheet.py +9 -1
- metadata/generated/schema/api/data/createStoredProcedure.py +1 -1
- metadata/generated/schema/api/data/createTable.py +1 -1
- metadata/generated/schema/api/data/createTableProfile.py +1 -1
- metadata/generated/schema/api/data/createTopic.py +1 -1
- metadata/generated/schema/api/data/createWorksheet.py +1 -1
- 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 +1 -1
- metadata/generated/schema/api/dataInsight/__init__.py +1 -1
- metadata/generated/schema/api/dataInsight/createDataInsightChart.py +1 -1
- 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 +1 -1
- metadata/generated/schema/api/docStore/__init__.py +1 -1
- metadata/generated/schema/api/docStore/createDocument.py +1 -1
- metadata/generated/schema/api/domains/__init__.py +1 -1
- metadata/generated/schema/api/domains/createDataProduct.py +7 -1
- metadata/generated/schema/api/domains/createDomain.py +1 -1
- metadata/generated/schema/api/entityRelationship/__init__.py +1 -1
- metadata/generated/schema/api/entityRelationship/entityRelationshipDirection.py +1 -1
- metadata/generated/schema/api/entityRelationship/esEntityRelationshipData.py +1 -1
- metadata/generated/schema/api/entityRelationship/relationshipRef.py +1 -1
- metadata/generated/schema/api/entityRelationship/searchEntityRelationshipRequest.py +1 -1
- metadata/generated/schema/api/entityRelationship/searchEntityRelationshipResult.py +1 -1
- metadata/generated/schema/api/entityRelationship/searchSchemaEntityRelationshipResult.py +1 -1
- 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 +1 -1
- metadata/generated/schema/api/feed/resolveTask.py +1 -1
- metadata/generated/schema/api/feed/threadCount.py +1 -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 +1 -1
- metadata/generated/schema/api/lineage/lineageDirection.py +1 -1
- metadata/generated/schema/api/lineage/lineagePaginationInfo.py +57 -0
- metadata/generated/schema/api/lineage/nodeInformation.py +10 -2
- metadata/generated/schema/api/lineage/searchLineageRequest.py +1 -1
- metadata/generated/schema/api/lineage/searchLineageResult.py +1 -1
- metadata/generated/schema/api/mcp/__init__.py +1 -1
- metadata/generated/schema/api/mcp/mcpSearchResponse.py +118 -0
- metadata/generated/schema/api/mcp/mcpToolDefinition.py +1 -1
- metadata/generated/schema/api/openMetadataServerVersion.py +1 -1
- metadata/generated/schema/api/policies/__init__.py +1 -1
- metadata/generated/schema/api/policies/createPolicy.py +1 -1
- 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 +1 -1
- metadata/generated/schema/api/scim/scimGroup.py +1 -1
- metadata/generated/schema/api/scim/scimPatchOp.py +1 -1
- metadata/generated/schema/api/scim/scimUser.py +1 -1
- metadata/generated/schema/api/search/__init__.py +1 -1
- metadata/generated/schema/api/search/previewSearchRequest.py +1 -1
- metadata/generated/schema/api/services/__init__.py +1 -1
- metadata/generated/schema/api/services/createApiService.py +1 -1
- metadata/generated/schema/api/services/createDashboardService.py +1 -1
- metadata/generated/schema/api/services/createDatabaseService.py +1 -1
- metadata/generated/schema/api/services/createDriveService.py +9 -2
- metadata/generated/schema/api/services/createMessagingService.py +1 -1
- metadata/generated/schema/api/services/createMetadataService.py +1 -1
- metadata/generated/schema/api/services/createMlModelService.py +1 -1
- metadata/generated/schema/api/services/createPipelineService.py +1 -1
- metadata/generated/schema/api/services/createSearchService.py +1 -1
- metadata/generated/schema/api/services/createSecurityService.py +1 -1
- metadata/generated/schema/api/services/createStorageService.py +1 -1
- metadata/generated/schema/api/services/ingestionPipelines/__init__.py +1 -1
- metadata/generated/schema/api/services/ingestionPipelines/createIngestionPipeline.py +8 -1
- metadata/generated/schema/api/setOwner.py +1 -1
- metadata/generated/schema/api/teams/__init__.py +1 -1
- metadata/generated/schema/api/teams/createPersona.py +1 -1
- metadata/generated/schema/api/teams/createRole.py +1 -1
- metadata/generated/schema/api/teams/createTeam.py +1 -1
- metadata/generated/schema/api/teams/createUser.py +1 -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 +5 -1
- 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 +1 -1
- metadata/generated/schema/api/tests/createTestSuite.py +5 -1
- metadata/generated/schema/api/tests/moveGlossaryTermRequest.py +1 -1
- metadata/generated/schema/api/validateGlossaryTagsRequest.py +1 -1
- 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 +1 -1
- 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 +1 -1
- metadata/generated/schema/auth/tokenRefreshRequest.py +1 -1
- metadata/generated/schema/configuration/__init__.py +1 -1
- metadata/generated/schema/configuration/aiPlatformConfiguration.py +1 -1
- metadata/generated/schema/configuration/appsPrivateConfiguration.py +1 -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 +39 -10
- metadata/generated/schema/configuration/cacheConfiguration.py +1 -1
- metadata/generated/schema/configuration/changeEventConfiguration.py +1 -1
- metadata/generated/schema/configuration/dataQualityConfiguration.py +1 -1
- metadata/generated/schema/configuration/elasticSearchConfiguration.py +19 -1
- metadata/generated/schema/configuration/entityRulesSettings.py +1 -1
- 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 +1 -1
- metadata/generated/schema/configuration/opertionalConfiguration.py +1 -1
- metadata/generated/schema/configuration/opsConfig.py +1 -1
- metadata/generated/schema/configuration/pipelineServiceClientConfiguration.py +9 -2
- metadata/generated/schema/configuration/profilerConfiguration.py +2 -1
- metadata/generated/schema/configuration/searchSettings.py +7 -2
- 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 +15 -1
- metadata/generated/schema/dataInsight/__init__.py +1 -1
- metadata/generated/schema/dataInsight/custom/__init__.py +1 -1
- metadata/generated/schema/dataInsight/custom/dataInsightCustomChart.py +1 -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 +1 -1
- metadata/generated/schema/dataInsight/custom/summaryCard.py +1 -1
- metadata/generated/schema/dataInsight/dataInsightChart.py +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +15 -1
- metadata/generated/schema/entity/applications/appExtension.py +1 -1
- metadata/generated/schema/entity/applications/appRunRecord.py +1 -1
- metadata/generated/schema/entity/applications/configuration/__init__.py +1 -1
- metadata/generated/schema/entity/applications/configuration/applicationConfig.py +1 -1
- 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 +1 -1
- metadata/generated/schema/entity/applications/configuration/external/automator/addDescriptionAction.py +1 -1
- metadata/generated/schema/entity/applications/configuration/external/automator/addDomainAction.py +1 -1
- 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 +1 -1
- metadata/generated/schema/entity/applications/configuration/external/automator/addTierAction.py +1 -1
- metadata/generated/schema/entity/applications/configuration/external/automator/lineagePropagationAction.py +1 -1
- metadata/generated/schema/entity/applications/configuration/external/automator/mlTaggingAction.py +1 -1
- metadata/generated/schema/entity/applications/configuration/external/automator/propagationStopConfig.py +1 -1
- metadata/generated/schema/entity/applications/configuration/external/automator/removeCustomPropertiesAction.py +1 -1
- metadata/generated/schema/entity/applications/configuration/external/automator/removeDataProductAction.py +1 -1
- metadata/generated/schema/entity/applications/configuration/external/automator/removeDescriptionAction.py +1 -1
- 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 +6 -2
- metadata/generated/schema/entity/applications/configuration/external/automator/removeTermsAction.py +59 -0
- metadata/generated/schema/entity/applications/configuration/external/automator/removeTestCaseAction.py +1 -1
- metadata/generated/schema/entity/applications/configuration/external/automator/removeTierAction.py +1 -1
- metadata/generated/schema/entity/applications/configuration/external/automatorAppConfig.py +7 -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 +1 -1
- metadata/generated/schema/entity/applications/configuration/internal/collateAIQualityAgentAppConfig.py +1 -1
- metadata/generated/schema/entity/applications/configuration/internal/collateAITierAgentAppConfig.py +1 -1
- metadata/generated/schema/entity/applications/configuration/internal/dataInsightsAppConfig.py +1 -1
- metadata/generated/schema/entity/applications/configuration/internal/dataInsightsReportAppConfig.py +1 -1
- metadata/generated/schema/entity/applications/configuration/internal/dataRetentionConfiguration.py +15 -1
- metadata/generated/schema/entity/applications/configuration/internal/helloPipelinesConfiguration.py +1 -1
- metadata/generated/schema/entity/applications/configuration/internal/searchIndexingAppConfig.py +1 -1
- metadata/generated/schema/entity/applications/configuration/private/__init__.py +1 -1
- metadata/generated/schema/entity/applications/configuration/private/external/__init__.py +1 -1
- metadata/generated/schema/entity/applications/configuration/private/external/collateAIAppPrivateConfig.py +1 -1
- metadata/generated/schema/entity/applications/configuration/private/internal/__init__.py +1 -1
- metadata/generated/schema/entity/applications/configuration/private/internal/collateAITierAgentAppPrivateConfig.py +1 -1
- metadata/generated/schema/entity/applications/configuration/private/limits.py +1 -1
- metadata/generated/schema/entity/applications/createAppRequest.py +9 -2
- 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 +8 -1
- metadata/generated/schema/entity/applications/marketplace/createAppMarketPlaceDefinitionReq.py +8 -1
- 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 +3 -1
- metadata/generated/schema/entity/automations/testSparkEngineConnection.py +31 -0
- metadata/generated/schema/entity/automations/workflow.py +8 -2
- metadata/generated/schema/entity/bot.py +1 -1
- metadata/generated/schema/entity/classification/__init__.py +1 -1
- metadata/generated/schema/entity/classification/classification.py +57 -2
- metadata/generated/schema/entity/classification/tag.py +41 -3
- metadata/generated/schema/entity/data/__init__.py +1 -1
- metadata/generated/schema/entity/data/apiCollection.py +8 -1
- metadata/generated/schema/entity/data/apiEndpoint.py +8 -1
- metadata/generated/schema/entity/data/chart.py +12 -1
- metadata/generated/schema/entity/data/container.py +7 -1
- metadata/generated/schema/entity/data/dashboard.py +6 -1
- metadata/generated/schema/entity/data/dashboardDataModel.py +13 -1
- metadata/generated/schema/entity/data/dataContract.py +238 -2
- metadata/generated/schema/entity/data/database.py +6 -1
- metadata/generated/schema/entity/data/databaseSchema.py +8 -1
- metadata/generated/schema/entity/data/directory.py +6 -1
- metadata/generated/schema/entity/data/file.py +6 -1
- metadata/generated/schema/entity/data/glossary.py +6 -1
- metadata/generated/schema/entity/data/glossaryTerm.py +8 -12
- metadata/generated/schema/entity/data/metric.py +18 -1
- metadata/generated/schema/entity/data/mlmodel.py +6 -1
- metadata/generated/schema/entity/data/pipeline.py +136 -2
- metadata/generated/schema/entity/data/query.py +6 -1
- metadata/generated/schema/entity/data/queryCostRecord.py +1 -1
- metadata/generated/schema/entity/data/queryCostSearchResult.py +1 -1
- metadata/generated/schema/entity/data/report.py +6 -1
- metadata/generated/schema/entity/data/searchIndex.py +8 -1
- metadata/generated/schema/entity/data/spreadsheet.py +10 -4
- metadata/generated/schema/entity/data/storedProcedure.py +9 -1
- metadata/generated/schema/entity/data/table.py +102 -1
- metadata/generated/schema/entity/data/topic.py +6 -1
- metadata/generated/schema/entity/data/worksheet.py +6 -1
- metadata/generated/schema/entity/datacontract/__init__.py +1 -1
- metadata/generated/schema/entity/datacontract/dataContractResult.py +1 -1
- metadata/generated/schema/entity/datacontract/qualityValidation.py +1 -1
- metadata/generated/schema/entity/datacontract/schemaValidation.py +1 -1
- metadata/generated/schema/entity/datacontract/semanticsValidation.py +1 -1
- metadata/generated/schema/entity/datacontract/slaValidation.py +1 -1
- metadata/generated/schema/entity/docStore/__init__.py +1 -1
- metadata/generated/schema/entity/docStore/document.py +1 -1
- metadata/generated/schema/entity/domains/__init__.py +1 -1
- metadata/generated/schema/entity/domains/dataProduct.py +155 -2
- metadata/generated/schema/entity/domains/domain.py +1 -1
- 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 +1 -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 +1 -1
- 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 +1 -1
- 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 +1 -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 +1 -1
- metadata/generated/schema/entity/services/__init__.py +1 -1
- metadata/generated/schema/entity/services/apiService.py +1 -1
- 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 +1 -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 +1 -1
- metadata/generated/schema/entity/services/connections/dashboard/__init__.py +1 -1
- metadata/generated/schema/entity/services/connections/dashboard/customDashboardConnection.py +2 -2
- metadata/generated/schema/entity/services/connections/dashboard/domoDashboardConnection.py +1 -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 +1 -1
- metadata/generated/schema/entity/services/connections/dashboard/lookerConnection.py +13 -2
- metadata/generated/schema/entity/services/connections/dashboard/metabaseConnection.py +17 -4
- metadata/generated/schema/entity/services/connections/dashboard/microStrategyConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/dashboard/modeConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/dashboard/powerBIConnection.py +9 -1
- metadata/generated/schema/entity/services/connections/dashboard/powerBIReportServerConnection.py +1 -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 +1 -1
- metadata/generated/schema/entity/services/connections/dashboard/qlikSenseConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/dashboard/quickSightConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/dashboard/redashConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/dashboard/sigmaConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/dashboard/supersetConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/dashboard/tableauConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/dashboard/thoughtSpotConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/database/__init__.py +1 -1
- metadata/generated/schema/entity/services/connections/database/athenaConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/database/azureSQLConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/database/bigQueryConnection.py +9 -1
- metadata/generated/schema/entity/services/connections/database/bigTableConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/database/cassandra/__init__.py +1 -1
- metadata/generated/schema/entity/services/connections/database/cassandra/cloudConfig.py +1 -1
- metadata/generated/schema/entity/services/connections/database/cassandraConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/database/clickhouseConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/database/cockroachConnection.py +1 -1
- 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 +1 -1
- metadata/generated/schema/entity/services/connections/database/customDatabaseConnection.py +2 -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 +14 -6
- 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 +1 -1
- metadata/generated/schema/entity/services/connections/database/db2Connection.py +1 -1
- metadata/generated/schema/entity/services/connections/database/deltaLakeConnection.py +1 -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 +1 -1
- metadata/generated/schema/entity/services/connections/database/dorisConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/database/druidConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/database/dynamoDBConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/database/epicConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/database/exasolConnection.py +4 -1
- metadata/generated/schema/entity/services/connections/database/glueConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/database/greenplumConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/database/hiveConnection.py +16 -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 +1 -1
- metadata/generated/schema/entity/services/connections/database/impalaConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/database/mariaDBConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/database/mongoDBConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/database/mssqlConnection.py +26 -1
- metadata/generated/schema/entity/services/connections/database/mysqlConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/database/oracleConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/database/pinotDBConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/database/postgresConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/database/prestoConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/database/redshiftConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/database/salesforceConnection.py +25 -6
- metadata/generated/schema/entity/services/connections/database/sapErpConnection.py +1 -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 +1 -1
- metadata/generated/schema/entity/services/connections/database/sasConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/database/serviceNowConnection.py +90 -0
- metadata/generated/schema/entity/services/connections/database/singleStoreConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/database/snowflakeConnection.py +10 -2
- metadata/generated/schema/entity/services/connections/database/sqliteConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/database/ssasConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/database/synapseConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/database/teradataConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/database/timescaleConnection.py +162 -0
- metadata/generated/schema/entity/services/connections/database/trinoConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/database/unityCatalogConnection.py +14 -6
- metadata/generated/schema/entity/services/connections/database/verticaConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/drive/__init__.py +1 -1
- metadata/generated/schema/entity/services/connections/drive/customDriveConnection.py +35 -2
- metadata/generated/schema/entity/services/connections/drive/googleDriveConnection.py +34 -1
- metadata/generated/schema/entity/services/connections/drive/sharePointConnection.py +34 -1
- metadata/generated/schema/entity/services/connections/messaging/__init__.py +1 -1
- metadata/generated/schema/entity/services/connections/messaging/customMessagingConnection.py +2 -2
- metadata/generated/schema/entity/services/connections/messaging/kafkaConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/messaging/kinesisConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/messaging/pulsarConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/messaging/redpandaConnection.py +1 -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 +1 -1
- metadata/generated/schema/entity/services/connections/metadata/alationSinkConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/metadata/amundsenConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/metadata/atlasConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/metadata/collibraConnection.py +73 -0
- metadata/generated/schema/entity/services/connections/metadata/metadataESConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/metadata/openMetadataConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/mlmodel/__init__.py +1 -1
- metadata/generated/schema/entity/services/connections/mlmodel/customMlModelConnection.py +2 -2
- metadata/generated/schema/entity/services/connections/mlmodel/mlflowConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/mlmodel/sageMakerConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/mlmodel/sklearnConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/mlmodel/vertexaiConnection.py +1 -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 +16 -10
- metadata/generated/schema/entity/services/connections/pipeline/airflowConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/pipeline/backendConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/pipeline/customPipelineConnection.py +2 -2
- metadata/generated/schema/entity/services/connections/pipeline/dagsterConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/pipeline/databricksPipelineConnection.py +11 -1
- metadata/generated/schema/entity/services/connections/pipeline/datafactoryConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/pipeline/dbtCloudConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/pipeline/domoPipelineConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/pipeline/fivetranConnection.py +2 -2
- metadata/generated/schema/entity/services/connections/pipeline/flinkConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/pipeline/gluePipelineConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/pipeline/kafkaConnectConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/pipeline/kinesisFirehoseConnection.py +58 -0
- metadata/generated/schema/entity/services/connections/pipeline/matillion/__init__.py +1 -1
- metadata/generated/schema/entity/services/connections/pipeline/matillion/matillionETL.py +1 -1
- metadata/generated/schema/entity/services/connections/pipeline/matillionConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/pipeline/nifi/__init__.py +1 -1
- metadata/generated/schema/entity/services/connections/pipeline/nifi/basicAuth.py +1 -1
- metadata/generated/schema/entity/services/connections/pipeline/nifi/clientCertificateAuth.py +1 -1
- metadata/generated/schema/entity/services/connections/pipeline/nifiConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/pipeline/openLineageConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/pipeline/snowplowConnection.py +93 -0
- metadata/generated/schema/entity/services/connections/pipeline/sparkConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/pipeline/splineConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/pipeline/ssisConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/pipeline/stitchConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/pipeline/wherescapeConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/search/__init__.py +1 -1
- metadata/generated/schema/entity/services/connections/search/customSearchConnection.py +2 -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 +1 -1
- metadata/generated/schema/entity/services/connections/search/openSearchConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/security/__init__.py +1 -1
- metadata/generated/schema/entity/services/connections/security/ranger/__init__.py +1 -1
- metadata/generated/schema/entity/services/connections/security/ranger/basicAuth.py +1 -1
- metadata/generated/schema/entity/services/connections/security/rangerConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/serviceConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/storage/__init__.py +1 -1
- metadata/generated/schema/entity/services/connections/storage/adlsConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/storage/customStorageConnection.py +2 -2
- metadata/generated/schema/entity/services/connections/storage/gcsConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/storage/s3Connection.py +10 -2
- metadata/generated/schema/entity/services/connections/testConnectionDefinition.py +1 -1
- metadata/generated/schema/entity/services/connections/testConnectionResult.py +1 -1
- metadata/generated/schema/entity/services/dashboardService.py +7 -1
- metadata/generated/schema/entity/services/databaseService.py +7 -1
- metadata/generated/schema/entity/services/driveService.py +1 -1
- metadata/generated/schema/entity/services/ingestionPipelines/__init__.py +1 -1
- metadata/generated/schema/entity/services/ingestionPipelines/ingestionPipeline.py +8 -1
- metadata/generated/schema/entity/services/ingestionPipelines/pipelineServiceClientResponse.py +1 -1
- metadata/generated/schema/entity/services/ingestionPipelines/reverseIngestionResponse.py +1 -1
- metadata/generated/schema/entity/services/ingestionPipelines/status.py +1 -1
- metadata/generated/schema/entity/services/messagingService.py +1 -1
- metadata/generated/schema/entity/services/metadataService.py +4 -1
- metadata/generated/schema/entity/services/mlmodelService.py +1 -1
- metadata/generated/schema/entity/services/pipelineService.py +7 -1
- metadata/generated/schema/entity/services/searchService.py +1 -1
- metadata/generated/schema/entity/services/securityService.py +1 -1
- metadata/generated/schema/entity/services/serviceType.py +1 -1
- metadata/generated/schema/entity/services/storageService.py +1 -1
- metadata/generated/schema/entity/teams/__init__.py +1 -1
- metadata/generated/schema/entity/teams/persona.py +1 -1
- metadata/generated/schema/entity/teams/role.py +1 -1
- metadata/generated/schema/entity/teams/team.py +1 -1
- metadata/generated/schema/entity/teams/teamHierarchy.py +1 -1
- metadata/generated/schema/entity/teams/user.py +1 -1
- metadata/generated/schema/entity/type.py +1 -1
- 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 +1 -1
- 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 +16 -1
- 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 +1 -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 +1 -1
- metadata/generated/schema/governance/workflows/elements/nodeSubType.py +4 -1
- metadata/generated/schema/governance/workflows/elements/nodeType.py +1 -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 +1 -1
- metadata/generated/schema/governance/workflows/elements/nodes/automatedTask/createAndRunIngestionPipelineTask.py +1 -1
- 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 +1 -1
- metadata/generated/schema/governance/workflows/elements/nodes/automatedTask/setEntityAttributeTask.py +66 -0
- metadata/generated/schema/governance/workflows/elements/nodes/automatedTask/setEntityCertificationTask.py +1 -1
- metadata/generated/schema/governance/workflows/elements/nodes/automatedTask/setGlossaryTermStatusTask.py +11 -12
- metadata/generated/schema/governance/workflows/elements/nodes/endEvent/__init__.py +1 -1
- metadata/generated/schema/governance/workflows/elements/nodes/endEvent/endEvent.py +1 -1
- metadata/generated/schema/governance/workflows/elements/nodes/gateway/__init__.py +1 -1
- metadata/generated/schema/governance/workflows/elements/nodes/gateway/parallelGateway.py +1 -1
- metadata/generated/schema/governance/workflows/elements/nodes/startEvent/__init__.py +1 -1
- metadata/generated/schema/governance/workflows/elements/nodes/startEvent/startEvent.py +1 -1
- metadata/generated/schema/governance/workflows/elements/nodes/userTask/__init__.py +1 -1
- metadata/generated/schema/governance/workflows/elements/nodes/userTask/userApprovalTask.py +22 -1
- metadata/generated/schema/governance/workflows/elements/triggers/__init__.py +1 -1
- metadata/generated/schema/governance/workflows/elements/triggers/eventBasedEntityTrigger.py +90 -7
- metadata/generated/schema/governance/workflows/elements/triggers/noOpTrigger.py +1 -1
- metadata/generated/schema/governance/workflows/elements/triggers/periodicBatchEntityTrigger.py +80 -7
- metadata/generated/schema/governance/workflows/workflowDefinition.py +1 -1
- metadata/generated/schema/governance/workflows/workflowInstance.py +1 -1
- metadata/generated/schema/governance/workflows/workflowInstanceState.py +1 -1
- metadata/generated/schema/jobs/__init__.py +1 -1
- metadata/generated/schema/jobs/backgroundJob.py +1 -1
- 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 +1 -1
- metadata/generated/schema/metadataIngestion/dataInsightPipeline.py +1 -1
- metadata/generated/schema/metadataIngestion/databaseServiceAutoClassificationPipeline.py +1 -1
- metadata/generated/schema/metadataIngestion/databaseServiceMetadataPipeline.py +1 -1
- metadata/generated/schema/metadataIngestion/databaseServiceProfilerPipeline.py +1 -1
- metadata/generated/schema/metadataIngestion/databaseServiceQueryLineagePipeline.py +1 -1
- metadata/generated/schema/metadataIngestion/databaseServiceQueryUsagePipeline.py +1 -1
- metadata/generated/schema/metadataIngestion/dbtPipeline.py +1 -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 +1 -1
- metadata/generated/schema/metadataIngestion/engine/__init__.py +1 -1
- metadata/generated/schema/metadataIngestion/engine/nativeEngineConfig.py +1 -1
- metadata/generated/schema/metadataIngestion/engine/sparkEngineConfig.py +1 -1
- 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 +1 -1
- metadata/generated/schema/metadataIngestion/reverseingestionconfig/__init__.py +1 -1
- metadata/generated/schema/metadataIngestion/reverseingestionconfig/descriptionConfig.py +1 -1
- metadata/generated/schema/metadataIngestion/reverseingestionconfig/ownerConfig.py +1 -1
- metadata/generated/schema/metadataIngestion/reverseingestionconfig/tagsConfig.py +1 -1
- metadata/generated/schema/metadataIngestion/searchServiceMetadataPipeline.py +1 -1
- metadata/generated/schema/metadataIngestion/securityServiceMetadataPipeline.py +1 -1
- 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 +8 -1
- metadata/generated/schema/monitoring/__init__.py +1 -1
- metadata/generated/schema/monitoring/eventMonitorProvider.py +1 -1
- metadata/generated/schema/scim/__init__.py +1 -1
- metadata/generated/schema/scim/scimConfiguration.py +1 -1
- metadata/generated/schema/search/__init__.py +1 -1
- metadata/generated/schema/search/aggregationRequest.py +1 -1
- metadata/generated/schema/search/searchRequest.py +8 -1
- 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 +6 -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 +1 -1
- metadata/generated/schema/security/credentials/gcpExternalAccount.py +1 -1
- 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 +1 -1
- 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 +1 -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 +5 -2
- metadata/generated/schema/system/__init__.py +1 -1
- metadata/generated/schema/system/entityError.py +1 -1
- metadata/generated/schema/system/eventPublisherJob.py +1 -1
- metadata/generated/schema/system/indexingError.py +1 -1
- 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 +1 -1
- metadata/generated/schema/system/ui/page.py +8 -1
- metadata/generated/schema/system/ui/tab.py +1 -1
- metadata/generated/schema/system/ui/uiCustomization.py +1 -1
- 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 +20 -20
- 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 +26 -2
- metadata/generated/schema/tests/testCaseResolutionStatus.py +1 -1
- metadata/generated/schema/tests/testDefinition.py +1 -1
- metadata/generated/schema/tests/testSuite.py +12 -1
- 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 +9 -1
- metadata/generated/schema/type/bulkOperationResult.py +1 -1
- metadata/generated/schema/type/changeEvent.py +1 -1
- metadata/generated/schema/type/changeEventType.py +1 -1
- metadata/generated/schema/type/changeSummaryMap.py +1 -1
- metadata/generated/schema/type/collectionDescriptor.py +1 -1
- metadata/generated/schema/type/contextRecognizer.py +50 -0
- metadata/generated/schema/type/contractExecutionStatus.py +1 -1
- 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 +1 -1
- metadata/generated/schema/type/entityHistory.py +1 -1
- metadata/generated/schema/type/entityLineage.py +1 -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/__init__.py +1 -1
- metadata/generated/schema/type/entityRelationship/nodeInformation.py +1 -1
- metadata/generated/schema/type/entityUsage.py +1 -1
- metadata/generated/schema/type/filterPattern.py +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -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 +1 -1
- metadata/generated/schema/type/tableUsageCount.py +1 -1
- metadata/generated/schema/type/tagLabel.py +8 -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/action1xx.py +2 -1
- metadata/ingestion/api/status.py +6 -1
- metadata/ingestion/api/step.py +3 -1
- metadata/ingestion/bulksink/metadata_usage.py +19 -2
- metadata/ingestion/connections/builders.py +5 -1
- metadata/ingestion/lineage/masker.py +5 -0
- metadata/ingestion/lineage/models.py +4 -0
- metadata/ingestion/lineage/parser.py +56 -4
- metadata/ingestion/lineage/sql_lineage.py +243 -103
- metadata/ingestion/models/custom_basemodel_validation.py +169 -43
- metadata/ingestion/models/custom_pydantic.py +6 -19
- metadata/ingestion/models/patch_request.py +2 -0
- metadata/ingestion/ometa/client.py +2 -2
- metadata/ingestion/ometa/mixins/csv_mixin.py +180 -0
- metadata/ingestion/ometa/mixins/domain_mixin.py +48 -0
- metadata/ingestion/ometa/mixins/es_mixin.py +7 -1
- metadata/ingestion/ometa/mixins/ingestion_pipeline_mixin.py +26 -0
- metadata/ingestion/ometa/mixins/lineage_mixin.py +1 -1
- metadata/ingestion/ometa/mixins/logs_mixin.py +316 -0
- metadata/ingestion/ometa/mixins/patch_mixin.py +23 -9
- metadata/ingestion/ometa/mixins/profile_mixin.py +77 -0
- metadata/ingestion/ometa/mixins/tag_glossary_mixin.py +68 -0
- metadata/ingestion/ometa/mixins/tests_mixin.py +1 -1
- metadata/ingestion/ometa/mixins/user_mixin.py +57 -16
- metadata/ingestion/ometa/ometa_api.py +24 -1
- metadata/ingestion/ometa/routes.py +5 -0
- metadata/ingestion/source/api/rest/connection.py +12 -6
- metadata/ingestion/source/api/rest/metadata.py +227 -37
- metadata/ingestion/source/api/rest/parser.py +103 -0
- metadata/ingestion/source/dashboard/domodashboard/metadata.py +19 -9
- 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/looker/bulk_parser.py +31 -14
- metadata/ingestion/source/dashboard/looker/metadata.py +131 -32
- metadata/ingestion/source/dashboard/looker/models.py +3 -0
- metadata/ingestion/source/dashboard/looker/utils.py +18 -3
- metadata/ingestion/source/dashboard/metabase/client.py +33 -11
- metadata/ingestion/source/dashboard/metabase/metadata.py +4 -0
- metadata/ingestion/source/dashboard/metabase/models.py +49 -1
- metadata/ingestion/source/dashboard/microstrategy/metadata.py +1 -1
- metadata/ingestion/source/dashboard/powerbi/client.py +18 -1
- metadata/ingestion/source/dashboard/powerbi/databricks_parser.py +108 -0
- metadata/ingestion/source/dashboard/powerbi/metadata.py +412 -100
- metadata/ingestion/source/dashboard/powerbi/models.py +20 -1
- metadata/ingestion/source/dashboard/redash/metadata.py +4 -0
- metadata/ingestion/source/dashboard/sigma/metadata.py +4 -0
- metadata/ingestion/source/dashboard/superset/api_source.py +2 -0
- metadata/ingestion/source/dashboard/superset/db_source.py +2 -0
- metadata/ingestion/source/dashboard/superset/mixin.py +2 -0
- metadata/ingestion/source/dashboard/tableau/client.py +29 -14
- metadata/ingestion/source/dashboard/tableau/metadata.py +7 -1
- metadata/ingestion/source/database/athena/utils.py +1 -1
- metadata/ingestion/source/database/bigquery/connection.py +33 -13
- metadata/ingestion/source/database/bigquery/lineage.py +5 -10
- metadata/ingestion/source/database/bigquery/metadata.py +39 -34
- metadata/ingestion/source/database/bigquery/queries.py +6 -1
- metadata/ingestion/source/database/column_type_parser.py +1 -1
- metadata/ingestion/source/database/common/data_diff/databricks_base.py +42 -0
- metadata/ingestion/source/database/common_pg_mappings.py +7 -0
- metadata/ingestion/source/database/databricks/auth.py +99 -0
- metadata/ingestion/source/database/databricks/client.py +201 -51
- metadata/ingestion/source/database/databricks/connection.py +99 -13
- 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/queries.py +86 -16
- metadata/ingestion/source/database/databricks/service_spec.py +4 -0
- metadata/ingestion/source/database/dbt/constants.py +0 -1
- metadata/ingestion/source/database/dbt/metadata.py +47 -21
- metadata/ingestion/source/database/dbt/models.py +1 -0
- metadata/ingestion/source/database/exasol/connection.py +6 -0
- 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 +22 -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/glue/metadata.py +2 -2
- metadata/ingestion/source/database/hive/connection.py +41 -2
- metadata/ingestion/source/database/hive/custom_hive_connection.py +195 -0
- metadata/ingestion/source/database/iceberg/metadata.py +44 -1
- metadata/ingestion/source/database/iceberg/models.py +22 -13
- metadata/ingestion/source/database/lineage_processors.py +386 -0
- metadata/ingestion/source/database/lineage_source.py +314 -248
- metadata/ingestion/source/database/mariadb/metadata.py +86 -1
- metadata/ingestion/source/database/mariadb/models.py +36 -0
- metadata/ingestion/source/database/mariadb/queries.py +43 -0
- metadata/ingestion/source/database/mssql/lineage.py +3 -27
- metadata/ingestion/source/database/oracle/connection.py +158 -114
- metadata/ingestion/source/database/oracle/lineage.py +3 -10
- metadata/ingestion/source/database/oracle/queries.py +43 -6
- metadata/ingestion/source/database/oracle/service_spec.py +2 -0
- metadata/ingestion/source/database/postgres/connection.py +6 -0
- metadata/ingestion/source/database/postgres/queries.py +22 -0
- metadata/ingestion/source/database/redshift/lineage.py +4 -10
- metadata/ingestion/source/database/redshift/utils.py +2 -1
- metadata/ingestion/source/database/salesforce/connection.py +14 -6
- metadata/ingestion/source/database/salesforce/metadata.py +14 -16
- metadata/ingestion/source/database/sample_data.py +24 -8
- metadata/ingestion/source/database/saphana/cdata_parser.py +327 -117
- metadata/ingestion/source/database/saphana/lineage.py +15 -2
- metadata/ingestion/source/database/saphana/queries.py +7 -0
- metadata/ingestion/source/database/snowflake/connection.py +7 -0
- metadata/ingestion/source/database/snowflake/constants.py +21 -0
- metadata/ingestion/source/database/snowflake/lineage.py +48 -30
- metadata/ingestion/source/database/snowflake/metadata.py +176 -22
- metadata/ingestion/source/database/snowflake/queries.py +15 -1
- metadata/ingestion/source/database/snowflake/query_parser.py +12 -2
- metadata/ingestion/source/database/snowflake/usage.py +97 -0
- metadata/ingestion/source/database/sql_column_handler.py +11 -3
- metadata/ingestion/source/database/stored_procedures_mixin.py +66 -221
- 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/metadata.py +43 -4
- metadata/ingestion/source/database/trino/queries.py +4 -0
- metadata/ingestion/source/database/unitycatalog/client.py +35 -1
- metadata/ingestion/source/database/unitycatalog/connection.py +43 -12
- 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 +213 -24
- metadata/ingestion/source/database/unitycatalog/metadata.py +5 -4
- metadata/ingestion/source/database/unitycatalog/models.py +18 -2
- metadata/ingestion/source/database/unitycatalog/service_spec.py +4 -0
- metadata/ingestion/source/messaging/kafka/connection.py +13 -4
- metadata/ingestion/source/metadata/amundsen/client.py +6 -6
- metadata/ingestion/source/mlmodel/mlmodel_service.py +75 -1
- metadata/ingestion/source/pipeline/airbyte/client.py +142 -4
- metadata/ingestion/source/pipeline/airbyte/connection.py +18 -5
- metadata/ingestion/source/pipeline/airbyte/metadata.py +102 -2
- metadata/ingestion/source/pipeline/airflow/connection.py +8 -6
- metadata/ingestion/source/pipeline/airflow/metadata.py +5 -1
- metadata/ingestion/source/pipeline/databrickspipeline/connection.py +1 -0
- metadata/ingestion/source/pipeline/databrickspipeline/kafka_parser.py +603 -0
- metadata/ingestion/source/pipeline/databrickspipeline/metadata.py +1019 -90
- metadata/ingestion/source/pipeline/databrickspipeline/models.py +19 -3
- metadata/ingestion/source/pipeline/dbtcloud/client.py +85 -76
- metadata/ingestion/source/pipeline/dbtcloud/metadata.py +135 -84
- metadata/ingestion/source/pipeline/dbtcloud/models.py +4 -0
- metadata/ingestion/source/pipeline/dbtcloud/queries.py +7 -11
- metadata/ingestion/source/pipeline/fivetran/client.py +7 -3
- metadata/ingestion/source/pipeline/fivetran/metadata.py +122 -90
- metadata/ingestion/source/pipeline/kafkaconnect/client.py +388 -107
- metadata/ingestion/source/pipeline/kafkaconnect/metadata.py +1678 -72
- metadata/ingestion/source/pipeline/kafkaconnect/models.py +51 -14
- metadata/ingestion/source/pipeline/nifi/metadata.py +62 -5
- metadata/ingestion/source/pipeline/openlineage/metadata.py +6 -2
- metadata/ingestion/source/search/elasticsearch/connection.py +1 -1
- metadata/ingestion/source/storage/gcs/connection.py +15 -5
- metadata/ingestion/source/storage/gcs/metadata.py +285 -26
- metadata/ingestion/source/storage/gcs/models.py +12 -6
- metadata/ingestion/source/storage/s3/metadata.py +46 -11
- metadata/ingestion/source/storage/storage_service.py +2 -0
- metadata/parsers/json_schema_parser.py +41 -1
- metadata/pii/algorithms/classifiers.py +63 -1
- metadata/pii/algorithms/feature_extraction.py +13 -2
- metadata/pii/algorithms/patterns.py +171 -0
- metadata/pii/algorithms/preprocessing.py +19 -13
- metadata/pii/algorithms/presidio_recognizer_factory.py +302 -0
- metadata/pii/algorithms/presidio_utils.py +205 -24
- metadata/pii/algorithms/utils.py +4 -0
- metadata/pii/base_processor.py +2 -1
- metadata/pii/processor.py +8 -5
- metadata/pii/processor_factory.py +28 -0
- metadata/pii/scanners/custom_ner_scanner.py +290 -0
- metadata/pii/tag_analyzer.py +124 -0
- metadata/pii/tag_processor.py +100 -0
- metadata/profiler/interface/sqlalchemy/bigquery/profiler_interface.py +17 -0
- metadata/profiler/interface/sqlalchemy/databricks/profiler_interface.py +24 -0
- metadata/profiler/interface/sqlalchemy/unity_catalog/profiler_interface.py +16 -2
- metadata/profiler/metrics/hybrid/cardinality_distribution.py +232 -0
- metadata/profiler/metrics/hybrid/histogram.py +1 -1
- metadata/profiler/metrics/registry.py +4 -0
- metadata/profiler/metrics/system/bigquery/system.py +4 -1
- metadata/profiler/metrics/system/databricks/system.py +1 -1
- metadata/profiler/orm/converter/converter_registry.py +2 -0
- metadata/profiler/orm/converter/trino/__init__.py +14 -0
- metadata/profiler/orm/converter/trino/converter.py +39 -0
- metadata/profiler/orm/functions/conn_test.py +5 -0
- metadata/profiler/orm/functions/table_metric_computer.py +5 -18
- metadata/profiler/orm/registry.py +7 -0
- metadata/profiler/orm/types/__init__.py +10 -0
- metadata/profiler/orm/types/trino.py +70 -0
- metadata/profiler/processor/core.py +1 -1
- metadata/profiler/processor/default.py +1 -0
- metadata/readers/dataframe/mf4.py +75 -0
- metadata/readers/dataframe/reader_factory.py +3 -0
- metadata/sampler/sqlalchemy/bigquery/sampler.py +17 -0
- metadata/sampler/sqlalchemy/databricks/sampler.py +13 -1
- metadata/sampler/sqlalchemy/unitycatalog/sampler.py +6 -39
- 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/utils/bigquery_utils.py +7 -4
- metadata/utils/datalake/datalake_utils.py +121 -0
- metadata/utils/db_utils.py +20 -6
- metadata/utils/deprecation.py +9 -6
- metadata/utils/dispatch.py +6 -3
- metadata/utils/elasticsearch.py +3 -0
- metadata/utils/fqn.py +104 -7
- metadata/utils/helpers.py +18 -1
- metadata/utils/importer.py +3 -2
- metadata/utils/logger.py +12 -0
- metadata/utils/sqa_utils.py +3 -0
- metadata/utils/ssl_manager.py +93 -5
- metadata/utils/streamable_logger.py +569 -0
- metadata/workflow/base.py +49 -2
- metadata/workflow/classification.py +2 -2
- metadata/workflow/workflow_resource_metrics.py +111 -0
- metadata/workflow/workflow_status_mixin.py +1 -1
- {openmetadata_ingestion-1.9.0.0.dist-info → openmetadata_ingestion-1.10.14.4.dist-info}/METADATA +559 -540
- {openmetadata_ingestion-1.9.0.0.dist-info → openmetadata_ingestion-1.10.14.4.dist-info}/RECORD +1115 -950
- {openmetadata_ingestion-1.9.0.0.dist-info → openmetadata_ingestion-1.10.14.4.dist-info}/LICENSE +0 -0
- {openmetadata_ingestion-1.9.0.0.dist-info → openmetadata_ingestion-1.10.14.4.dist-info}/WHEEL +0 -0
- {openmetadata_ingestion-1.9.0.0.dist-info → openmetadata_ingestion-1.10.14.4.dist-info}/entry_points.txt +0 -0
- {openmetadata_ingestion-1.9.0.0.dist-info → openmetadata_ingestion-1.10.14.4.dist-info}/top_level.txt +0 -0
|
@@ -76,16 +76,18 @@ class OpenMetadataLineageBackend(LineageBackend):
|
|
|
76
76
|
"timeout": config.timeout,
|
|
77
77
|
"retry": config.retry,
|
|
78
78
|
"retry_wait": config.retry_wait,
|
|
79
|
+
"retry_codes": config.retry_codes,
|
|
79
80
|
}.items()
|
|
80
81
|
if value
|
|
81
82
|
}
|
|
82
83
|
|
|
83
84
|
if additional_client_config_arguments:
|
|
84
85
|
dag.log.info(
|
|
85
|
-
f"Using custom timeout={config.timeout}, retry={config.retry}, retry_wait={config.retry_wait}"
|
|
86
|
+
f"Using custom timeout={config.timeout}, retry={config.retry}, retry_wait={config.retry_wait}, retry_codes={config.retry_codes}"
|
|
86
87
|
)
|
|
87
88
|
metadata = OpenMetadata(
|
|
88
|
-
config.metadata_config,
|
|
89
|
+
config.metadata_config,
|
|
90
|
+
additional_client_config_arguments=additional_client_config_arguments,
|
|
89
91
|
)
|
|
90
92
|
|
|
91
93
|
runner = AirflowLineageRunner(
|
|
@@ -14,7 +14,7 @@ OpenMetadata Airflow Lineage Backend
|
|
|
14
14
|
"""
|
|
15
15
|
import json
|
|
16
16
|
import os
|
|
17
|
-
from typing import Optional
|
|
17
|
+
from typing import List, Optional
|
|
18
18
|
|
|
19
19
|
from airflow.configuration import AirflowConfigParser
|
|
20
20
|
from pydantic import BaseModel
|
|
@@ -37,6 +37,7 @@ class AirflowLineageConfig(BaseModel):
|
|
|
37
37
|
timeout: Optional[int] = None
|
|
38
38
|
retry: Optional[int] = None
|
|
39
39
|
retry_wait: Optional[int] = None
|
|
40
|
+
retry_codes: Optional[List[int]] = None
|
|
40
41
|
|
|
41
42
|
|
|
42
43
|
def parse_airflow_config(
|
|
@@ -58,6 +59,12 @@ def parse_airflow_config(
|
|
|
58
59
|
timeout=int(conf.get(LINEAGE, "timeout", fallback=0)) or None,
|
|
59
60
|
retry=int(conf.get(LINEAGE, "retry", fallback=0)) or None,
|
|
60
61
|
retry_wait=int(conf.get(LINEAGE, "retry_wait", fallback=0)) or None,
|
|
62
|
+
retry_codes=[
|
|
63
|
+
int(code)
|
|
64
|
+
for code in (conf.get(LINEAGE, "retry_codes", fallback="") or "").split(",")
|
|
65
|
+
if code.strip()
|
|
66
|
+
]
|
|
67
|
+
or None, # input e.g. 503,504
|
|
61
68
|
metadata_config=OpenMetadataConnection(
|
|
62
69
|
hostPort=conf.get(
|
|
63
70
|
LINEAGE,
|
metadata/cli/common.py
CHANGED
|
@@ -20,7 +20,6 @@ from metadata.workflow.base import BaseWorkflow
|
|
|
20
20
|
def execute_workflow(workflow: BaseWorkflow, config_dict: Dict[str, Any]) -> None:
|
|
21
21
|
"""Execute the workflow and raise if needed"""
|
|
22
22
|
workflow.execute()
|
|
23
|
-
workflow.print_status()
|
|
24
23
|
workflow.stop()
|
|
25
24
|
if config_dict.get("workflowConfig", {}).get("raiseOnError", True):
|
|
26
25
|
workflow.raise_from_status()
|
metadata/clients/aws_client.py
CHANGED
|
@@ -36,6 +36,7 @@ class AWSServices(Enum):
|
|
|
36
36
|
GLUE = "glue"
|
|
37
37
|
SAGEMAKER = "sagemaker"
|
|
38
38
|
KINESIS = "kinesis"
|
|
39
|
+
FIREHOSE = "firehose"
|
|
39
40
|
QUICKSIGHT = "quicksight"
|
|
40
41
|
ATHENA = "athena"
|
|
41
42
|
RDS = "rds"
|
|
@@ -233,6 +234,9 @@ class AWSClient:
|
|
|
233
234
|
def get_kinesis_client(self):
|
|
234
235
|
return self.get_client(AWSServices.KINESIS.value)
|
|
235
236
|
|
|
237
|
+
def get_firehose_client(self):
|
|
238
|
+
return self.get_client(AWSServices.FIREHOSE.value)
|
|
239
|
+
|
|
236
240
|
def get_quicksight_client(self):
|
|
237
241
|
return self.get_client(AWSServices.QUICKSIGHT.value)
|
|
238
242
|
|
|
@@ -27,7 +27,7 @@ from metadata.data_quality.validations.runtime_param_setter.param_setter_factory
|
|
|
27
27
|
)
|
|
28
28
|
from metadata.generated.schema.entity.data.table import Table
|
|
29
29
|
from metadata.generated.schema.entity.services.databaseService import DatabaseConnection
|
|
30
|
-
from metadata.generated.schema.tests.basic import TestCaseResult
|
|
30
|
+
from metadata.generated.schema.tests.basic import TestCaseResult, TestCaseStatus
|
|
31
31
|
from metadata.generated.schema.tests.testCase import TestCase
|
|
32
32
|
from metadata.generated.schema.tests.testDefinition import TestDefinition
|
|
33
33
|
from metadata.ingestion.ometa.ometa_api import OpenMetadata
|
|
@@ -134,10 +134,16 @@ class TestSuiteInterface(ABC):
|
|
|
134
134
|
try:
|
|
135
135
|
return validator.run_validation()
|
|
136
136
|
except Exception as err:
|
|
137
|
-
|
|
137
|
+
message = (
|
|
138
138
|
f"Error executing {test_case.testDefinition.fullyQualifiedName} - {err}"
|
|
139
139
|
)
|
|
140
|
-
|
|
140
|
+
logger.exception(message)
|
|
141
|
+
return validator.get_test_case_result_object(
|
|
142
|
+
validator.execution_date,
|
|
143
|
+
TestCaseStatus.Aborted,
|
|
144
|
+
message,
|
|
145
|
+
[],
|
|
146
|
+
)
|
|
141
147
|
|
|
142
148
|
def _get_table_config(self):
|
|
143
149
|
"""Get the sampling configuration for the data quality tests"""
|
|
@@ -4,8 +4,13 @@ from typing import List, Optional, Union
|
|
|
4
4
|
|
|
5
5
|
from pydantic import BaseModel
|
|
6
6
|
|
|
7
|
-
from metadata.generated.schema.entity.data.table import
|
|
7
|
+
from metadata.generated.schema.entity.data.table import (
|
|
8
|
+
Column,
|
|
9
|
+
Table,
|
|
10
|
+
TableProfilerConfig,
|
|
11
|
+
)
|
|
8
12
|
from metadata.generated.schema.entity.services.databaseService import (
|
|
13
|
+
DatabaseConnection,
|
|
9
14
|
DatabaseServiceType,
|
|
10
15
|
)
|
|
11
16
|
from metadata.ingestion.models.custom_pydantic import CustomSecretStr
|
|
@@ -27,3 +32,8 @@ class TableDiffRuntimeParameters(BaseModel):
|
|
|
27
32
|
extraColumns: List[str]
|
|
28
33
|
whereClause: Optional[str]
|
|
29
34
|
table_profile_config: Optional[TableProfilerConfig]
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
class TableCustomSQLQueryRuntimeParameters(BaseModel):
|
|
38
|
+
conn_config: DatabaseConnection
|
|
39
|
+
entity: Table
|
|
@@ -3,16 +3,24 @@
|
|
|
3
3
|
from typing import List, Optional, Set, Type, Union
|
|
4
4
|
from urllib.parse import urlparse
|
|
5
5
|
|
|
6
|
+
from sqlalchemy.engine import make_url
|
|
7
|
+
|
|
6
8
|
from metadata.data_quality.validations.models import Column, TableParameter
|
|
7
9
|
from metadata.generated.schema.entity.data.table import Table
|
|
8
|
-
from metadata.generated.schema.entity.services.databaseService import
|
|
10
|
+
from metadata.generated.schema.entity.services.databaseService import (
|
|
11
|
+
DatabaseService,
|
|
12
|
+
DatabaseServiceType,
|
|
13
|
+
)
|
|
9
14
|
from metadata.generated.schema.entity.services.serviceType import ServiceType
|
|
10
15
|
from metadata.ingestion.connections.connection import BaseConnection
|
|
11
16
|
from metadata.ingestion.source.connections import get_connection
|
|
12
|
-
from metadata.profiler.orm.registry import Dialects
|
|
17
|
+
from metadata.profiler.orm.registry import Dialects, PythonDialects
|
|
13
18
|
from metadata.utils import fqn
|
|
14
19
|
from metadata.utils.collections import CaseInsensitiveList
|
|
15
20
|
from metadata.utils.importer import get_module_dir, import_from_module
|
|
21
|
+
from metadata.utils.logger import test_suite_logger
|
|
22
|
+
|
|
23
|
+
logger = test_suite_logger()
|
|
16
24
|
|
|
17
25
|
|
|
18
26
|
# TODO: Refactor to avoid the circular import that makes us unable to use the BaseSpec class and the helper methods.
|
|
@@ -68,7 +76,9 @@ class BaseTableParameter:
|
|
|
68
76
|
"""
|
|
69
77
|
return TableParameter(
|
|
70
78
|
database_service_type=service.serviceType,
|
|
71
|
-
path=self.get_data_diff_table_path(
|
|
79
|
+
path=self.get_data_diff_table_path(
|
|
80
|
+
entity.fullyQualifiedName.root, service.serviceType
|
|
81
|
+
),
|
|
72
82
|
serviceUrl=self.get_data_diff_url(
|
|
73
83
|
service,
|
|
74
84
|
entity.fullyQualifiedName.root,
|
|
@@ -85,7 +95,9 @@ class BaseTableParameter:
|
|
|
85
95
|
)
|
|
86
96
|
|
|
87
97
|
@staticmethod
|
|
88
|
-
def get_data_diff_table_path(
|
|
98
|
+
def get_data_diff_table_path(
|
|
99
|
+
table_fqn: str, service_type: DatabaseServiceType
|
|
100
|
+
) -> str:
|
|
89
101
|
"""Get the data diff table path.
|
|
90
102
|
|
|
91
103
|
Args:
|
|
@@ -95,17 +107,32 @@ class BaseTableParameter:
|
|
|
95
107
|
str
|
|
96
108
|
"""
|
|
97
109
|
_, _, schema, table = fqn.split(table_fqn)
|
|
110
|
+
try:
|
|
111
|
+
dialect = PythonDialects[service_type.name].value
|
|
112
|
+
if dialect in (Dialects.Oracle):
|
|
113
|
+
url = make_url(f"{dialect}://")
|
|
114
|
+
dialect_instance = url.get_dialect()()
|
|
115
|
+
table = dialect_instance.denormalize_name(name=table)
|
|
116
|
+
schema = dialect_instance.denormalize_name(name=schema)
|
|
117
|
+
except Exception as e:
|
|
118
|
+
logger.debug(
|
|
119
|
+
f"[Data Diff]: Error denormalizing table and schema names. Skipping denormalization\n{e}"
|
|
120
|
+
)
|
|
98
121
|
return fqn._build( # pylint: disable=protected-access
|
|
99
122
|
"___SERVICE___", "__DATABASE__", schema, table
|
|
100
123
|
).replace("___SERVICE___.__DATABASE__.", "")
|
|
101
124
|
|
|
102
|
-
@
|
|
125
|
+
@classmethod
|
|
103
126
|
def _get_service_connection_config(
|
|
127
|
+
cls,
|
|
104
128
|
service_connection_config,
|
|
105
129
|
) -> Optional[Union[str, dict]]:
|
|
106
130
|
"""
|
|
107
131
|
Get the connection dictionary for the service.
|
|
108
132
|
"""
|
|
133
|
+
if not service_connection_config:
|
|
134
|
+
return None
|
|
135
|
+
|
|
109
136
|
service_spec_patch = ServiceSpecPatch(
|
|
110
137
|
ServiceType.Database, service_connection_config.type.value.lower()
|
|
111
138
|
)
|
|
@@ -127,8 +154,8 @@ class BaseTableParameter:
|
|
|
127
154
|
else None
|
|
128
155
|
)
|
|
129
156
|
|
|
130
|
-
@staticmethod
|
|
131
157
|
def get_data_diff_url(
|
|
158
|
+
self,
|
|
132
159
|
db_service: DatabaseService,
|
|
133
160
|
table_fqn,
|
|
134
161
|
override_url: Optional[Union[str, dict]] = None,
|
|
@@ -144,9 +171,7 @@ class BaseTableParameter:
|
|
|
144
171
|
str: The url for the data diff service
|
|
145
172
|
"""
|
|
146
173
|
source_url = (
|
|
147
|
-
|
|
148
|
-
db_service.connection.config
|
|
149
|
-
)
|
|
174
|
+
self._get_service_connection_config(db_service.connection.config)
|
|
150
175
|
if not override_url
|
|
151
176
|
else override_url
|
|
152
177
|
)
|
|
@@ -157,12 +182,13 @@ class BaseTableParameter:
|
|
|
157
182
|
url = urlparse(source_url)
|
|
158
183
|
# remove the driver name from the url because table-diff doesn't support it
|
|
159
184
|
kwargs = {"scheme": url.scheme.split("+")[0]}
|
|
160
|
-
|
|
161
|
-
table_fqn
|
|
162
|
-
)
|
|
185
|
+
_, database, schema, _ = fqn.split(table_fqn) # pylint: disable=unused-variable
|
|
163
186
|
# path needs to include the database AND schema in some of the connectors
|
|
164
187
|
if hasattr(db_service.connection.config, "supportsDatabase"):
|
|
165
|
-
kwargs["
|
|
188
|
+
if kwargs["scheme"] in {Dialects.UnityCatalog, Dialects.Databricks}:
|
|
189
|
+
kwargs["query"] = f"catalog={database}"
|
|
190
|
+
else:
|
|
191
|
+
kwargs["path"] = f"/{database}"
|
|
166
192
|
if kwargs["scheme"] in {Dialects.MSSQL, Dialects.Snowflake, Dialects.Trino}:
|
|
167
193
|
kwargs["path"] = f"/{database}/{schema}"
|
|
168
194
|
return url._replace(**kwargs).geturl()
|
|
@@ -19,9 +19,15 @@ from typing import Dict, Set, Type
|
|
|
19
19
|
from metadata.data_quality.validations.runtime_param_setter.param_setter import (
|
|
20
20
|
RuntimeParameterSetter,
|
|
21
21
|
)
|
|
22
|
+
from metadata.data_quality.validations.runtime_param_setter.table_custom_sql_query_params_setter import (
|
|
23
|
+
TableCustomSQLQueryParamsSetter,
|
|
24
|
+
)
|
|
22
25
|
from metadata.data_quality.validations.runtime_param_setter.table_diff_params_setter import (
|
|
23
26
|
TableDiffParamsSetter,
|
|
24
27
|
)
|
|
28
|
+
from metadata.data_quality.validations.table.sqlalchemy.tableCustomSQLQuery import (
|
|
29
|
+
TableCustomSQLQueryValidator,
|
|
30
|
+
)
|
|
25
31
|
from metadata.data_quality.validations.table.sqlalchemy.tableDiff import (
|
|
26
32
|
TableDiffValidator,
|
|
27
33
|
)
|
|
@@ -60,6 +66,9 @@ class RuntimeParameterSetterFactory:
|
|
|
60
66
|
"""Set"""
|
|
61
67
|
self._setter_map: Dict[str, Set[Type[RuntimeParameterSetter]]] = {
|
|
62
68
|
validator_name(TableDiffValidator): {TableDiffParamsSetter},
|
|
69
|
+
validator_name(TableCustomSQLQueryValidator): {
|
|
70
|
+
TableCustomSQLQueryParamsSetter
|
|
71
|
+
},
|
|
63
72
|
}
|
|
64
73
|
|
|
65
74
|
def get_runtime_param_setters(
|
metadata/data_quality/validations/runtime_param_setter/table_custom_sql_query_params_setter.py
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# Copyright 2024 Collate
|
|
2
|
+
# Licensed under the Collate Community License, Version 1.0 (the "License");
|
|
3
|
+
# you may not use this file except in compliance with the License.
|
|
4
|
+
# You may obtain a copy of the License at
|
|
5
|
+
# https://github.com/open-metadata/OpenMetadata/blob/main/ingestion/LICENSE
|
|
6
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
7
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
8
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
9
|
+
# See the License for the specific language governing permissions and
|
|
10
|
+
# limitations under the License.
|
|
11
|
+
"""Module that defines the TableCustomSQLQueryParamsSetter class."""
|
|
12
|
+
|
|
13
|
+
from metadata.data_quality.validations.models import (
|
|
14
|
+
TableCustomSQLQueryRuntimeParameters,
|
|
15
|
+
)
|
|
16
|
+
from metadata.data_quality.validations.runtime_param_setter.param_setter import (
|
|
17
|
+
RuntimeParameterSetter,
|
|
18
|
+
)
|
|
19
|
+
from metadata.generated.schema.entity.services.databaseService import DatabaseConnection
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class TableCustomSQLQueryParamsSetter(RuntimeParameterSetter):
|
|
23
|
+
"""Set runtime parameters for a the table custom sql query test."""
|
|
24
|
+
|
|
25
|
+
def get_parameters(self, test_case) -> TableCustomSQLQueryRuntimeParameters:
|
|
26
|
+
return TableCustomSQLQueryRuntimeParameters(
|
|
27
|
+
conn_config=DatabaseConnection(
|
|
28
|
+
config=self.service_connection_config,
|
|
29
|
+
),
|
|
30
|
+
entity=self.table_entity,
|
|
31
|
+
)
|
|
@@ -15,7 +15,6 @@ from typing import List, Optional, Set
|
|
|
15
15
|
from metadata.data_quality.validations import utils
|
|
16
16
|
from metadata.data_quality.validations.models import Column, TableDiffRuntimeParameters
|
|
17
17
|
from metadata.data_quality.validations.runtime_param_setter.base_diff_params_setter import (
|
|
18
|
-
BaseTableParameter,
|
|
19
18
|
ServiceSpecPatch,
|
|
20
19
|
)
|
|
21
20
|
from metadata.data_quality.validations.runtime_param_setter.param_setter import (
|
|
@@ -49,32 +48,40 @@ class TableDiffParamsSetter(RuntimeParameterSetter):
|
|
|
49
48
|
}
|
|
50
49
|
|
|
51
50
|
def get_parameters(self, test_case) -> TableDiffRuntimeParameters:
|
|
52
|
-
service_spec_patch = ServiceSpecPatch(
|
|
53
|
-
ServiceType.Database, self.service_connection_config.type.value.lower()
|
|
54
|
-
)
|
|
55
|
-
cls = service_spec_patch.get_data_diff_class()()
|
|
56
|
-
|
|
57
51
|
service1: DatabaseService = self.ometa_client.get_by_id(
|
|
58
52
|
DatabaseService, self.table_entity.service.id, nullable=False
|
|
59
53
|
)
|
|
60
54
|
|
|
61
|
-
service1_url = BaseTableParameter._get_service_connection_config(
|
|
62
|
-
self.service_connection_config
|
|
63
|
-
)
|
|
64
|
-
|
|
65
55
|
table2_fqn = self.get_parameter(test_case, "table2")
|
|
66
56
|
if table2_fqn is None:
|
|
67
57
|
raise ValueError("table2 not set")
|
|
58
|
+
|
|
68
59
|
table2: Table = self.ometa_client.get_by_name(
|
|
69
60
|
Table, fqn=table2_fqn, nullable=False
|
|
70
61
|
)
|
|
71
62
|
service2: DatabaseService = self.ometa_client.get_by_id(
|
|
72
63
|
DatabaseService, table2.service.id, nullable=False
|
|
73
64
|
)
|
|
65
|
+
|
|
66
|
+
service_spec_patch_table_1 = ServiceSpecPatch(
|
|
67
|
+
ServiceType.Database, service1.connection.config.type.value.lower()
|
|
68
|
+
)
|
|
69
|
+
data_diff_class_1 = service_spec_patch_table_1.get_data_diff_class()()
|
|
70
|
+
service_spec_patch_table_2 = ServiceSpecPatch(
|
|
71
|
+
ServiceType.Database, service2.connection.config.type.value.lower()
|
|
72
|
+
)
|
|
73
|
+
data_diff_class_2 = service_spec_patch_table_2.get_data_diff_class()()
|
|
74
|
+
|
|
75
|
+
service1_url = data_diff_class_1._get_service_connection_config(
|
|
76
|
+
service1.connection.config
|
|
77
|
+
)
|
|
74
78
|
service2_url = (
|
|
75
79
|
self.get_parameter(test_case, "service2Url") or service1_url
|
|
76
80
|
if table2.service == self.table_entity.service
|
|
77
|
-
else
|
|
81
|
+
else data_diff_class_2._get_service_connection_config(
|
|
82
|
+
service2.connection.config
|
|
83
|
+
)
|
|
84
|
+
or None
|
|
78
85
|
)
|
|
79
86
|
|
|
80
87
|
key_columns = self.get_key_columns(test_case)
|
|
@@ -93,7 +100,7 @@ class TableDiffParamsSetter(RuntimeParameterSetter):
|
|
|
93
100
|
|
|
94
101
|
return TableDiffRuntimeParameters(
|
|
95
102
|
table_profile_config=self.table_entity.tableProfilerConfig,
|
|
96
|
-
table1=
|
|
103
|
+
table1=data_diff_class_1.get(
|
|
97
104
|
service1,
|
|
98
105
|
self.table_entity,
|
|
99
106
|
key_columns,
|
|
@@ -101,7 +108,7 @@ class TableDiffParamsSetter(RuntimeParameterSetter):
|
|
|
101
108
|
case_sensitive_columns,
|
|
102
109
|
service1_url,
|
|
103
110
|
),
|
|
104
|
-
table2=
|
|
111
|
+
table2=data_diff_class_2.get(
|
|
105
112
|
service2,
|
|
106
113
|
table2,
|
|
107
114
|
key_columns,
|
|
@@ -87,24 +87,153 @@ class BaseTableCustomSQLQueryValidator(BaseTestValidator):
|
|
|
87
87
|
[TestResultValue(name=RESULT_ROW_COUNT, value=None)],
|
|
88
88
|
)
|
|
89
89
|
len_rows = rows if isinstance(rows, int) else len(rows)
|
|
90
|
-
|
|
90
|
+
test_passed = evaluate_threshold(
|
|
91
91
|
threshold,
|
|
92
92
|
operator,
|
|
93
93
|
len_rows,
|
|
94
|
-
)
|
|
94
|
+
)
|
|
95
|
+
|
|
96
|
+
if test_passed:
|
|
95
97
|
status = TestCaseStatus.Success
|
|
96
98
|
result_value = len_rows
|
|
97
99
|
else:
|
|
98
100
|
status = TestCaseStatus.Failed
|
|
99
101
|
result_value = len_rows
|
|
100
102
|
|
|
103
|
+
if self.test_case.computePassedFailedRowCount:
|
|
104
|
+
row_count = self._get_total_row_count_if_needed()
|
|
105
|
+
passed_rows, failed_rows = self._calculate_passed_failed_rows(
|
|
106
|
+
test_passed, operator, threshold, len_rows, row_count
|
|
107
|
+
)
|
|
108
|
+
else:
|
|
109
|
+
passed_rows = None
|
|
110
|
+
failed_rows = None
|
|
111
|
+
row_count = None
|
|
112
|
+
|
|
101
113
|
return self.get_test_case_result_object(
|
|
102
114
|
self.execution_date,
|
|
103
115
|
status,
|
|
104
|
-
f"Found {result_value} row(s). Test query is expected to return {threshold} row.",
|
|
116
|
+
f"Found {result_value} row(s). Test query is expected to return {operator} {threshold} row(s).",
|
|
105
117
|
[TestResultValue(name=RESULT_ROW_COUNT, value=str(result_value))],
|
|
118
|
+
row_count=row_count,
|
|
119
|
+
failed_rows=failed_rows,
|
|
120
|
+
passed_rows=passed_rows,
|
|
106
121
|
)
|
|
107
122
|
|
|
108
123
|
@abstractmethod
|
|
109
124
|
def _run_results(self, sql_expression: str, strategy: Strategy = Strategy.ROWS):
|
|
110
125
|
raise NotImplementedError
|
|
126
|
+
|
|
127
|
+
@abstractmethod
|
|
128
|
+
def compute_row_count(self):
|
|
129
|
+
"""Compute row count for the given column
|
|
130
|
+
|
|
131
|
+
Raises:
|
|
132
|
+
NotImplementedError:
|
|
133
|
+
"""
|
|
134
|
+
raise NotImplementedError
|
|
135
|
+
|
|
136
|
+
def get_row_count(self) -> int:
|
|
137
|
+
"""Get row count
|
|
138
|
+
|
|
139
|
+
Returns:
|
|
140
|
+
Tuple[int, int]:
|
|
141
|
+
"""
|
|
142
|
+
return self.compute_row_count()
|
|
143
|
+
|
|
144
|
+
def _get_total_row_count_if_needed(self) -> int:
|
|
145
|
+
"""Get total row count if computePassedFailedRowCount is enabled"""
|
|
146
|
+
return self.get_row_count()
|
|
147
|
+
|
|
148
|
+
def _calculate_passed_failed_rows(
|
|
149
|
+
self,
|
|
150
|
+
test_passed: bool,
|
|
151
|
+
operator: str,
|
|
152
|
+
threshold: int,
|
|
153
|
+
len_rows: int,
|
|
154
|
+
row_count: int,
|
|
155
|
+
) -> tuple[int, int]:
|
|
156
|
+
"""Calculate passed and failed rows based on test result and operator
|
|
157
|
+
|
|
158
|
+
Args:
|
|
159
|
+
test_passed: Whether the test passed
|
|
160
|
+
operator: Comparison operator (>, >=, <, <=, ==)
|
|
161
|
+
threshold: Expected threshold value
|
|
162
|
+
len_rows: Number of rows returned by the test query
|
|
163
|
+
row_count: Total number of rows in the table (or None)
|
|
164
|
+
|
|
165
|
+
Returns:
|
|
166
|
+
Tuple of (passed_rows, failed_rows)
|
|
167
|
+
"""
|
|
168
|
+
if test_passed:
|
|
169
|
+
return self._calculate_passed_rows_success(operator, len_rows, row_count)
|
|
170
|
+
return self._calculate_passed_rows_failure(
|
|
171
|
+
operator, threshold, len_rows, row_count
|
|
172
|
+
)
|
|
173
|
+
|
|
174
|
+
def _calculate_passed_rows_success(
|
|
175
|
+
self, operator: str, len_rows: int, row_count: int
|
|
176
|
+
) -> tuple[int, int]:
|
|
177
|
+
"""Calculate passed/failed rows when test passed"""
|
|
178
|
+
if operator in (">", ">="):
|
|
179
|
+
passed_rows = len_rows
|
|
180
|
+
failed_rows = (row_count - len_rows) if row_count else 0
|
|
181
|
+
elif operator in ("<", "<="):
|
|
182
|
+
passed_rows = row_count - len_rows
|
|
183
|
+
failed_rows = len_rows
|
|
184
|
+
elif operator == "==":
|
|
185
|
+
passed_rows = len_rows
|
|
186
|
+
failed_rows = row_count - len_rows
|
|
187
|
+
else:
|
|
188
|
+
passed_rows = len_rows
|
|
189
|
+
failed_rows = 0
|
|
190
|
+
|
|
191
|
+
return max(0, passed_rows), max(0, failed_rows)
|
|
192
|
+
|
|
193
|
+
def _calculate_passed_rows_failure(
|
|
194
|
+
self, operator: str, threshold: int, len_rows: int, row_count: int
|
|
195
|
+
) -> tuple[int, int]:
|
|
196
|
+
"""Calculate passed/failed rows when test failed"""
|
|
197
|
+
if operator in (">", ">="):
|
|
198
|
+
return self._calculate_greater_than_failure(len_rows, row_count)
|
|
199
|
+
if operator in ("<", "<="):
|
|
200
|
+
return self._calculate_less_than_failure(len_rows, row_count)
|
|
201
|
+
if operator == "==":
|
|
202
|
+
return self._calculate_equal_failure(threshold, len_rows, row_count)
|
|
203
|
+
|
|
204
|
+
failed_rows = row_count if row_count else len_rows
|
|
205
|
+
return 0, max(0, failed_rows)
|
|
206
|
+
|
|
207
|
+
def _calculate_greater_than_failure(
|
|
208
|
+
self, len_rows: int, row_count: int
|
|
209
|
+
) -> tuple[int, int]:
|
|
210
|
+
"""Calculate rows for > or >= operator failure (expected more rows)"""
|
|
211
|
+
passed_rows = len_rows
|
|
212
|
+
failed_rows = (row_count - len_rows) if row_count else 0
|
|
213
|
+
return max(0, passed_rows), max(0, failed_rows)
|
|
214
|
+
|
|
215
|
+
def _calculate_less_than_failure(
|
|
216
|
+
self, len_rows: int, row_count: int
|
|
217
|
+
) -> tuple[int, int]:
|
|
218
|
+
"""Calculate rows for < or <= operator failure (expected fewer rows)"""
|
|
219
|
+
failed_rows = len_rows
|
|
220
|
+
passed_rows = row_count - failed_rows
|
|
221
|
+
|
|
222
|
+
return max(0, passed_rows), max(0, failed_rows)
|
|
223
|
+
|
|
224
|
+
def _calculate_equal_failure(
|
|
225
|
+
self, threshold: int, len_rows: int, row_count: int
|
|
226
|
+
) -> tuple[int, int]:
|
|
227
|
+
"""Calculate rows for == operator failure (expected exact count)"""
|
|
228
|
+
if row_count:
|
|
229
|
+
if len_rows > threshold:
|
|
230
|
+
failed_rows = len_rows - threshold
|
|
231
|
+
passed_rows = row_count - failed_rows
|
|
232
|
+
else:
|
|
233
|
+
failed_rows = row_count - len_rows
|
|
234
|
+
passed_rows = len_rows
|
|
235
|
+
else:
|
|
236
|
+
failed_rows = abs(len_rows - threshold)
|
|
237
|
+
passed_rows = 0
|
|
238
|
+
|
|
239
|
+
return max(0, passed_rows), max(0, failed_rows)
|
|
@@ -13,6 +13,8 @@
|
|
|
13
13
|
Validator for table custom SQL Query test case
|
|
14
14
|
"""
|
|
15
15
|
|
|
16
|
+
from typing import List, Optional
|
|
17
|
+
|
|
16
18
|
from metadata.data_quality.validations.mixins.pandas_validator_mixin import (
|
|
17
19
|
PandasValidatorMixin,
|
|
18
20
|
)
|
|
@@ -39,3 +41,39 @@ class TableCustomSQLQueryValidator(
|
|
|
39
41
|
if len(runner.query(sql_expression))
|
|
40
42
|
]
|
|
41
43
|
)
|
|
44
|
+
|
|
45
|
+
def compute_row_count(self) -> Optional[int]:
|
|
46
|
+
"""Compute row count for the given column
|
|
47
|
+
|
|
48
|
+
Returns:
|
|
49
|
+
Optional[int]: Total number of rows across all dataframes
|
|
50
|
+
"""
|
|
51
|
+
runner: List["DataFrame"] = self.runner # type: ignore
|
|
52
|
+
|
|
53
|
+
if not runner:
|
|
54
|
+
return None
|
|
55
|
+
|
|
56
|
+
total_rows = 0
|
|
57
|
+
partition_expression = next(
|
|
58
|
+
(
|
|
59
|
+
param.value
|
|
60
|
+
for param in self.test_case.parameterValues
|
|
61
|
+
if param.name == "partitionExpression"
|
|
62
|
+
),
|
|
63
|
+
None,
|
|
64
|
+
)
|
|
65
|
+
for dataframe in runner:
|
|
66
|
+
if dataframe is not None:
|
|
67
|
+
if partition_expression:
|
|
68
|
+
try:
|
|
69
|
+
total_rows += len(dataframe.query(partition_expression))
|
|
70
|
+
except Exception as e:
|
|
71
|
+
logger.error(
|
|
72
|
+
"Error executing partition expression, "
|
|
73
|
+
f"expression may be invalid: {partition_expression} - {e}"
|
|
74
|
+
)
|
|
75
|
+
return None
|
|
76
|
+
else:
|
|
77
|
+
total_rows += len(dataframe.index)
|
|
78
|
+
|
|
79
|
+
return total_rows if total_rows > 0 else None
|