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
|
@@ -0,0 +1,316 @@
|
|
|
1
|
+
# Copyright 2025 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
|
+
"""
|
|
12
|
+
Mixin class for centralized log streaming to S3 storage
|
|
13
|
+
|
|
14
|
+
This mixin provides methods to send ingestion logs to OpenMetadata server's
|
|
15
|
+
S3 storage backend. It's designed to be used by OpenMetadata class and
|
|
16
|
+
integrates with the existing logging infrastructure.
|
|
17
|
+
"""
|
|
18
|
+
|
|
19
|
+
import base64
|
|
20
|
+
import gzip
|
|
21
|
+
import json
|
|
22
|
+
import os
|
|
23
|
+
import socket
|
|
24
|
+
import time
|
|
25
|
+
from typing import Optional
|
|
26
|
+
from uuid import UUID
|
|
27
|
+
|
|
28
|
+
from metadata.ingestion.ometa.client import REST
|
|
29
|
+
from metadata.ingestion.ometa.utils import model_str
|
|
30
|
+
from metadata.utils.constants import UTF_8
|
|
31
|
+
from metadata.utils.logger import ometa_logger
|
|
32
|
+
|
|
33
|
+
logger = ometa_logger()
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
class OMetaLogsMixin:
|
|
37
|
+
"""
|
|
38
|
+
OpenMetadata API methods for log streaming to S3.
|
|
39
|
+
|
|
40
|
+
This mixin provides centralized methods for shipping logs to the
|
|
41
|
+
OpenMetadata server's S3 storage backend. It reuses the existing
|
|
42
|
+
OpenMetadata client instance to avoid creating new sessions.
|
|
43
|
+
"""
|
|
44
|
+
|
|
45
|
+
client: REST
|
|
46
|
+
|
|
47
|
+
def send_logs_to_s3(
|
|
48
|
+
self,
|
|
49
|
+
pipeline_fqn: str,
|
|
50
|
+
run_id: UUID,
|
|
51
|
+
log_content: str,
|
|
52
|
+
compress: bool = False,
|
|
53
|
+
) -> bool:
|
|
54
|
+
"""
|
|
55
|
+
Send logs to S3 storage via OpenMetadata server endpoint.
|
|
56
|
+
|
|
57
|
+
Args:
|
|
58
|
+
pipeline_fqn: Fully qualified name of the ingestion pipeline
|
|
59
|
+
run_id: Unique identifier for the pipeline run
|
|
60
|
+
log_content: The log content to send
|
|
61
|
+
compress: Whether to compress logs before sending
|
|
62
|
+
|
|
63
|
+
Returns:
|
|
64
|
+
bool: True if logs were sent successfully, False otherwise
|
|
65
|
+
"""
|
|
66
|
+
try:
|
|
67
|
+
# Extract the UUID string value from the object if it has a .root attribute
|
|
68
|
+
# Build the API endpoint
|
|
69
|
+
url = (
|
|
70
|
+
f"/services/ingestionPipelines/logs/{pipeline_fqn}/{model_str(run_id)}"
|
|
71
|
+
)
|
|
72
|
+
|
|
73
|
+
# Prepare log batch data matching Java LogBatch structure
|
|
74
|
+
log_batch = {
|
|
75
|
+
"logs": log_content,
|
|
76
|
+
"timestamp": int(time.time() * 1000), # milliseconds since epoch
|
|
77
|
+
"connectorId": f"{socket.gethostname()}-{os.getpid()}",
|
|
78
|
+
"compressed": False,
|
|
79
|
+
"lineCount": log_content.count("\n") + 1,
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
# Apply compression if requested and content is large enough
|
|
83
|
+
if compress and len(log_content) > 10240: # Compress if > 10KB
|
|
84
|
+
compressed_data = gzip.compress(log_content.encode(UTF_8))
|
|
85
|
+
log_batch["logs"] = base64.b64encode(compressed_data).decode(UTF_8)
|
|
86
|
+
log_batch["compressed"] = True
|
|
87
|
+
|
|
88
|
+
# Send logs using the existing client
|
|
89
|
+
self.client.post(
|
|
90
|
+
url,
|
|
91
|
+
data=json.dumps(log_batch),
|
|
92
|
+
)
|
|
93
|
+
|
|
94
|
+
# The REST client returns None for successful requests with empty response body (HTTP 200/201/204)
|
|
95
|
+
# If we reach this point without an exception, the request was successful
|
|
96
|
+
logger.debug(
|
|
97
|
+
f"Successfully sent {log_batch['lineCount']} log lines for pipeline {pipeline_fqn}"
|
|
98
|
+
)
|
|
99
|
+
return True
|
|
100
|
+
|
|
101
|
+
except Exception as e:
|
|
102
|
+
line_count = log_content.count("\n") + 1
|
|
103
|
+
logger.error(
|
|
104
|
+
f"Failed to send logs to S3 for pipeline {pipeline_fqn}: {e}. "
|
|
105
|
+
f"Log batch size: {len(log_content)} chars, "
|
|
106
|
+
f"Lines: {line_count}, "
|
|
107
|
+
f"Compressed: {log_batch.get('compressed', False)}"
|
|
108
|
+
)
|
|
109
|
+
return False
|
|
110
|
+
|
|
111
|
+
def send_logs_batch(
|
|
112
|
+
self,
|
|
113
|
+
pipeline_fqn: str,
|
|
114
|
+
run_id: UUID,
|
|
115
|
+
log_content: str,
|
|
116
|
+
enable_compression: bool = False,
|
|
117
|
+
max_retries: int = 3,
|
|
118
|
+
) -> dict:
|
|
119
|
+
"""
|
|
120
|
+
Send logs batch to S3 storage via OpenMetadata server endpoint with retry logic.
|
|
121
|
+
|
|
122
|
+
Args:
|
|
123
|
+
pipeline_fqn: Fully qualified name of the ingestion pipeline
|
|
124
|
+
run_id: Unique identifier for the pipeline run
|
|
125
|
+
log_content: The log content to send
|
|
126
|
+
enable_compression: Whether to compress logs before sending
|
|
127
|
+
max_retries: Maximum number of retry attempts
|
|
128
|
+
|
|
129
|
+
Returns:
|
|
130
|
+
dict: Metrics including lines sent and bytes sent
|
|
131
|
+
"""
|
|
132
|
+
metrics = {"logs_sent": 0, "bytes_sent": 0}
|
|
133
|
+
|
|
134
|
+
for attempt in range(max_retries + 1):
|
|
135
|
+
try:
|
|
136
|
+
success = self.send_logs_to_s3(
|
|
137
|
+
pipeline_fqn=pipeline_fqn,
|
|
138
|
+
run_id=run_id,
|
|
139
|
+
log_content=log_content,
|
|
140
|
+
compress=enable_compression and len(log_content) > 10240,
|
|
141
|
+
)
|
|
142
|
+
|
|
143
|
+
if success:
|
|
144
|
+
# Update metrics
|
|
145
|
+
line_count = log_content.count("\n") + 1
|
|
146
|
+
metrics["logs_sent"] = line_count
|
|
147
|
+
metrics["bytes_sent"] = len(log_content)
|
|
148
|
+
|
|
149
|
+
if attempt > 0:
|
|
150
|
+
logger.info(
|
|
151
|
+
f"Successfully shipped {line_count} log lines to server on attempt {attempt + 1}"
|
|
152
|
+
)
|
|
153
|
+
else:
|
|
154
|
+
logger.debug(
|
|
155
|
+
f"Successfully shipped {line_count} log lines to server"
|
|
156
|
+
)
|
|
157
|
+
return metrics
|
|
158
|
+
else:
|
|
159
|
+
if attempt < max_retries:
|
|
160
|
+
wait_time = 2**attempt # Exponential backoff: 1s, 2s, 4s
|
|
161
|
+
logger.warning(
|
|
162
|
+
f"Failed to send logs for pipeline {pipeline_fqn}, "
|
|
163
|
+
f"attempt {attempt + 1}/{max_retries + 1}. Retrying in {wait_time}s..."
|
|
164
|
+
)
|
|
165
|
+
time.sleep(wait_time)
|
|
166
|
+
else:
|
|
167
|
+
logger.error(
|
|
168
|
+
f"Failed to send logs for pipeline {pipeline_fqn} after {max_retries + 1} attempts"
|
|
169
|
+
)
|
|
170
|
+
|
|
171
|
+
except Exception as e:
|
|
172
|
+
if attempt < max_retries:
|
|
173
|
+
wait_time = 2**attempt # Exponential backoff: 1s, 2s, 4s
|
|
174
|
+
logger.warning(
|
|
175
|
+
f"Error sending logs batch for pipeline {pipeline_fqn}: {e}. "
|
|
176
|
+
f"Attempt {attempt + 1}/{max_retries + 1}. Retrying in {wait_time}s..."
|
|
177
|
+
)
|
|
178
|
+
time.sleep(wait_time)
|
|
179
|
+
else:
|
|
180
|
+
logger.error(
|
|
181
|
+
f"Failed to send logs batch for pipeline {pipeline_fqn} after {max_retries + 1} attempts: {e}"
|
|
182
|
+
)
|
|
183
|
+
|
|
184
|
+
return metrics
|
|
185
|
+
|
|
186
|
+
def create_log_stream(
|
|
187
|
+
self,
|
|
188
|
+
pipeline_fqn: str,
|
|
189
|
+
run_id: UUID,
|
|
190
|
+
) -> None:
|
|
191
|
+
"""
|
|
192
|
+
Initialize a log stream for a pipeline run.
|
|
193
|
+
|
|
194
|
+
This method can be used to set up a log stream session with the server.
|
|
195
|
+
|
|
196
|
+
Args:
|
|
197
|
+
pipeline_fqn: Fully qualified name of the ingestion pipeline
|
|
198
|
+
run_id: Unique identifier for the pipeline run
|
|
199
|
+
"""
|
|
200
|
+
try:
|
|
201
|
+
|
|
202
|
+
# Initialize log stream with the server
|
|
203
|
+
url = (
|
|
204
|
+
f"/services/ingestionPipelines/logs/{pipeline_fqn}/{model_str(run_id)}"
|
|
205
|
+
)
|
|
206
|
+
|
|
207
|
+
init_data = {
|
|
208
|
+
"connectorId": f"{socket.gethostname()}-{os.getpid()}",
|
|
209
|
+
"timestamp": int(time.time() * 1000),
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
response = self.client.post(
|
|
213
|
+
url,
|
|
214
|
+
data=json.dumps(init_data),
|
|
215
|
+
)
|
|
216
|
+
|
|
217
|
+
except Exception as e:
|
|
218
|
+
logger.warning(
|
|
219
|
+
f"Failed to initialize log stream for pipeline {pipeline_fqn}: {e}"
|
|
220
|
+
)
|
|
221
|
+
|
|
222
|
+
def close_log_stream(
|
|
223
|
+
self,
|
|
224
|
+
pipeline_fqn: str,
|
|
225
|
+
run_id: UUID,
|
|
226
|
+
) -> bool:
|
|
227
|
+
"""
|
|
228
|
+
Close a log stream for a pipeline run.
|
|
229
|
+
|
|
230
|
+
This method signals the server that log streaming has completed
|
|
231
|
+
for a particular pipeline run.
|
|
232
|
+
|
|
233
|
+
Args:
|
|
234
|
+
pipeline_fqn: Fully qualified name of the ingestion pipeline
|
|
235
|
+
run_id: Unique identifier for the pipeline run
|
|
236
|
+
|
|
237
|
+
Returns:
|
|
238
|
+
bool: True if stream was closed successfully, False otherwise
|
|
239
|
+
"""
|
|
240
|
+
try:
|
|
241
|
+
|
|
242
|
+
url = f"/services/ingestionPipelines/logs/{pipeline_fqn}/{model_str(run_id)}/close"
|
|
243
|
+
|
|
244
|
+
close_data = {
|
|
245
|
+
"connectorId": f"{socket.gethostname()}-{os.getpid()}",
|
|
246
|
+
"timestamp": int(time.time() * 1000),
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
self.client.post(
|
|
250
|
+
url,
|
|
251
|
+
data=json.dumps(close_data),
|
|
252
|
+
)
|
|
253
|
+
|
|
254
|
+
logger.debug(f"Successfully closed log stream for pipeline {pipeline_fqn}")
|
|
255
|
+
|
|
256
|
+
return True
|
|
257
|
+
|
|
258
|
+
except Exception as e:
|
|
259
|
+
logger.warning(
|
|
260
|
+
f"Failed to close log stream for pipeline {pipeline_fqn}: {e}"
|
|
261
|
+
)
|
|
262
|
+
return False
|
|
263
|
+
|
|
264
|
+
def get_logs_from_s3(
|
|
265
|
+
self,
|
|
266
|
+
pipeline_fqn: str,
|
|
267
|
+
run_id: UUID,
|
|
268
|
+
offset: int = 0,
|
|
269
|
+
limit: int = 1000,
|
|
270
|
+
) -> Optional[str]:
|
|
271
|
+
"""
|
|
272
|
+
Retrieve logs from S3 storage for a pipeline run.
|
|
273
|
+
|
|
274
|
+
Args:
|
|
275
|
+
pipeline_fqn: Fully qualified name of the ingestion pipeline
|
|
276
|
+
run_id: Unique identifier for the pipeline run
|
|
277
|
+
offset: Starting offset for log retrieval
|
|
278
|
+
limit: Maximum number of log lines to retrieve
|
|
279
|
+
|
|
280
|
+
Returns:
|
|
281
|
+
Optional[str]: Log content if available, None otherwise
|
|
282
|
+
"""
|
|
283
|
+
try:
|
|
284
|
+
|
|
285
|
+
url = (
|
|
286
|
+
f"/services/ingestionPipelines/logs/{pipeline_fqn}/{model_str(run_id)}"
|
|
287
|
+
)
|
|
288
|
+
|
|
289
|
+
params = {
|
|
290
|
+
"offset": offset,
|
|
291
|
+
"limit": limit,
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
response = self.client.get(url, data=params)
|
|
295
|
+
|
|
296
|
+
if response and isinstance(response, dict):
|
|
297
|
+
log_data = response.get("logs", "")
|
|
298
|
+
|
|
299
|
+
# Decompress if necessary
|
|
300
|
+
if response.get("compressed"):
|
|
301
|
+
try:
|
|
302
|
+
decoded = base64.b64decode(log_data)
|
|
303
|
+
log_data = gzip.decompress(decoded).decode(UTF_8)
|
|
304
|
+
except Exception as e:
|
|
305
|
+
logger.error(f"Failed to decompress logs: {e}")
|
|
306
|
+
return None
|
|
307
|
+
|
|
308
|
+
return log_data
|
|
309
|
+
|
|
310
|
+
return None
|
|
311
|
+
|
|
312
|
+
except Exception as e:
|
|
313
|
+
logger.error(
|
|
314
|
+
f"Failed to retrieve logs from S3 for pipeline {pipeline_fqn}: {e}"
|
|
315
|
+
)
|
|
316
|
+
return None
|
|
@@ -20,6 +20,9 @@ from typing import Dict, List, Optional, Type, TypeVar, Union
|
|
|
20
20
|
|
|
21
21
|
from pydantic import BaseModel
|
|
22
22
|
|
|
23
|
+
from metadata.generated.schema.entity.automations.response.queryRunnerResponse import (
|
|
24
|
+
QueryRunnerResponse,
|
|
25
|
+
)
|
|
23
26
|
from metadata.generated.schema.entity.automations.workflow import (
|
|
24
27
|
Workflow as AutomationWorkflow,
|
|
25
28
|
)
|
|
@@ -128,6 +131,11 @@ class OMetaPatchMixin(OMetaPatchMixinBase):
|
|
|
128
131
|
Given an Entity type and Source entity and Destination entity,
|
|
129
132
|
generate a JSON Patch and apply it.
|
|
130
133
|
|
|
134
|
+
This method provides fine-grained control over entity updates and can
|
|
135
|
+
override fields that create_or_update() cannot due to server-side restrictions
|
|
136
|
+
across various entity types. Use override_metadata=True to force updates of
|
|
137
|
+
protected metadata fields.
|
|
138
|
+
|
|
131
139
|
Args
|
|
132
140
|
entity (T): Entity Type
|
|
133
141
|
source: Source payload which is current state of the source in OpenMetadata
|
|
@@ -135,7 +143,8 @@ class OMetaPatchMixin(OMetaPatchMixinBase):
|
|
|
135
143
|
allowed_fields: List of field names to filter from source and destination models
|
|
136
144
|
restrict_update_fields: List of field names which will only support add operation
|
|
137
145
|
array_entity_fields: List of array fields to sort for consistent patching
|
|
138
|
-
override_metadata: Whether to override existing metadata fields
|
|
146
|
+
override_metadata: Whether to override existing metadata fields. Set to True
|
|
147
|
+
to force updates of protected fields across various entity types.
|
|
139
148
|
skip_on_failure: Whether to skip the patch operation on failure (default: True)
|
|
140
149
|
|
|
141
150
|
Returns
|
|
@@ -188,12 +197,16 @@ class OMetaPatchMixin(OMetaPatchMixinBase):
|
|
|
188
197
|
"""
|
|
189
198
|
Given an Entity type and ID, JSON PATCH the description.
|
|
190
199
|
|
|
200
|
+
This method is useful when you need to update descriptions that cannot be
|
|
201
|
+
overridden through create_or_update() due to server-side business rules
|
|
202
|
+
across various entity types. Use force=True to override existing descriptions.
|
|
203
|
+
|
|
191
204
|
Args
|
|
192
205
|
entity (T): Entity Type
|
|
193
206
|
source: source entity object
|
|
194
207
|
description: new description to add
|
|
195
208
|
force: if True, we will patch any existing description. Otherwise, we will maintain
|
|
196
|
-
the existing data.
|
|
209
|
+
the existing data. Set to True to override existing descriptions across entity types.
|
|
197
210
|
skip_on_failure: if True, return None on failure instead of raising exception
|
|
198
211
|
Returns
|
|
199
212
|
Updated Entity
|
|
@@ -547,7 +560,9 @@ class OMetaPatchMixin(OMetaPatchMixinBase):
|
|
|
547
560
|
def patch_automation_workflow_response(
|
|
548
561
|
self,
|
|
549
562
|
automation_workflow: AutomationWorkflow,
|
|
550
|
-
result: Union[
|
|
563
|
+
result: Union[
|
|
564
|
+
TestConnectionResult, ReverseIngestionResponse, QueryRunnerResponse
|
|
565
|
+
],
|
|
551
566
|
workflow_status: WorkflowStatus,
|
|
552
567
|
) -> None:
|
|
553
568
|
"""
|
|
@@ -560,17 +575,16 @@ class OMetaPatchMixin(OMetaPatchMixinBase):
|
|
|
560
575
|
}
|
|
561
576
|
|
|
562
577
|
# for deserializing into json convert enum object to string
|
|
563
|
-
if isinstance(result,
|
|
564
|
-
result_data[PatchField.VALUE]["status"] = result_data[PatchField.VALUE][
|
|
565
|
-
"status"
|
|
566
|
-
].value
|
|
567
|
-
else:
|
|
578
|
+
if isinstance(result, ReverseIngestionResponse):
|
|
568
579
|
# Convert UUID in string
|
|
569
580
|
data = result_data[PatchField.VALUE]
|
|
570
581
|
data["serviceId"] = str(data["serviceId"])
|
|
571
582
|
for operation_result in data["results"]:
|
|
572
583
|
operation_result["id"] = str(operation_result["id"])
|
|
573
|
-
|
|
584
|
+
else:
|
|
585
|
+
result_data[PatchField.VALUE]["status"] = result_data[PatchField.VALUE][
|
|
586
|
+
"status"
|
|
587
|
+
].value
|
|
574
588
|
status_data: Dict = {
|
|
575
589
|
PatchField.PATH: PatchPath.STATUS,
|
|
576
590
|
PatchField.OPERATION: PatchOperation.ADD,
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
# Copyright 2025 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
|
+
"""
|
|
12
|
+
Mixin class containing Pipeline specific methods
|
|
13
|
+
|
|
14
|
+
To be used by OpenMetadata class
|
|
15
|
+
"""
|
|
16
|
+
|
|
17
|
+
from typing import Optional, Type, TypeVar
|
|
18
|
+
|
|
19
|
+
from pydantic import BaseModel
|
|
20
|
+
|
|
21
|
+
from metadata.generated.schema.type.entityProfile import EntityProfile, ProfileTypeEnum
|
|
22
|
+
from metadata.ingestion.ometa.client import REST
|
|
23
|
+
from metadata.ingestion.ometa.models import EntityList
|
|
24
|
+
from metadata.ingestion.ometa.utils import get_entity_type
|
|
25
|
+
from metadata.utils.logger import ometa_logger
|
|
26
|
+
|
|
27
|
+
logger = ometa_logger()
|
|
28
|
+
|
|
29
|
+
T = TypeVar("T", bound=BaseModel)
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
class OMetaProfileMixin:
|
|
33
|
+
"""
|
|
34
|
+
OpenMetadata API methods related to Profiles.
|
|
35
|
+
|
|
36
|
+
To be inherited by OpenMetadata
|
|
37
|
+
"""
|
|
38
|
+
|
|
39
|
+
client: REST
|
|
40
|
+
|
|
41
|
+
def get_profile_data_by_type(
|
|
42
|
+
self,
|
|
43
|
+
entity_type: Type[T],
|
|
44
|
+
start_ts: int,
|
|
45
|
+
end_ts: int,
|
|
46
|
+
profile_type: Optional[ProfileTypeEnum] = None,
|
|
47
|
+
) -> EntityList[EntityProfile]:
|
|
48
|
+
"""List all profile data for a given entity type. To get all the profile for
|
|
49
|
+
a specific profile type use the profile_type parameter.
|
|
50
|
+
|
|
51
|
+
Args:
|
|
52
|
+
entity_type (Type[T]): Entity type
|
|
53
|
+
start_ts (int): Start timestamp
|
|
54
|
+
end_ts (int): End timestamp
|
|
55
|
+
profile_type (Optional[ProfileTypeEnum]): Profile type
|
|
56
|
+
|
|
57
|
+
Returns:
|
|
58
|
+
EntityList[EntityProfile]: EntityList list object
|
|
59
|
+
"""
|
|
60
|
+
entity_type = get_entity_type(entity_type)
|
|
61
|
+
params = {
|
|
62
|
+
"startTs": start_ts,
|
|
63
|
+
"endTs": end_ts,
|
|
64
|
+
}
|
|
65
|
+
if profile_type:
|
|
66
|
+
params["profileType"] = profile_type.value
|
|
67
|
+
resp = self.client.get(
|
|
68
|
+
f"{self.get_suffix(EntityProfile)}/{entity_type}",
|
|
69
|
+
data=params,
|
|
70
|
+
)
|
|
71
|
+
paging = resp["paging"]
|
|
72
|
+
return EntityList[EntityProfile](
|
|
73
|
+
entities=[EntityProfile(**entity) for entity in resp["data"]],
|
|
74
|
+
total=paging["total"],
|
|
75
|
+
after=paging["after"],
|
|
76
|
+
before=paging["before"],
|
|
77
|
+
)
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
# Copyright 2025 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
|
+
"""Tag and Glossary Term specific operations"""
|
|
12
|
+
import traceback
|
|
13
|
+
from typing import Dict
|
|
14
|
+
|
|
15
|
+
from metadata.ingestion.ometa.client import REST
|
|
16
|
+
from metadata.utils.logger import ometa_logger
|
|
17
|
+
|
|
18
|
+
logger = ometa_logger()
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
class OMetaTagGlossaryMixin:
|
|
22
|
+
"""Mixin class containing Tag and Glossary Term specific methods"""
|
|
23
|
+
|
|
24
|
+
client: REST
|
|
25
|
+
|
|
26
|
+
def get_tag_assets(self, fqn: str, limit: int = 10, offset: int = 0) -> Dict:
|
|
27
|
+
"""
|
|
28
|
+
Get paginated list of assets for a tag
|
|
29
|
+
|
|
30
|
+
Args:
|
|
31
|
+
fqn: Fully qualified name of the tag
|
|
32
|
+
limit: Maximum number of assets to return (default 10, max 1000)
|
|
33
|
+
offset: Offset from which to start returning results (default 0)
|
|
34
|
+
|
|
35
|
+
Returns:
|
|
36
|
+
API response as a dictionary containing paginated assets
|
|
37
|
+
"""
|
|
38
|
+
try:
|
|
39
|
+
path = f"/tags/name/{fqn}/assets"
|
|
40
|
+
params = {"limit": limit, "offset": offset}
|
|
41
|
+
return self.client.get(path, params)
|
|
42
|
+
except Exception as exc:
|
|
43
|
+
logger.debug(traceback.format_exc())
|
|
44
|
+
logger.warning(f"Could not get tag assets due to {exc}")
|
|
45
|
+
return {}
|
|
46
|
+
|
|
47
|
+
def get_glossary_term_assets(
|
|
48
|
+
self, fqn: str, limit: int = 10, offset: int = 0
|
|
49
|
+
) -> Dict:
|
|
50
|
+
"""
|
|
51
|
+
Get paginated list of assets for a glossary term
|
|
52
|
+
|
|
53
|
+
Args:
|
|
54
|
+
fqn: Fully qualified name of the glossary term
|
|
55
|
+
limit: Maximum number of assets to return (default 10, max 1000)
|
|
56
|
+
offset: Offset from which to start returning results (default 0)
|
|
57
|
+
|
|
58
|
+
Returns:
|
|
59
|
+
API response as a dictionary containing paginated assets
|
|
60
|
+
"""
|
|
61
|
+
try:
|
|
62
|
+
path = f"/glossaryTerms/name/{fqn}/assets"
|
|
63
|
+
params = {"limit": limit, "offset": offset}
|
|
64
|
+
return self.client.get(path, params)
|
|
65
|
+
except Exception as exc:
|
|
66
|
+
logger.debug(traceback.format_exc())
|
|
67
|
+
logger.warning(f"Could not get glossary term assets due to {exc}")
|
|
68
|
+
return {}
|
|
@@ -14,6 +14,7 @@ Mixin class containing User specific methods
|
|
|
14
14
|
To be used by OpenMetadata class
|
|
15
15
|
"""
|
|
16
16
|
import json
|
|
17
|
+
import traceback
|
|
17
18
|
from functools import lru_cache
|
|
18
19
|
from typing import Optional, Type
|
|
19
20
|
|
|
@@ -181,21 +182,6 @@ class OMetaUserMixin:
|
|
|
181
182
|
"""
|
|
182
183
|
Get a User or Team Entity Reference by searching by its name
|
|
183
184
|
"""
|
|
184
|
-
maybe_user = self._search_by_name(
|
|
185
|
-
entity=User, name=name, from_count=from_count, size=size, fields=fields
|
|
186
|
-
)
|
|
187
|
-
if maybe_user:
|
|
188
|
-
return EntityReferenceList(
|
|
189
|
-
root=[
|
|
190
|
-
EntityReference(
|
|
191
|
-
id=maybe_user.id.root,
|
|
192
|
-
type=ENTITY_REFERENCE_TYPE_MAP[User.__name__],
|
|
193
|
-
name=maybe_user.name.root,
|
|
194
|
-
displayName=maybe_user.displayName,
|
|
195
|
-
)
|
|
196
|
-
]
|
|
197
|
-
)
|
|
198
|
-
|
|
199
185
|
maybe_team = self._search_by_name(
|
|
200
186
|
entity=Team, name=name, from_count=from_count, size=size, fields=fields
|
|
201
187
|
)
|
|
@@ -213,5 +199,60 @@ class OMetaUserMixin:
|
|
|
213
199
|
)
|
|
214
200
|
]
|
|
215
201
|
)
|
|
216
|
-
|
|
202
|
+
maybe_user = self._search_by_name(
|
|
203
|
+
entity=User, name=name, from_count=from_count, size=size, fields=fields
|
|
204
|
+
)
|
|
205
|
+
if maybe_user:
|
|
206
|
+
return EntityReferenceList(
|
|
207
|
+
root=[
|
|
208
|
+
EntityReference(
|
|
209
|
+
id=maybe_user.id.root,
|
|
210
|
+
type=ENTITY_REFERENCE_TYPE_MAP[User.__name__],
|
|
211
|
+
name=maybe_user.name.root,
|
|
212
|
+
displayName=maybe_user.displayName,
|
|
213
|
+
)
|
|
214
|
+
]
|
|
215
|
+
)
|
|
217
216
|
return None
|
|
217
|
+
|
|
218
|
+
def get_user_assets(self, name: str, limit: int = 10, offset: int = 0) -> dict:
|
|
219
|
+
"""
|
|
220
|
+
Get paginated list of assets for a user
|
|
221
|
+
|
|
222
|
+
Args:
|
|
223
|
+
name: Name of the user
|
|
224
|
+
limit: Maximum number of assets to return (default 10, max 1000)
|
|
225
|
+
offset: Offset from which to start returning results (default 0)
|
|
226
|
+
|
|
227
|
+
Returns:
|
|
228
|
+
API response as a dictionary containing paginated assets
|
|
229
|
+
"""
|
|
230
|
+
try:
|
|
231
|
+
path = f"/users/name/{name}/assets"
|
|
232
|
+
params = {"limit": limit, "offset": offset}
|
|
233
|
+
return self.client.get(path, params)
|
|
234
|
+
except Exception as exc:
|
|
235
|
+
logger.debug(traceback.format_exc())
|
|
236
|
+
logger.warning(f"Could not get user assets due to {exc}")
|
|
237
|
+
return {}
|
|
238
|
+
|
|
239
|
+
def get_team_assets(self, name: str, limit: int = 10, offset: int = 0) -> dict:
|
|
240
|
+
"""
|
|
241
|
+
Get paginated list of assets for a team
|
|
242
|
+
|
|
243
|
+
Args:
|
|
244
|
+
name: Name of the team
|
|
245
|
+
limit: Maximum number of assets to return (default 10, max 1000)
|
|
246
|
+
offset: Offset from which to start returning results (default 0)
|
|
247
|
+
|
|
248
|
+
Returns:
|
|
249
|
+
API response as a dictionary containing paginated assets
|
|
250
|
+
"""
|
|
251
|
+
try:
|
|
252
|
+
path = f"/teams/name/{name}/assets"
|
|
253
|
+
params = {"limit": limit, "offset": offset}
|
|
254
|
+
return self.client.get(path, params)
|
|
255
|
+
except Exception as exc:
|
|
256
|
+
logger.debug(traceback.format_exc())
|
|
257
|
+
logger.warning(f"Could not get team assets due to {exc}")
|
|
258
|
+
return {}
|