openmetadata-ingestion 1.6.0.0rc1__py3-none-any.whl → 1.6.0.0rc3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of openmetadata-ingestion might be problematic. Click here for more details.
- metadata/cli/classify.py +52 -0
- metadata/clients/aws_client.py +2 -2
- metadata/cmd.py +9 -0
- metadata/data_quality/builders/{i_validator_builder.py → validator_builder.py} +40 -29
- metadata/data_quality/interface/pandas/pandas_test_suite_interface.py +25 -25
- metadata/data_quality/interface/sqlalchemy/sqa_test_suite_interface.py +23 -50
- metadata/data_quality/interface/test_suite_interface.py +45 -56
- metadata/data_quality/processor/test_case_runner.py +9 -9
- metadata/data_quality/runner/base_test_suite_source.py +52 -26
- metadata/data_quality/validations/base_test_handler.py +14 -9
- metadata/data_quality/validations/column/sqlalchemy/columnValueLengthsToBeBetween.py +1 -1
- metadata/data_quality/validations/column/sqlalchemy/columnValueMaxToBeBetween.py +1 -1
- metadata/data_quality/validations/column/sqlalchemy/columnValueMeanToBeBetween.py +1 -1
- metadata/data_quality/validations/column/sqlalchemy/columnValueMedianToBeBetween.py +1 -1
- metadata/data_quality/validations/column/sqlalchemy/columnValueMinToBeBetween.py +1 -1
- metadata/data_quality/validations/column/sqlalchemy/columnValueStdDevToBeBetween.py +1 -1
- metadata/data_quality/validations/column/sqlalchemy/columnValuesMissingCount.py +1 -1
- metadata/data_quality/validations/column/sqlalchemy/columnValuesSumToBeBetween.py +1 -1
- metadata/data_quality/validations/column/sqlalchemy/columnValuesToBeAtExpectedLocation.py +1 -1
- metadata/data_quality/validations/column/sqlalchemy/columnValuesToBeBetween.py +1 -1
- metadata/data_quality/validations/column/sqlalchemy/columnValuesToBeInSet.py +1 -1
- metadata/data_quality/validations/column/sqlalchemy/columnValuesToBeNotInSet.py +1 -1
- metadata/data_quality/validations/column/sqlalchemy/columnValuesToBeNotNull.py +1 -1
- metadata/data_quality/validations/column/sqlalchemy/columnValuesToBeUnique.py +2 -8
- metadata/data_quality/validations/column/sqlalchemy/columnValuesToMatchRegex.py +1 -1
- metadata/data_quality/validations/column/sqlalchemy/columnValuesToNotMatchRegex.py +1 -1
- metadata/data_quality/validations/runtime_param_setter/param_setter.py +2 -3
- metadata/data_quality/validations/runtime_param_setter/param_setter_factory.py +45 -17
- metadata/data_quality/validations/runtime_param_setter/table_diff_params_setter.py +21 -16
- metadata/data_quality/validations/table/sqlalchemy/tableCustomSQLQuery.py +7 -1
- metadata/data_quality/validations/table/sqlalchemy/tableDiff.py +21 -18
- metadata/data_quality/validations/table/sqlalchemy/tableRowInsertedCountToBeBetween.py +2 -2
- metadata/examples/workflows/bigquery_classifier.yaml +56 -0
- metadata/examples/workflows/bigquery_profiler.yaml +1 -2
- metadata/examples/workflows/db2_profiler.yaml +1 -2
- metadata/examples/workflows/dbtcloud.yaml +2 -1
- metadata/examples/workflows/{mstr.yaml → microstrategy.yaml} +3 -2
- metadata/examples/workflows/mongodb.yaml +4 -0
- metadata/examples/workflows/mysql_profiler.yaml +0 -1
- metadata/examples/workflows/redshift_classifier.yaml +38 -0
- metadata/examples/workflows/redshift_profiler.yaml +2 -3
- metadata/generated/antlr/FqnLexer.py +15 -15
- 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 +1 -1
- metadata/generated/schema/api/classification/createTag.py +1 -1
- metadata/generated/schema/api/classification/loadTags.py +1 -1
- 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 +1 -1
- metadata/generated/schema/api/data/createDatabase.py +1 -1
- metadata/generated/schema/api/data/createDatabaseSchema.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 +1 -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/createSearchIndex.py +8 -1
- metadata/generated/schema/api/data/createStoredProcedure.py +8 -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/loadGlossary.py +1 -1
- metadata/generated/schema/api/data/restoreEntity.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 +1 -1
- metadata/generated/schema/api/domains/createDomain.py +1 -1
- 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 +1 -1
- 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/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/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/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/createStorageService.py +1 -1
- metadata/generated/schema/api/services/ingestionPipelines/__init__.py +1 -1
- metadata/generated/schema/api/services/ingestionPipelines/createIngestionPipeline.py +1 -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 +1 -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 +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/tokenRefreshRequest.py +1 -1
- metadata/generated/schema/configuration/__init__.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 +1 -1
- metadata/generated/schema/configuration/authorizerConfiguration.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 +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 +1 -1
- metadata/generated/schema/configuration/loginConfiguration.py +1 -1
- metadata/generated/schema/configuration/logoConfiguration.py +1 -1
- metadata/generated/schema/configuration/pipelineServiceClientConfiguration.py +1 -1
- metadata/generated/schema/configuration/profilerConfiguration.py +1 -1
- metadata/generated/schema/configuration/searchSettings.py +1 -1
- metadata/generated/schema/configuration/slackAppConfiguration.py +1 -14
- 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/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 +2 -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 +4 -2
- 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/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 +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/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 +1 -1
- metadata/generated/schema/entity/applications/configuration/external/automator/removeTierAction.py +1 -1
- metadata/generated/schema/entity/applications/configuration/external/automatorAppConfig.py +1 -1
- metadata/generated/schema/entity/applications/configuration/external/collateAIAppConfig.py +1 -1
- metadata/generated/schema/entity/applications/configuration/external/slackAppTokenConfiguration.py +22 -0
- metadata/generated/schema/entity/applications/configuration/internal/__init__.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/searchIndexingAppConfig.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/createAppRequest.py +1 -1
- 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 +1 -1
- metadata/generated/schema/entity/applications/marketplace/createAppMarketPlaceDefinitionReq.py +1 -1
- metadata/generated/schema/entity/applications/scheduledExecutionContext.py +1 -1
- metadata/generated/schema/entity/automations/__init__.py +1 -1
- metadata/generated/schema/entity/automations/testServiceConnection.py +1 -1
- metadata/generated/schema/entity/automations/workflow.py +1 -1
- metadata/generated/schema/entity/bot.py +1 -1
- metadata/generated/schema/entity/classification/__init__.py +1 -1
- metadata/generated/schema/entity/classification/classification.py +1 -1
- metadata/generated/schema/entity/classification/tag.py +1 -1
- metadata/generated/schema/entity/data/__init__.py +1 -1
- metadata/generated/schema/entity/data/apiCollection.py +1 -1
- metadata/generated/schema/entity/data/apiEndpoint.py +1 -1
- metadata/generated/schema/entity/data/chart.py +1 -1
- metadata/generated/schema/entity/data/container.py +1 -1
- metadata/generated/schema/entity/data/dashboard.py +1 -1
- metadata/generated/schema/entity/data/dashboardDataModel.py +1 -1
- metadata/generated/schema/entity/data/database.py +1 -1
- metadata/generated/schema/entity/data/databaseSchema.py +1 -1
- metadata/generated/schema/entity/data/glossary.py +1 -1
- metadata/generated/schema/entity/data/glossaryTerm.py +1 -1
- metadata/generated/schema/entity/data/metric.py +1 -1
- metadata/generated/schema/entity/data/mlmodel.py +1 -1
- metadata/generated/schema/entity/data/pipeline.py +1 -1
- metadata/generated/schema/entity/data/query.py +1 -1
- metadata/generated/schema/entity/data/report.py +1 -1
- metadata/generated/schema/entity/data/searchIndex.py +13 -1
- metadata/generated/schema/entity/data/storedProcedure.py +13 -1
- metadata/generated/schema/entity/data/table.py +1 -1
- metadata/generated/schema/entity/data/topic.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 +1 -1
- metadata/generated/schema/entity/domains/domain.py +1 -1
- metadata/generated/schema/entity/events/__init__.py +1 -1
- 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 +1 -1
- metadata/generated/schema/entity/services/connections/dashboard/domoDashboardConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/dashboard/lightdashConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/dashboard/lookerConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/dashboard/metabaseConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/dashboard/microStrategyConnection.py +67 -0
- metadata/generated/schema/entity/services/connections/dashboard/modeConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/dashboard/powerBIConnection.py +1 -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/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 +1 -1
- metadata/generated/schema/entity/services/connections/database/bigTableConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/database/clickhouseConnection.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 +1 -1
- metadata/generated/schema/entity/services/connections/database/databricksConnection.py +1 -1
- 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 +13 -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/exasolConnection.py +1 -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 +1 -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 +6 -2
- metadata/generated/schema/entity/services/connections/database/mssqlConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/database/mysqlConnection.py +6 -3
- 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 +1 -1
- 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/singleStoreConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/database/snowflakeConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/database/sqliteConnection.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/trinoConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/database/unityCatalogConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/database/verticaConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/messaging/__init__.py +1 -1
- metadata/generated/schema/entity/services/connections/messaging/customMessagingConnection.py +1 -1
- 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/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 +1 -1
- 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/airbyteConnection.py +1 -1
- 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 +1 -1
- metadata/generated/schema/entity/services/connections/pipeline/dagsterConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/pipeline/databricksPipelineConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/pipeline/datafactoryConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/pipeline/dbtCloudConnection.py +17 -5
- metadata/generated/schema/entity/services/connections/pipeline/domoPipelineConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/pipeline/fivetranConnection.py +1 -1
- 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/matillionConnection.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/sparkConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/pipeline/splineConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/pipeline/stitchConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/search/__init__.py +1 -1
- metadata/generated/schema/entity/services/connections/search/customSearchConnection.py +1 -1
- 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/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 +1 -1
- metadata/generated/schema/entity/services/connections/storage/gcsConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/storage/s3Connection.py +1 -1
- 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 +4 -4
- metadata/generated/schema/entity/services/databaseService.py +1 -1
- metadata/generated/schema/entity/services/ingestionPipelines/__init__.py +1 -1
- metadata/generated/schema/entity/services/ingestionPipelines/ingestionPipeline.py +2 -1
- metadata/generated/schema/entity/services/ingestionPipelines/pipelineServiceClientResponse.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 +1 -1
- metadata/generated/schema/entity/services/mlmodelService.py +1 -1
- metadata/generated/schema/entity/services/pipelineService.py +1 -1
- metadata/generated/schema/entity/services/searchService.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 +1 -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 +1 -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/setEntityCertificationTask.py +1 -1
- metadata/generated/schema/governance/workflows/elements/nodes/automatedTask/setGlossaryTermStatusTask.py +1 -1
- 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/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 +1 -1
- metadata/generated/schema/governance/workflows/elements/triggers/__init__.py +1 -1
- metadata/generated/schema/governance/workflows/elements/triggers/eventBasedEntityTrigger.py +1 -1
- metadata/generated/schema/governance/workflows/elements/triggers/periodicBatchEntityTrigger.py +2 -2
- metadata/generated/schema/governance/workflows/workflowDefinition.py +1 -1
- metadata/generated/schema/governance/workflows/workflowInstance.py +8 -1
- metadata/generated/schema/governance/workflows/workflowInstanceState.py +8 -1
- metadata/generated/schema/metadataIngestion/__init__.py +1 -1
- metadata/generated/schema/metadataIngestion/apiServiceMetadataPipeline.py +1 -1
- metadata/generated/schema/metadataIngestion/application.py +1 -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 +111 -0
- metadata/generated/schema/metadataIngestion/databaseServiceMetadataPipeline.py +1 -1
- metadata/generated/schema/metadataIngestion/databaseServiceProfilerPipeline.py +1 -33
- 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 +9 -1
- metadata/generated/schema/metadataIngestion/dbtconfig/dbtLocalConfig.py +9 -1
- metadata/generated/schema/metadataIngestion/dbtconfig/dbtS3Config.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 +1 -1
- metadata/generated/schema/metadataIngestion/pipelineServiceMetadataPipeline.py +1 -1
- metadata/generated/schema/metadataIngestion/searchServiceMetadataPipeline.py +9 -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 +1 -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 +3 -1
- metadata/generated/schema/monitoring/__init__.py +1 -1
- metadata/generated/schema/monitoring/eventMonitorProvider.py +1 -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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- metadata/generated/schema/security/credentials/gitlabCredentials.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 +1 -1
- metadata/generated/schema/system/__init__.py +1 -1
- metadata/generated/schema/system/entityError.py +1 -1
- metadata/generated/schema/system/eventPublisherJob.py +2 -1
- metadata/generated/schema/system/indexingError.py +1 -1
- metadata/generated/schema/system/limitsResponse.py +1 -1
- metadata/generated/schema/system/ui/__init__.py +1 -1
- metadata/generated/schema/system/ui/knowledgePanel.py +1 -1
- metadata/generated/schema/system/ui/page.py +1 -1
- metadata/generated/schema/system/validationResponse.py +1 -1
- metadata/generated/schema/tests/__init__.py +1 -1
- metadata/generated/schema/tests/assigned.py +1 -1
- metadata/generated/schema/tests/basic.py +1 -1
- metadata/generated/schema/tests/customMetric.py +1 -1
- metadata/generated/schema/tests/dataQualityReport.py +1 -1
- metadata/generated/schema/tests/resolved.py +1 -1
- metadata/generated/schema/tests/testCase.py +1 -1
- metadata/generated/schema/tests/testCaseResolutionStatus.py +1 -1
- metadata/generated/schema/tests/testDefinition.py +1 -1
- metadata/generated/schema/tests/testSuite.py +1 -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 +1 -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/collectionDescriptor.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/dailyCount.py +1 -1
- metadata/generated/schema/type/databaseConnectionConfig.py +1 -1
- 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/entityReference.py +1 -1
- metadata/generated/schema/type/entityReferenceList.py +1 -1
- metadata/generated/schema/type/entityRelationship.py +2 -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/lifeCycle.py +1 -1
- metadata/generated/schema/type/paging.py +1 -1
- 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/schedule.py +1 -1
- metadata/generated/schema/type/schema.py +1 -1
- metadata/generated/schema/type/tableQuery.py +1 -1
- metadata/generated/schema/type/tableUsageCount.py +1 -1
- metadata/generated/schema/type/tagLabel.py +1 -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/ingestion/api/models.py +9 -5
- metadata/ingestion/lineage/parser.py +6 -4
- metadata/ingestion/lineage/sql_lineage.py +258 -29
- metadata/ingestion/models/patch_request.py +2 -0
- metadata/ingestion/ometa/client.py +13 -8
- metadata/ingestion/ometa/mixins/data_insight_mixin.py +3 -2
- metadata/ingestion/ometa/mixins/ingestion_pipeline_mixin.py +5 -3
- metadata/ingestion/ometa/mixins/suggestions_mixin.py +3 -3
- metadata/ingestion/ometa/mixins/table_mixin.py +1 -1
- metadata/ingestion/ometa/models.py +1 -0
- metadata/ingestion/ometa/ometa_api.py +6 -3
- metadata/ingestion/sink/metadata_rest.py +23 -18
- metadata/ingestion/source/dashboard/dashboard_service.py +2 -0
- metadata/ingestion/source/dashboard/microstrategy/client.py +268 -0
- metadata/ingestion/source/dashboard/{mstr → microstrategy}/connection.py +11 -11
- metadata/ingestion/source/dashboard/{mstr → microstrategy}/metadata.py +74 -51
- metadata/ingestion/source/dashboard/{mstr → microstrategy}/models.py +9 -3
- metadata/ingestion/source/dashboard/microstrategy/service_spec.py +6 -0
- metadata/ingestion/source/dashboard/powerbi/client.py +1 -2
- metadata/ingestion/source/dashboard/superset/db_source.py +1 -1
- metadata/ingestion/source/dashboard/tableau/metadata.py +29 -12
- metadata/ingestion/source/dashboard/tableau/models.py +10 -0
- metadata/ingestion/source/database/athena/metadata.py +8 -0
- metadata/ingestion/source/database/azuresql/service_spec.py +2 -0
- metadata/ingestion/source/database/bigquery/profiler/profiler.py +1 -1
- metadata/ingestion/source/database/bigquery/profiler/system.py +5 -4
- metadata/ingestion/source/database/bigquery/service_spec.py +2 -0
- metadata/ingestion/source/database/common_nosql_source.py +7 -0
- metadata/ingestion/source/database/databricks/metadata.py +1 -3
- metadata/ingestion/source/database/databricks/service_spec.py +4 -0
- metadata/ingestion/source/database/datalake/clients/azure_blob.py +0 -3
- metadata/ingestion/source/database/datalake/clients/base.py +10 -1
- metadata/ingestion/source/database/datalake/clients/gcs.py +4 -2
- metadata/ingestion/source/database/datalake/clients/s3.py +0 -3
- metadata/ingestion/source/database/datalake/service_spec.py +8 -1
- metadata/ingestion/source/database/db2/connection.py +14 -1
- metadata/ingestion/source/database/dbt/constants.py +12 -0
- metadata/ingestion/source/database/dbt/dbt_config.py +19 -1
- metadata/ingestion/source/database/dbt/dbt_service.py +25 -1
- metadata/ingestion/source/database/dbt/dbt_utils.py +29 -0
- metadata/ingestion/source/database/dbt/metadata.py +70 -1
- metadata/ingestion/source/database/dbt/models.py +2 -0
- metadata/ingestion/source/database/dynamodb/service_spec.py +4 -1
- metadata/ingestion/source/database/mongodb/service_spec.py +4 -1
- metadata/ingestion/source/database/mysql/connection.py +5 -0
- metadata/ingestion/source/database/mysql/lineage.py +12 -30
- metadata/ingestion/source/database/mysql/queries.py +43 -0
- metadata/ingestion/source/database/mysql/query_parser.py +46 -0
- metadata/ingestion/source/database/mysql/service_spec.py +7 -1
- metadata/{data_quality/builders/pandas_validator_builder.py → ingestion/source/database/mysql/usage.py} +9 -14
- metadata/ingestion/source/database/redshift/profiler/system.py +5 -4
- metadata/ingestion/source/database/sample_data.py +4 -12
- metadata/ingestion/source/database/snowflake/connection.py +8 -3
- metadata/ingestion/source/database/snowflake/lineage.py +35 -1
- metadata/ingestion/source/database/snowflake/metadata.py +38 -19
- metadata/ingestion/source/database/snowflake/models.py +1 -0
- metadata/ingestion/source/database/snowflake/profiler/system.py +5 -4
- metadata/ingestion/source/database/snowflake/queries.py +22 -1
- metadata/ingestion/source/database/snowflake/service_spec.py +6 -0
- metadata/ingestion/source/database/stored_procedures_mixin.py +20 -8
- metadata/ingestion/source/database/trino/service_spec.py +2 -0
- metadata/ingestion/source/database/unitycatalog/service_spec.py +4 -0
- metadata/ingestion/source/pipeline/airflow/connection.py +45 -2
- metadata/ingestion/source/pipeline/airflow/metadata.py +35 -25
- metadata/ingestion/source/pipeline/dbtcloud/client.py +67 -28
- metadata/ingestion/source/pipeline/dbtcloud/connection.py +1 -3
- metadata/ingestion/source/pipeline/dbtcloud/models.py +1 -1
- metadata/ingestion/source/pipeline/fivetran/metadata.py +1 -1
- metadata/ingestion/source/pipeline/kafkaconnect/client.py +1 -1
- metadata/ingestion/source/search/elasticsearch/metadata.py +53 -0
- metadata/ingestion/source/search/search_service.py +44 -1
- metadata/mixins/pandas/pandas_mixin.py +2 -31
- metadata/mixins/sqalchemy/sqa_mixin.py +16 -16
- metadata/pii/processor.py +10 -9
- metadata/profiler/api/models.py +3 -79
- metadata/profiler/config.py +39 -0
- metadata/profiler/interface/nosql/profiler_interface.py +1 -26
- metadata/profiler/interface/pandas/profiler_interface.py +37 -77
- metadata/profiler/interface/profiler_interface.py +10 -282
- metadata/profiler/interface/sqlalchemy/bigquery/profiler_interface.py +0 -19
- metadata/profiler/interface/sqlalchemy/databricks/profiler_interface.py +2 -17
- metadata/profiler/interface/sqlalchemy/db2/profiler_interface.py +1 -1
- metadata/profiler/interface/sqlalchemy/mariadb/profiler_interface.py +2 -2
- metadata/profiler/interface/sqlalchemy/profiler_interface.py +46 -109
- metadata/profiler/interface/sqlalchemy/single_store/profiler_interface.py +2 -2
- metadata/profiler/interface/sqlalchemy/snowflake/profiler_interface.py +1 -1
- metadata/profiler/interface/sqlalchemy/stored_statistics_profiler.py +6 -8
- metadata/profiler/interface/sqlalchemy/trino/profiler_interface.py +2 -2
- metadata/profiler/orm/converter/base.py +21 -12
- metadata/profiler/orm/functions/table_metric_computer.py +9 -8
- metadata/profiler/processor/core.py +5 -58
- metadata/profiler/processor/handle_partition.py +0 -48
- metadata/profiler/processor/runner.py +116 -35
- metadata/profiler/processor/sample_data_handler.py +7 -4
- metadata/profiler/source/database/base/profiler_source.py +56 -138
- metadata/profiler/source/database/bigquery/profiler_source.py +3 -3
- metadata/profiler/source/database/databricks/profiler_source.py +2 -3
- metadata/profiler/source/fetcher/config.py +44 -0
- metadata/profiler/source/fetcher/fetcher_strategy.py +2 -4
- metadata/sampler/config.py +237 -0
- metadata/sampler/models.py +106 -0
- metadata/{profiler/processor/sampler → sampler}/nosql/sampler.py +44 -12
- metadata/sampler/pandas/sampler.py +239 -0
- metadata/{utils → sampler}/partition.py +66 -51
- metadata/sampler/processor.py +154 -0
- metadata/sampler/sampler_interface.py +251 -0
- metadata/{profiler/processor/sampler → sampler}/sqlalchemy/azuresql/sampler.py +1 -1
- metadata/{profiler/processor/sampler → sampler}/sqlalchemy/bigquery/sampler.py +55 -26
- metadata/sampler/sqlalchemy/postgres/sampler.py +91 -0
- metadata/{profiler/processor/sampler → sampler}/sqlalchemy/sampler.py +93 -98
- metadata/sampler/sqlalchemy/snowflake/sampler.py +95 -0
- metadata/{profiler/processor/sampler → sampler}/sqlalchemy/trino/sampler.py +5 -3
- metadata/utils/class_helper.py +7 -0
- metadata/utils/constants.py +63 -0
- metadata/utils/helpers.py +1 -2
- metadata/utils/importer.py +1 -1
- metadata/utils/logger.py +9 -0
- metadata/utils/profiler_utils.py +42 -0
- metadata/utils/service_spec/default.py +6 -0
- metadata/utils/service_spec/service_spec.py +47 -0
- metadata/utils/sqlalchemy_utils.py +1 -1
- metadata/utils/ssl_manager.py +39 -1
- metadata/workflow/classification.py +53 -0
- metadata/workflow/data_quality.py +5 -1
- metadata/workflow/profiler.py +1 -17
- {openmetadata_ingestion-1.6.0.0rc1.dist-info → openmetadata_ingestion-1.6.0.0rc3.dist-info}/METADATA +373 -373
- {openmetadata_ingestion-1.6.0.0rc1.dist-info → openmetadata_ingestion-1.6.0.0rc3.dist-info}/RECORD +805 -795
- metadata/data_quality/builders/sqa_validator_builder.py +0 -25
- metadata/data_quality/interface/test_suite_interface_factory.py +0 -158
- metadata/data_quality/runner/test_suite_source_factory.py +0 -38
- metadata/generated/schema/entity/services/connections/dashboard/mstrConnection.py +0 -54
- metadata/ingestion/source/dashboard/mstr/client.py +0 -209
- metadata/ingestion/source/dashboard/mstr/service_spec.py +0 -4
- metadata/profiler/processor/sampler/pandas/sampler.py +0 -170
- metadata/profiler/processor/sampler/sampler_factory.py +0 -100
- metadata/profiler/processor/sampler/sampler_interface.py +0 -74
- metadata/profiler/processor/sampler/sqlalchemy/snowflake/sampler.py +0 -83
- /metadata/ingestion/source/dashboard/{mstr → microstrategy}/__init__.py +0 -0
- {openmetadata_ingestion-1.6.0.0rc1.dist-info → openmetadata_ingestion-1.6.0.0rc3.dist-info}/LICENSE +0 -0
- {openmetadata_ingestion-1.6.0.0rc1.dist-info → openmetadata_ingestion-1.6.0.0rc3.dist-info}/WHEEL +0 -0
- {openmetadata_ingestion-1.6.0.0rc1.dist-info → openmetadata_ingestion-1.6.0.0rc3.dist-info}/entry_points.txt +0 -0
- {openmetadata_ingestion-1.6.0.0rc1.dist-info → openmetadata_ingestion-1.6.0.0rc3.dist-info}/top_level.txt +0 -0
|
@@ -22,6 +22,7 @@ from metadata.generated.schema.entity.services.ingestionPipelines.ingestionPipel
|
|
|
22
22
|
)
|
|
23
23
|
from metadata.ingestion.api.parser import parse_ingestion_pipeline_config_gracefully
|
|
24
24
|
from metadata.ingestion.ometa.client import REST
|
|
25
|
+
from metadata.ingestion.ometa.utils import quote
|
|
25
26
|
from metadata.utils.logger import ometa_logger
|
|
26
27
|
|
|
27
28
|
logger = ometa_logger()
|
|
@@ -46,7 +47,7 @@ class OMetaIngestionPipelineMixin:
|
|
|
46
47
|
:param pipeline_status: Pipeline Status data to add
|
|
47
48
|
"""
|
|
48
49
|
resp = self.client.put(
|
|
49
|
-
f"{self.get_suffix(IngestionPipeline)}/{ingestion_pipeline_fqn}/pipelineStatus",
|
|
50
|
+
f"{self.get_suffix(IngestionPipeline)}/{quote(ingestion_pipeline_fqn)}/pipelineStatus",
|
|
50
51
|
data=pipeline_status.model_dump_json(),
|
|
51
52
|
)
|
|
52
53
|
logger.debug(
|
|
@@ -64,7 +65,8 @@ class OMetaIngestionPipelineMixin:
|
|
|
64
65
|
:param pipeline_status_run_id: Pipeline Status run id
|
|
65
66
|
"""
|
|
66
67
|
resp = self.client.get(
|
|
67
|
-
f"{self.get_suffix(IngestionPipeline)}/
|
|
68
|
+
f"{self.get_suffix(IngestionPipeline)}/"
|
|
69
|
+
f"{quote(ingestion_pipeline_fqn)}/pipelineStatus/{pipeline_status_run_id}"
|
|
68
70
|
)
|
|
69
71
|
if resp:
|
|
70
72
|
return PipelineStatus(**resp)
|
|
@@ -99,7 +101,7 @@ class OMetaIngestionPipelineMixin:
|
|
|
99
101
|
params = {"startTs": start_ts, "endTs": end_ts}
|
|
100
102
|
|
|
101
103
|
resp = self.client.get(
|
|
102
|
-
f"{self.get_suffix(IngestionPipeline)}/{ingestion_pipeline_fqn}/pipelineStatus",
|
|
104
|
+
f"{self.get_suffix(IngestionPipeline)}/{quote(ingestion_pipeline_fqn)}/pipelineStatus",
|
|
103
105
|
data=params,
|
|
104
106
|
)
|
|
105
107
|
|
|
@@ -19,7 +19,7 @@ from metadata.generated.schema.entity.feed.suggestion import Suggestion, Suggest
|
|
|
19
19
|
from metadata.generated.schema.type import basic
|
|
20
20
|
from metadata.generated.schema.type.basic import FullyQualifiedEntityName
|
|
21
21
|
from metadata.ingestion.ometa.client import REST
|
|
22
|
-
from metadata.ingestion.ometa.utils import model_str
|
|
22
|
+
from metadata.ingestion.ometa.utils import model_str, quote
|
|
23
23
|
from metadata.utils.logger import ometa_logger
|
|
24
24
|
|
|
25
25
|
logger = ometa_logger()
|
|
@@ -65,7 +65,7 @@ class OMetaSuggestionsMixin:
|
|
|
65
65
|
self.client.put(
|
|
66
66
|
f"{self.get_suffix(Suggestion)}/accept-all?"
|
|
67
67
|
f"userId={model_str(user_id)}&"
|
|
68
|
-
f"entityFQN={
|
|
68
|
+
f"entityFQN={quote(fqn)}&"
|
|
69
69
|
f"suggestionType={suggestion_type.value}",
|
|
70
70
|
)
|
|
71
71
|
|
|
@@ -79,6 +79,6 @@ class OMetaSuggestionsMixin:
|
|
|
79
79
|
self.client.put(
|
|
80
80
|
f"{self.get_suffix(Suggestion)}/reject-all?"
|
|
81
81
|
f"userId={model_str(user_id)}&"
|
|
82
|
-
f"entityFQN={
|
|
82
|
+
f"entityFQN={quote(fqn)}&"
|
|
83
83
|
f"suggestionType={suggestion_type.value}",
|
|
84
84
|
)
|
|
@@ -257,7 +257,7 @@ class OMetaTableMixin:
|
|
|
257
257
|
profile_type_url = profile_type.__name__[0].lower() + profile_type.__name__[1:]
|
|
258
258
|
|
|
259
259
|
resp = self.client.get(
|
|
260
|
-
f"{self.get_suffix(Table)}/{fqn}/{profile_type_url}?limit={limit}{url_after}",
|
|
260
|
+
f"{self.get_suffix(Table)}/{quote(fqn)}/{profile_type_url}?limit={limit}{url_after}",
|
|
261
261
|
data={"startTs": start_ts, "endTs": end_ts},
|
|
262
262
|
)
|
|
263
263
|
|
|
@@ -378,12 +378,13 @@ class OpenMetadata(
|
|
|
378
378
|
logger.debug("Cannot find the Entity %s", fqn)
|
|
379
379
|
return None
|
|
380
380
|
|
|
381
|
-
# pylint: disable=too-many-locals
|
|
381
|
+
# pylint: disable=too-many-locals, too-many-arguments
|
|
382
382
|
def list_entities(
|
|
383
383
|
self,
|
|
384
384
|
entity: Type[T],
|
|
385
385
|
fields: Optional[List[str]] = None,
|
|
386
386
|
after: Optional[str] = None,
|
|
387
|
+
before: Optional[str] = None,
|
|
387
388
|
limit: int = 100,
|
|
388
389
|
params: Optional[Dict[str, str]] = None,
|
|
389
390
|
skip_on_failure: bool = False,
|
|
@@ -395,9 +396,10 @@ class OpenMetadata(
|
|
|
395
396
|
suffix = self.get_suffix(entity)
|
|
396
397
|
url_limit = f"?limit={limit}"
|
|
397
398
|
url_after = f"&after={after}" if after else ""
|
|
399
|
+
url_before = f"&before={before}" if before else ""
|
|
398
400
|
url_fields = f"&fields={','.join(fields)}" if fields else ""
|
|
399
401
|
resp = self.client.get(
|
|
400
|
-
path=f"{suffix}{url_limit}{url_after}{url_fields}", data=params
|
|
402
|
+
path=f"{suffix}{url_limit}{url_after}{url_before}{url_fields}", data=params
|
|
401
403
|
)
|
|
402
404
|
|
|
403
405
|
if self._use_raw_data:
|
|
@@ -421,7 +423,8 @@ class OpenMetadata(
|
|
|
421
423
|
|
|
422
424
|
total = resp["paging"]["total"]
|
|
423
425
|
after = resp["paging"]["after"] if "after" in resp["paging"] else None
|
|
424
|
-
|
|
426
|
+
before = resp["paging"]["before"] if "before" in resp["paging"] else None
|
|
427
|
+
return EntityList(entities=entities, total=total, after=after, before=before)
|
|
425
428
|
|
|
426
429
|
def list_all_entities(
|
|
427
430
|
self,
|
|
@@ -84,6 +84,7 @@ from metadata.ingestion.ometa.ometa_api import OpenMetadata
|
|
|
84
84
|
from metadata.ingestion.source.dashboard.dashboard_service import DashboardUsage
|
|
85
85
|
from metadata.ingestion.source.database.database_service import DataModelLink
|
|
86
86
|
from metadata.profiler.api.models import ProfilerResponse
|
|
87
|
+
from metadata.sampler.models import SamplerResponse
|
|
87
88
|
from metadata.utils.execution_time_tracker import calculate_execution_time
|
|
88
89
|
from metadata.utils.logger import get_log_name, ingestion_logger
|
|
89
90
|
|
|
@@ -549,22 +550,8 @@ class MetadataRestSink(Sink): # pylint: disable=too-many-public-methods
|
|
|
549
550
|
)
|
|
550
551
|
|
|
551
552
|
@_run_dispatch.register
|
|
552
|
-
def
|
|
553
|
-
"""
|
|
554
|
-
column_profile = record.profile.columnProfile
|
|
555
|
-
for column in column_profile:
|
|
556
|
-
column.name = column.name.replace("`", "")
|
|
557
|
-
|
|
558
|
-
record.profile.columnProfile = column_profile
|
|
559
|
-
|
|
560
|
-
table = self.metadata.ingest_profile_data(
|
|
561
|
-
table=record.table,
|
|
562
|
-
profile_request=record.profile,
|
|
563
|
-
)
|
|
564
|
-
logger.debug(
|
|
565
|
-
f"Successfully ingested profile metrics for {record.table.fullyQualifiedName.root}"
|
|
566
|
-
)
|
|
567
|
-
|
|
553
|
+
def write_sampler_response(self, record: SamplerResponse) -> Either[Table]:
|
|
554
|
+
"""Ingest the sample data - if needed - and the PII tags"""
|
|
568
555
|
if record.sample_data and record.sample_data.store:
|
|
569
556
|
table_data = self.metadata.ingest_table_sample_data(
|
|
570
557
|
table=record.table, sample_data=record.sample_data.data
|
|
@@ -572,7 +559,7 @@ class MetadataRestSink(Sink): # pylint: disable=too-many-public-methods
|
|
|
572
559
|
if not table_data:
|
|
573
560
|
self.status.failed(
|
|
574
561
|
StackTraceError(
|
|
575
|
-
name=table.fullyQualifiedName.root,
|
|
562
|
+
name=record.table.fullyQualifiedName.root,
|
|
576
563
|
error="Error trying to ingest sample data for table",
|
|
577
564
|
)
|
|
578
565
|
)
|
|
@@ -587,7 +574,7 @@ class MetadataRestSink(Sink): # pylint: disable=too-many-public-methods
|
|
|
587
574
|
)
|
|
588
575
|
if not patched:
|
|
589
576
|
self.status.warning(
|
|
590
|
-
key=table.fullyQualifiedName.root,
|
|
577
|
+
key=record.table.fullyQualifiedName.root,
|
|
591
578
|
reason="Error patching tags for table",
|
|
592
579
|
)
|
|
593
580
|
else:
|
|
@@ -595,6 +582,24 @@ class MetadataRestSink(Sink): # pylint: disable=too-many-public-methods
|
|
|
595
582
|
f"Successfully patched tag {record.column_tags} for {record.table.fullyQualifiedName.root}"
|
|
596
583
|
)
|
|
597
584
|
|
|
585
|
+
return Either(right=record.table)
|
|
586
|
+
|
|
587
|
+
@_run_dispatch.register
|
|
588
|
+
def write_profiler_response(self, record: ProfilerResponse) -> Either[Table]:
|
|
589
|
+
"""Cleanup "`" character in columns and ingest"""
|
|
590
|
+
column_profile = record.profile.columnProfile
|
|
591
|
+
for column in column_profile:
|
|
592
|
+
column.name = column.name.replace("`", "")
|
|
593
|
+
|
|
594
|
+
record.profile.columnProfile = column_profile
|
|
595
|
+
|
|
596
|
+
table = self.metadata.ingest_profile_data(
|
|
597
|
+
table=record.table,
|
|
598
|
+
profile_request=record.profile,
|
|
599
|
+
)
|
|
600
|
+
logger.debug(
|
|
601
|
+
f"Successfully ingested profile metrics for {record.table.fullyQualifiedName.root}"
|
|
602
|
+
)
|
|
598
603
|
return Either(right=table)
|
|
599
604
|
|
|
600
605
|
@_run_dispatch.register
|
|
@@ -479,6 +479,7 @@ class DashboardServiceSource(TopologyRunnerMixin, Source, ABC):
|
|
|
479
479
|
to_entity: Union[Dashboard, DashboardDataModel],
|
|
480
480
|
from_entity: Union[Table, DashboardDataModel, Dashboard],
|
|
481
481
|
column_lineage: List[ColumnLineage] = None,
|
|
482
|
+
sql: Optional[str] = None,
|
|
482
483
|
) -> Optional[Either[AddLineageRequest]]:
|
|
483
484
|
if from_entity and to_entity:
|
|
484
485
|
return Either(
|
|
@@ -494,6 +495,7 @@ class DashboardServiceSource(TopologyRunnerMixin, Source, ABC):
|
|
|
494
495
|
),
|
|
495
496
|
lineageDetails=LineageDetails(
|
|
496
497
|
source=LineageSource.DashboardLineage,
|
|
498
|
+
sqlQuery=sql,
|
|
497
499
|
columnsLineage=column_lineage,
|
|
498
500
|
),
|
|
499
501
|
)
|
|
@@ -0,0 +1,268 @@
|
|
|
1
|
+
# Copyright 2023 Collate
|
|
2
|
+
# Licensed under the Apache License, Version 2.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
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
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
|
+
REST Auth & Client for MicroStrategy
|
|
13
|
+
"""
|
|
14
|
+
import traceback
|
|
15
|
+
from typing import List, Optional
|
|
16
|
+
|
|
17
|
+
import requests
|
|
18
|
+
|
|
19
|
+
from metadata.generated.schema.entity.services.connections.dashboard.microStrategyConnection import (
|
|
20
|
+
MicroStrategyConnection,
|
|
21
|
+
)
|
|
22
|
+
from metadata.ingestion.connections.test_connections import SourceConnectionException
|
|
23
|
+
from metadata.ingestion.ometa.client import REST, ClientConfig
|
|
24
|
+
from metadata.ingestion.source.dashboard.microstrategy.models import (
|
|
25
|
+
AuthHeaderCookie,
|
|
26
|
+
MstrDashboard,
|
|
27
|
+
MstrDashboardDetails,
|
|
28
|
+
MstrDashboardList,
|
|
29
|
+
MstrProject,
|
|
30
|
+
MstrProjectList,
|
|
31
|
+
MstrSearchResult,
|
|
32
|
+
MstrSearchResultList,
|
|
33
|
+
)
|
|
34
|
+
from metadata.utils.helpers import clean_uri
|
|
35
|
+
from metadata.utils.logger import ingestion_logger
|
|
36
|
+
|
|
37
|
+
logger = ingestion_logger()
|
|
38
|
+
|
|
39
|
+
API_VERSION = "MicroStrategyLibrary/api"
|
|
40
|
+
HEADERS = {"Content-Type": "application/json"}
|
|
41
|
+
APPLICATION_TYPE = 35
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
class MicroStrategyClient:
|
|
45
|
+
"""
|
|
46
|
+
Client Handling API communication with MicroStrategy
|
|
47
|
+
"""
|
|
48
|
+
|
|
49
|
+
def _get_base_url(self, path=None):
|
|
50
|
+
if not path:
|
|
51
|
+
return f"{clean_uri(str(self.config.hostPort))}/{API_VERSION}"
|
|
52
|
+
return f"{clean_uri(str(self.config.hostPort))}/{API_VERSION}/{path}"
|
|
53
|
+
|
|
54
|
+
def __init__(
|
|
55
|
+
self,
|
|
56
|
+
config: MicroStrategyConnection,
|
|
57
|
+
):
|
|
58
|
+
self.config = config
|
|
59
|
+
|
|
60
|
+
self.auth_params = self._get_auth_header_and_cookies()
|
|
61
|
+
|
|
62
|
+
client_config = ClientConfig(
|
|
63
|
+
base_url=clean_uri(str(self.config.hostPort)),
|
|
64
|
+
api_version=API_VERSION,
|
|
65
|
+
extra_headers=self.auth_params.auth_header if self.auth_params else None,
|
|
66
|
+
allow_redirects=True,
|
|
67
|
+
cookies=self.auth_params.auth_cookies if self.auth_params else None,
|
|
68
|
+
)
|
|
69
|
+
|
|
70
|
+
self.client = REST(client_config)
|
|
71
|
+
|
|
72
|
+
def get_auth_params(self) -> AuthHeaderCookie:
|
|
73
|
+
"""
|
|
74
|
+
Test whether we can fetch auth_token from the api
|
|
75
|
+
"""
|
|
76
|
+
data = {
|
|
77
|
+
"username": self.config.username,
|
|
78
|
+
"password": self.config.password.get_secret_value(),
|
|
79
|
+
"loginMode": int(self.config.loginMode),
|
|
80
|
+
"applicationType": APPLICATION_TYPE,
|
|
81
|
+
}
|
|
82
|
+
response = requests.post(
|
|
83
|
+
url=self._get_base_url("auth/login"), json=data, headers=HEADERS, timeout=60
|
|
84
|
+
)
|
|
85
|
+
response.raise_for_status()
|
|
86
|
+
if (
|
|
87
|
+
not response.ok
|
|
88
|
+
or response.status_code != 204
|
|
89
|
+
or "X-MSTR-AuthToken" not in response.headers
|
|
90
|
+
):
|
|
91
|
+
raise SourceConnectionException(
|
|
92
|
+
f"Failed to Fetch Token, please validate your credentials and login_mode : {response.text}"
|
|
93
|
+
)
|
|
94
|
+
return AuthHeaderCookie(
|
|
95
|
+
auth_header=response.headers, auth_cookies=response.cookies
|
|
96
|
+
)
|
|
97
|
+
|
|
98
|
+
def _get_auth_header_and_cookies(self) -> Optional[AuthHeaderCookie]:
|
|
99
|
+
"""
|
|
100
|
+
Send a request to authenticate the user and get headers and
|
|
101
|
+
|
|
102
|
+
To know about the data params below please visit
|
|
103
|
+
https://demo.microstrategy.com/MicroStrategyLibrary/api-docs/index.html#/Authentication/postLogin
|
|
104
|
+
"""
|
|
105
|
+
try:
|
|
106
|
+
auth_data = self.get_auth_params()
|
|
107
|
+
if auth_data:
|
|
108
|
+
self._set_api_session(auth_data)
|
|
109
|
+
return auth_data
|
|
110
|
+
except Exception as exc:
|
|
111
|
+
logger.debug(traceback.format_exc())
|
|
112
|
+
logger.error(
|
|
113
|
+
f"Failed to fetch the auth header and cookies due to : [{exc}]"
|
|
114
|
+
)
|
|
115
|
+
return None
|
|
116
|
+
|
|
117
|
+
def _set_api_session(self, auth_data: AuthHeaderCookie) -> bool:
|
|
118
|
+
"""
|
|
119
|
+
Set the user api session to active this will keep the connection alive
|
|
120
|
+
"""
|
|
121
|
+
api_session = requests.put(
|
|
122
|
+
url=self._get_base_url("sessions"),
|
|
123
|
+
headers=auth_data.auth_header,
|
|
124
|
+
cookies=auth_data.auth_cookies,
|
|
125
|
+
timeout=60,
|
|
126
|
+
)
|
|
127
|
+
if api_session.ok:
|
|
128
|
+
logger.info(
|
|
129
|
+
f"Connection Successful User {self.config.username} is Authenticated"
|
|
130
|
+
)
|
|
131
|
+
return True
|
|
132
|
+
raise requests.ConnectionError(
|
|
133
|
+
"Connection Failed, Failed to set an api session, Please validate the credentials"
|
|
134
|
+
)
|
|
135
|
+
|
|
136
|
+
def close_api_session(self) -> None:
|
|
137
|
+
"""
|
|
138
|
+
Closes the active api session
|
|
139
|
+
"""
|
|
140
|
+
try:
|
|
141
|
+
close_api_session = self.client.post(
|
|
142
|
+
path="/auth/logout",
|
|
143
|
+
)
|
|
144
|
+
if close_api_session.ok:
|
|
145
|
+
logger.info("API Session Closed Successfully")
|
|
146
|
+
|
|
147
|
+
except Exception as exc:
|
|
148
|
+
logger.debug(traceback.format_exc())
|
|
149
|
+
logger.warning(f"Failed to close the api sesison due to [{exc}]")
|
|
150
|
+
|
|
151
|
+
def is_project_name(self) -> bool:
|
|
152
|
+
return bool(self.config.projectName)
|
|
153
|
+
|
|
154
|
+
def get_projects_list(self) -> List[MstrProject]:
|
|
155
|
+
"""
|
|
156
|
+
Get List of all projects
|
|
157
|
+
"""
|
|
158
|
+
try:
|
|
159
|
+
resp_projects = self.client.get(
|
|
160
|
+
path="/projects",
|
|
161
|
+
)
|
|
162
|
+
|
|
163
|
+
project_list = MstrProjectList(projects=resp_projects)
|
|
164
|
+
return project_list.projects
|
|
165
|
+
|
|
166
|
+
except Exception as exc:
|
|
167
|
+
logger.debug(traceback.format_exc())
|
|
168
|
+
logger.warning(f"Failed to fetch the project list due to [{exc}]")
|
|
169
|
+
|
|
170
|
+
return []
|
|
171
|
+
|
|
172
|
+
def get_project_by_name(self) -> Optional[MstrProject]:
|
|
173
|
+
"""
|
|
174
|
+
Get Project By Name
|
|
175
|
+
"""
|
|
176
|
+
try:
|
|
177
|
+
resp_projects = self.client.get(
|
|
178
|
+
path=f"/projects/{self.config.projectName}",
|
|
179
|
+
)
|
|
180
|
+
|
|
181
|
+
project = MstrProject.model_validate(resp_projects)
|
|
182
|
+
return project
|
|
183
|
+
|
|
184
|
+
except Exception:
|
|
185
|
+
logger.debug(traceback.format_exc())
|
|
186
|
+
logger.warning("Failed to fetch the project list")
|
|
187
|
+
|
|
188
|
+
return None
|
|
189
|
+
|
|
190
|
+
def get_search_results_list(
|
|
191
|
+
self, project_id, object_type
|
|
192
|
+
) -> List[MstrSearchResult]:
|
|
193
|
+
"""
|
|
194
|
+
Get Search Results
|
|
195
|
+
|
|
196
|
+
To know about the data params below please visit
|
|
197
|
+
https://demo.microstrategy.com/MicroStrategyLibrary/api-docs/index.html?#/Browsing/doQuickSearch
|
|
198
|
+
"""
|
|
199
|
+
try:
|
|
200
|
+
data = {
|
|
201
|
+
"project_id": project_id,
|
|
202
|
+
"type": object_type,
|
|
203
|
+
"getAncestors": False,
|
|
204
|
+
"offset": 0,
|
|
205
|
+
"limit": -1,
|
|
206
|
+
"certifiedStatus": "ALL",
|
|
207
|
+
"isCrossCluster": False,
|
|
208
|
+
"result.hidden": False,
|
|
209
|
+
}
|
|
210
|
+
resp_results = self.client.get(
|
|
211
|
+
path="/searches/results",
|
|
212
|
+
data=data,
|
|
213
|
+
)
|
|
214
|
+
|
|
215
|
+
results_list = MstrSearchResultList.model_validate(resp_results).result
|
|
216
|
+
return results_list
|
|
217
|
+
|
|
218
|
+
except Exception:
|
|
219
|
+
logger.debug(traceback.format_exc())
|
|
220
|
+
logger.warning("Failed to fetch the Search Result list")
|
|
221
|
+
|
|
222
|
+
return []
|
|
223
|
+
|
|
224
|
+
def get_dashboards_list(self, project_id, project_name) -> List[MstrDashboard]:
|
|
225
|
+
"""
|
|
226
|
+
Get Dashboard
|
|
227
|
+
"""
|
|
228
|
+
try:
|
|
229
|
+
results = self.get_search_results_list(
|
|
230
|
+
project_id=project_id, object_type=55
|
|
231
|
+
)
|
|
232
|
+
|
|
233
|
+
dashboards = []
|
|
234
|
+
for result in results:
|
|
235
|
+
dashboards.append(
|
|
236
|
+
MstrDashboard(projectName=project_name, **result.model_dump())
|
|
237
|
+
)
|
|
238
|
+
|
|
239
|
+
dashboards_list = MstrDashboardList(dashboards=dashboards)
|
|
240
|
+
return dashboards_list.dashboards
|
|
241
|
+
|
|
242
|
+
except Exception:
|
|
243
|
+
logger.debug(traceback.format_exc())
|
|
244
|
+
logger.warning("Failed to fetch the dashboard list")
|
|
245
|
+
|
|
246
|
+
return []
|
|
247
|
+
|
|
248
|
+
def get_dashboard_details(
|
|
249
|
+
self, project_id, project_name, dashboard_id
|
|
250
|
+
) -> Optional[MstrDashboardDetails]:
|
|
251
|
+
"""
|
|
252
|
+
Get Dashboard Details
|
|
253
|
+
"""
|
|
254
|
+
try:
|
|
255
|
+
headers = {"X-MSTR-ProjectID": project_id} | self.auth_params.auth_header
|
|
256
|
+
resp_dashboard = self.client._request( # pylint: disable=protected-access
|
|
257
|
+
"GET", path=f"/v2/dossiers/{dashboard_id}/definition", headers=headers
|
|
258
|
+
)
|
|
259
|
+
|
|
260
|
+
return MstrDashboardDetails(
|
|
261
|
+
projectId=project_id, projectName=project_name, **resp_dashboard
|
|
262
|
+
)
|
|
263
|
+
|
|
264
|
+
except Exception:
|
|
265
|
+
logger.debug(traceback.format_exc())
|
|
266
|
+
logger.warning(f"Failed to fetch the dashboard with id: {dashboard_id}")
|
|
267
|
+
|
|
268
|
+
return None
|
|
@@ -17,43 +17,43 @@ from typing import Optional
|
|
|
17
17
|
from metadata.generated.schema.entity.automations.workflow import (
|
|
18
18
|
Workflow as AutomationWorkflow,
|
|
19
19
|
)
|
|
20
|
-
from metadata.generated.schema.entity.services.connections.dashboard.
|
|
21
|
-
|
|
20
|
+
from metadata.generated.schema.entity.services.connections.dashboard.microStrategyConnection import (
|
|
21
|
+
MicroStrategyConnection,
|
|
22
22
|
)
|
|
23
23
|
from metadata.generated.schema.entity.services.connections.testConnectionResult import (
|
|
24
24
|
TestConnectionResult,
|
|
25
25
|
)
|
|
26
26
|
from metadata.ingestion.connections.test_connections import test_connection_steps
|
|
27
27
|
from metadata.ingestion.ometa.ometa_api import OpenMetadata
|
|
28
|
-
from metadata.ingestion.source.dashboard.
|
|
29
|
-
from metadata.utils.constants import THREE_MIN
|
|
28
|
+
from metadata.ingestion.source.dashboard.microstrategy.client import MicroStrategyClient
|
|
30
29
|
|
|
31
30
|
|
|
32
|
-
def get_connection(connection:
|
|
31
|
+
def get_connection(connection: MicroStrategyConnection) -> MicroStrategyClient:
|
|
33
32
|
"""
|
|
34
33
|
Create connection
|
|
35
34
|
"""
|
|
36
|
-
return
|
|
35
|
+
return MicroStrategyClient(connection)
|
|
37
36
|
|
|
38
37
|
|
|
39
38
|
def test_connection(
|
|
40
39
|
metadata: OpenMetadata,
|
|
41
|
-
client:
|
|
42
|
-
service_connection:
|
|
40
|
+
client: MicroStrategyClient,
|
|
41
|
+
service_connection: MicroStrategyConnection,
|
|
43
42
|
automation_workflow: Optional[AutomationWorkflow] = None,
|
|
44
|
-
timeout_seconds: Optional[int] = THREE_MIN,
|
|
45
43
|
) -> TestConnectionResult:
|
|
46
44
|
"""
|
|
47
45
|
Test connection. This can be executed either as part
|
|
48
46
|
of a metadata workflow or during an Automation Workflow
|
|
49
47
|
"""
|
|
50
48
|
|
|
51
|
-
test_fn = {
|
|
49
|
+
test_fn = {
|
|
50
|
+
"GetToken": client.get_auth_params,
|
|
51
|
+
"GetProjects": client.get_projects_list,
|
|
52
|
+
}
|
|
52
53
|
|
|
53
54
|
return test_connection_steps(
|
|
54
55
|
metadata=metadata,
|
|
55
56
|
test_fn=test_fn,
|
|
56
57
|
service_type=service_connection.type.value,
|
|
57
58
|
automation_workflow=automation_workflow,
|
|
58
|
-
timeout_seconds=timeout_seconds,
|
|
59
59
|
)
|