openmetadata-ingestion 1.6.0.0rc1__py3-none-any.whl → 1.6.0.0rc2__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/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 +10 -5
- 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/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 +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/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 +127 -0
- metadata/generated/schema/metadataIngestion/databaseServiceMetadataPipeline.py +1 -1
- metadata/generated/schema/metadataIngestion/databaseServiceProfilerPipeline.py +1 -25
- 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 +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/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/models/patch_request.py +1 -0
- metadata/ingestion/ometa/client.py +13 -8
- 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/microstrategy/client.py +252 -0
- metadata/ingestion/source/dashboard/{mstr → microstrategy}/connection.py +7 -10
- 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/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/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/dbt/constants.py +4 -0
- metadata/ingestion/source/database/dbt/dbt_config.py +19 -1
- metadata/ingestion/source/database/dbt/dbt_service.py +8 -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/sample_data.py +4 -12
- metadata/ingestion/source/database/snowflake/connection.py +1 -1
- metadata/ingestion/source/database/snowflake/service_spec.py +6 -0
- 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/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 +5 -4
- metadata/profiler/processor/core.py +5 -58
- metadata/profiler/processor/handle_partition.py +0 -48
- metadata/profiler/processor/runner.py +111 -35
- metadata/profiler/processor/sample_data_handler.py +7 -4
- metadata/profiler/source/database/base/profiler_source.py +57 -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 +158 -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 +90 -98
- metadata/sampler/sqlalchemy/snowflake/sampler.py +95 -0
- metadata/{profiler/processor/sampler → sampler}/sqlalchemy/trino/sampler.py +5 -3
- metadata/utils/constants.py +63 -0
- metadata/utils/helpers.py +1 -2
- 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/profiler.py +1 -17
- {openmetadata_ingestion-1.6.0.0rc1.dist-info → openmetadata_ingestion-1.6.0.0rc2.dist-info}/METADATA +366 -366
- {openmetadata_ingestion-1.6.0.0rc1.dist-info → openmetadata_ingestion-1.6.0.0rc2.dist-info}/RECORD +781 -771
- 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.0rc2.dist-info}/LICENSE +0 -0
- {openmetadata_ingestion-1.6.0.0rc1.dist-info → openmetadata_ingestion-1.6.0.0rc2.dist-info}/WHEEL +0 -0
- {openmetadata_ingestion-1.6.0.0rc1.dist-info → openmetadata_ingestion-1.6.0.0rc2.dist-info}/entry_points.txt +0 -0
- {openmetadata_ingestion-1.6.0.0rc1.dist-info → openmetadata_ingestion-1.6.0.0rc2.dist-info}/top_level.txt +0 -0
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
DBT source methods.
|
|
14
14
|
"""
|
|
15
15
|
import traceback
|
|
16
|
+
from copy import deepcopy
|
|
16
17
|
from datetime import datetime
|
|
17
18
|
from typing import Any, Iterable, List, Optional, Union
|
|
18
19
|
|
|
@@ -324,7 +325,41 @@ class DbtSource(DbtServiceSource):
|
|
|
324
325
|
None,
|
|
325
326
|
)
|
|
326
327
|
|
|
327
|
-
|
|
328
|
+
def _add_dbt_freshness_test_from_sources(
|
|
329
|
+
self, key: str, manifest_node, manifest_entities, dbt_objects: DbtObjects
|
|
330
|
+
):
|
|
331
|
+
# in dbt manifest sources node name is table/view name (not test name like with test nodes)
|
|
332
|
+
# so in order for the test creation to be named precisely I am amending manifest node name within it's deepcopy
|
|
333
|
+
manifest_node_new = deepcopy(manifest_node)
|
|
334
|
+
manifest_node_new.name = manifest_node_new.name + "_freshness"
|
|
335
|
+
|
|
336
|
+
freshness_test_result = next(
|
|
337
|
+
(item for item in dbt_objects.dbt_sources.results if item.unique_id == key),
|
|
338
|
+
None,
|
|
339
|
+
)
|
|
340
|
+
|
|
341
|
+
if freshness_test_result:
|
|
342
|
+
self.context.get().dbt_tests[key + "_freshness"] = {
|
|
343
|
+
DbtCommonEnum.MANIFEST_NODE.value: manifest_node_new
|
|
344
|
+
}
|
|
345
|
+
self.context.get().dbt_tests[key + "_freshness"][
|
|
346
|
+
DbtCommonEnum.UPSTREAM.value
|
|
347
|
+
] = self.parse_upstream_nodes(manifest_entities, manifest_node)
|
|
348
|
+
self.context.get().dbt_tests[key + "_freshness"][
|
|
349
|
+
DbtCommonEnum.RESULTS.value
|
|
350
|
+
] = freshness_test_result
|
|
351
|
+
|
|
352
|
+
def add_dbt_sources(
|
|
353
|
+
self, key: str, manifest_node, manifest_entities, dbt_objects: DbtObjects
|
|
354
|
+
) -> None:
|
|
355
|
+
"""
|
|
356
|
+
Method to append dbt test cases based on sources file for later processing
|
|
357
|
+
"""
|
|
358
|
+
self._add_dbt_freshness_test_from_sources(
|
|
359
|
+
key, manifest_node, manifest_entities, dbt_objects
|
|
360
|
+
)
|
|
361
|
+
|
|
362
|
+
# pylint: disable=too-many-locals, too-many-branches, too-many-statements
|
|
328
363
|
def yield_data_models(
|
|
329
364
|
self, dbt_objects: DbtObjects
|
|
330
365
|
) -> Iterable[Either[DataModelLink]]:
|
|
@@ -376,6 +411,17 @@ class DbtSource(DbtServiceSource):
|
|
|
376
411
|
)
|
|
377
412
|
continue
|
|
378
413
|
|
|
414
|
+
if (
|
|
415
|
+
dbt_objects.dbt_sources
|
|
416
|
+
and resource_type == SkipResourceTypeEnum.SOURCE.value
|
|
417
|
+
):
|
|
418
|
+
self.add_dbt_sources(
|
|
419
|
+
key,
|
|
420
|
+
manifest_node=manifest_node,
|
|
421
|
+
manifest_entities=manifest_entities,
|
|
422
|
+
dbt_objects=dbt_objects,
|
|
423
|
+
)
|
|
424
|
+
|
|
379
425
|
# Skip the ephemeral nodes since it is not materialized
|
|
380
426
|
if check_ephemeral_node(manifest_node):
|
|
381
427
|
logger.debug(f"Skipping ephemeral DBT node: {key}.")
|
|
@@ -549,6 +595,29 @@ class DbtSource(DbtServiceSource):
|
|
|
549
595
|
f"Failed to parse the DBT node {node} to get upstream nodes: {exc}"
|
|
550
596
|
)
|
|
551
597
|
continue
|
|
598
|
+
|
|
599
|
+
if dbt_node.resource_type == SkipResourceTypeEnum.SOURCE.value:
|
|
600
|
+
parent_fqn = fqn.build(
|
|
601
|
+
self.metadata,
|
|
602
|
+
entity_type=Table,
|
|
603
|
+
service_name="*",
|
|
604
|
+
database_name=get_corrected_name(dbt_node.database),
|
|
605
|
+
schema_name=get_corrected_name(dbt_node.schema_),
|
|
606
|
+
table_name=dbt_node.name,
|
|
607
|
+
)
|
|
608
|
+
|
|
609
|
+
# check if the parent table exists in OM before adding it to the upstream list
|
|
610
|
+
parent_table_entity: Optional[
|
|
611
|
+
Union[Table, List[Table]]
|
|
612
|
+
] = get_entity_from_es_result(
|
|
613
|
+
entity_list=self.metadata.es_search_from_fqn(
|
|
614
|
+
entity_type=Table, fqn_search_string=parent_fqn
|
|
615
|
+
),
|
|
616
|
+
fetch_multiple_entities=False,
|
|
617
|
+
)
|
|
618
|
+
if parent_table_entity:
|
|
619
|
+
upstream_nodes.append(parent_fqn)
|
|
620
|
+
|
|
552
621
|
return upstream_nodes
|
|
553
622
|
|
|
554
623
|
def parse_data_model_columns(
|
|
@@ -20,12 +20,14 @@ from pydantic import BaseModel
|
|
|
20
20
|
class DbtFiles(BaseModel):
|
|
21
21
|
dbt_catalog: Optional[dict] = None
|
|
22
22
|
dbt_manifest: dict
|
|
23
|
+
dbt_sources: Optional[dict] = None
|
|
23
24
|
dbt_run_results: Optional[List[dict]] = None
|
|
24
25
|
|
|
25
26
|
|
|
26
27
|
class DbtObjects(BaseModel):
|
|
27
28
|
dbt_catalog: Optional[Any] = None
|
|
28
29
|
dbt_manifest: Any
|
|
30
|
+
dbt_sources: Optional[Any] = None
|
|
29
31
|
dbt_run_results: Optional[List[Any]] = None
|
|
30
32
|
|
|
31
33
|
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
from metadata.ingestion.source.database.dynamodb.metadata import DynamodbSource
|
|
2
2
|
from metadata.profiler.interface.nosql.profiler_interface import NoSQLProfilerInterface
|
|
3
|
+
from metadata.sampler.nosql.sampler import NoSQLSampler
|
|
3
4
|
from metadata.utils.service_spec.default import DefaultDatabaseSpec
|
|
4
5
|
|
|
5
6
|
ServiceSpec = DefaultDatabaseSpec(
|
|
6
|
-
metadata_source_class=DynamodbSource,
|
|
7
|
+
metadata_source_class=DynamodbSource,
|
|
8
|
+
profiler_class=NoSQLProfilerInterface,
|
|
9
|
+
sampler_class=NoSQLSampler,
|
|
7
10
|
)
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
from metadata.ingestion.source.database.mongodb.metadata import MongodbSource
|
|
2
2
|
from metadata.profiler.interface.nosql.profiler_interface import NoSQLProfilerInterface
|
|
3
|
+
from metadata.sampler.nosql.sampler import NoSQLSampler
|
|
3
4
|
from metadata.utils.service_spec.default import DefaultDatabaseSpec
|
|
4
5
|
|
|
5
6
|
ServiceSpec = DefaultDatabaseSpec(
|
|
6
|
-
metadata_source_class=MongodbSource,
|
|
7
|
+
metadata_source_class=MongodbSource,
|
|
8
|
+
profiler_class=NoSQLProfilerInterface,
|
|
9
|
+
sampler_class=NoSQLSampler,
|
|
7
10
|
)
|
|
@@ -38,6 +38,7 @@ from metadata.ingestion.connections.test_connections import (
|
|
|
38
38
|
test_connection_db_schema_sources,
|
|
39
39
|
)
|
|
40
40
|
from metadata.ingestion.ometa.ometa_api import OpenMetadata
|
|
41
|
+
from metadata.ingestion.source.database.mysql.queries import MYSQL_TEST_GET_QUERIES
|
|
41
42
|
from metadata.utils.constants import THREE_MIN
|
|
42
43
|
|
|
43
44
|
|
|
@@ -73,10 +74,14 @@ def test_connection(
|
|
|
73
74
|
Test connection. This can be executed either as part
|
|
74
75
|
of a metadata workflow or during an Automation Workflow
|
|
75
76
|
"""
|
|
77
|
+
queries = {
|
|
78
|
+
"GetQueries": MYSQL_TEST_GET_QUERIES,
|
|
79
|
+
}
|
|
76
80
|
return test_connection_db_schema_sources(
|
|
77
81
|
metadata=metadata,
|
|
78
82
|
engine=engine,
|
|
79
83
|
service_connection=service_connection,
|
|
80
84
|
automation_workflow=automation_workflow,
|
|
81
85
|
timeout_seconds=timeout_seconds,
|
|
86
|
+
queries=queries,
|
|
82
87
|
)
|
|
@@ -9,38 +9,20 @@
|
|
|
9
9
|
# See the License for the specific language governing permissions and
|
|
10
10
|
# limitations under the License.
|
|
11
11
|
"""
|
|
12
|
-
|
|
12
|
+
MYSQL lineage module
|
|
13
13
|
"""
|
|
14
|
-
from typing import Optional
|
|
15
|
-
|
|
16
|
-
from metadata.generated.schema.entity.services.connections.database.mysqlConnection import (
|
|
17
|
-
MysqlConnection,
|
|
18
|
-
)
|
|
19
|
-
from metadata.generated.schema.metadataIngestion.workflow import (
|
|
20
|
-
Source as WorkflowSource,
|
|
21
|
-
)
|
|
22
|
-
from metadata.ingestion.api.steps import InvalidSourceException
|
|
23
|
-
from metadata.ingestion.ometa.ometa_api import OpenMetadata
|
|
24
14
|
from metadata.ingestion.source.database.lineage_source import LineageSource
|
|
25
|
-
from metadata.
|
|
26
|
-
|
|
27
|
-
logger = ingestion_logger()
|
|
15
|
+
from metadata.ingestion.source.database.mysql.queries import MYSQL_SQL_STATEMENT
|
|
16
|
+
from metadata.ingestion.source.database.mysql.query_parser import MysqlQueryParserSource
|
|
28
17
|
|
|
29
18
|
|
|
30
|
-
class MysqlLineageSource(LineageSource):
|
|
19
|
+
class MysqlLineageSource(MysqlQueryParserSource, LineageSource):
|
|
20
|
+
sql_stmt = MYSQL_SQL_STATEMENT
|
|
21
|
+
filters = """
|
|
22
|
+
AND (
|
|
23
|
+
lower(argument) LIKE '%%create%%table%%select%%'
|
|
24
|
+
OR lower(argument) LIKE '%%insert%%into%%select%%'
|
|
25
|
+
OR lower(argument) LIKE '%%update%%'
|
|
26
|
+
OR lower(argument) LIKE '%%merge%%'
|
|
27
|
+
)
|
|
31
28
|
"""
|
|
32
|
-
Mysql lineage source implements view lineage
|
|
33
|
-
"""
|
|
34
|
-
|
|
35
|
-
@classmethod
|
|
36
|
-
def create(
|
|
37
|
-
cls, config_dict, metadata: OpenMetadata, pipeline_name: Optional[str] = None
|
|
38
|
-
):
|
|
39
|
-
"""Create class instance"""
|
|
40
|
-
config: WorkflowSource = WorkflowSource.model_validate(config_dict)
|
|
41
|
-
connection: MysqlConnection = config.serviceConnection.root.config
|
|
42
|
-
if not isinstance(connection, MysqlConnection):
|
|
43
|
-
raise InvalidSourceException(
|
|
44
|
-
f"Expected MysqlConnection, but got {connection}"
|
|
45
|
-
)
|
|
46
|
-
return cls(config, metadata)
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# Copyright 2021 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
|
+
SQL Queries used during ingestion
|
|
13
|
+
"""
|
|
14
|
+
import textwrap
|
|
15
|
+
|
|
16
|
+
MYSQL_SQL_STATEMENT = textwrap.dedent(
|
|
17
|
+
"""
|
|
18
|
+
SELECT
|
|
19
|
+
NULL `database_name`,
|
|
20
|
+
argument `query_text`,
|
|
21
|
+
event_time `start_time`,
|
|
22
|
+
NULL `end_time`,
|
|
23
|
+
NULL `duration`,
|
|
24
|
+
NULL `schema_name`,
|
|
25
|
+
NULL `query_type`,
|
|
26
|
+
NULL `user_name`,
|
|
27
|
+
NULL `aborted`
|
|
28
|
+
FROM mysql.general_log
|
|
29
|
+
WHERE command_type = 'Query'
|
|
30
|
+
AND event_time between '{start_time}' and '{end_time}'
|
|
31
|
+
AND argument NOT LIKE '/* {{"app": "OpenMetadata", %%}} */%%'
|
|
32
|
+
AND argument NOT LIKE '/* {{"app": "dbt", %%}} */%%'
|
|
33
|
+
{filters}
|
|
34
|
+
ORDER BY event_time desc
|
|
35
|
+
LIMIT {result_limit};
|
|
36
|
+
"""
|
|
37
|
+
)
|
|
38
|
+
|
|
39
|
+
MYSQL_TEST_GET_QUERIES = textwrap.dedent(
|
|
40
|
+
"""
|
|
41
|
+
SELECT `argument` from mysql.general_log limit 1;
|
|
42
|
+
"""
|
|
43
|
+
)
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# Copyright 2021 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
|
+
Mysql query parser module
|
|
13
|
+
"""
|
|
14
|
+
from abc import ABC
|
|
15
|
+
from typing import Optional
|
|
16
|
+
|
|
17
|
+
from metadata.generated.schema.entity.services.connections.database.mysqlConnection import (
|
|
18
|
+
MysqlConnection,
|
|
19
|
+
)
|
|
20
|
+
from metadata.generated.schema.metadataIngestion.workflow import (
|
|
21
|
+
Source as WorkflowSource,
|
|
22
|
+
)
|
|
23
|
+
from metadata.ingestion.api.steps import InvalidSourceException
|
|
24
|
+
from metadata.ingestion.ometa.ometa_api import OpenMetadata
|
|
25
|
+
from metadata.ingestion.source.database.query_parser_source import QueryParserSource
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
class MysqlQueryParserSource(QueryParserSource, ABC):
|
|
29
|
+
"""
|
|
30
|
+
Mysql base for Usage and Lineage
|
|
31
|
+
"""
|
|
32
|
+
|
|
33
|
+
filters: str
|
|
34
|
+
|
|
35
|
+
@classmethod
|
|
36
|
+
def create(
|
|
37
|
+
cls, config_dict, metadata: OpenMetadata, pipeline_name: Optional[str] = None
|
|
38
|
+
):
|
|
39
|
+
"""Create class instance"""
|
|
40
|
+
config: WorkflowSource = WorkflowSource.model_validate(config_dict)
|
|
41
|
+
connection: MysqlConnection = config.serviceConnection.root.config
|
|
42
|
+
if not isinstance(connection, MysqlConnection):
|
|
43
|
+
raise InvalidSourceException(
|
|
44
|
+
f"Expected MysqlConnection, but got {connection}"
|
|
45
|
+
)
|
|
46
|
+
return cls(config, metadata)
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
+
from metadata.ingestion.source.database.mysql.lineage import MysqlLineageSource
|
|
1
2
|
from metadata.ingestion.source.database.mysql.metadata import MysqlSource
|
|
3
|
+
from metadata.ingestion.source.database.mysql.usage import MysqlUsageSource
|
|
2
4
|
from metadata.utils.service_spec.default import DefaultDatabaseSpec
|
|
3
5
|
|
|
4
|
-
ServiceSpec = DefaultDatabaseSpec(
|
|
6
|
+
ServiceSpec = DefaultDatabaseSpec(
|
|
7
|
+
metadata_source_class=MysqlSource,
|
|
8
|
+
lineage_source_class=MysqlLineageSource,
|
|
9
|
+
usage_source_class=MysqlUsageSource,
|
|
10
|
+
)
|
|
@@ -8,22 +8,17 @@
|
|
|
8
8
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
9
9
|
# See the License for the specific language governing permissions and
|
|
10
10
|
# limitations under the License.
|
|
11
|
-
|
|
12
11
|
"""
|
|
13
|
-
|
|
12
|
+
MYSQL usage module
|
|
14
13
|
"""
|
|
15
|
-
|
|
16
|
-
from
|
|
17
|
-
|
|
18
|
-
from metadata.data_quality.builders.i_validator_builder import IValidatorBuilder
|
|
19
|
-
|
|
20
|
-
if TYPE_CHECKING:
|
|
21
|
-
pass
|
|
14
|
+
from metadata.ingestion.source.database.mysql.queries import MYSQL_SQL_STATEMENT
|
|
15
|
+
from metadata.ingestion.source.database.mysql.query_parser import MysqlQueryParserSource
|
|
16
|
+
from metadata.ingestion.source.database.usage_source import UsageSource
|
|
22
17
|
|
|
23
18
|
|
|
24
|
-
class
|
|
25
|
-
|
|
19
|
+
class MysqlUsageSource(MysqlQueryParserSource, UsageSource):
|
|
20
|
+
sql_stmt = MYSQL_SQL_STATEMENT
|
|
21
|
+
filters = ""
|
|
26
22
|
|
|
27
|
-
def
|
|
28
|
-
"""
|
|
29
|
-
return "pandas"
|
|
23
|
+
def format_query(self, query: bytes) -> str:
|
|
24
|
+
return query.decode(errors="ignore").replace("\\n", "\n")
|
|
@@ -136,7 +136,7 @@ from metadata.parsers.schema_parsers import (
|
|
|
136
136
|
InvalidSchemaTypeException,
|
|
137
137
|
schema_parser_config_registry,
|
|
138
138
|
)
|
|
139
|
-
from metadata.
|
|
139
|
+
from metadata.sampler.models import SampleData, SamplerResponse
|
|
140
140
|
from metadata.utils import entity_link, fqn
|
|
141
141
|
from metadata.utils.constants import UTF_8
|
|
142
142
|
from metadata.utils.fqn import FQN_SEPARATOR
|
|
@@ -899,22 +899,14 @@ class SampleDataSource(
|
|
|
899
899
|
|
|
900
900
|
self.metadata.ingest_table_sample_data(
|
|
901
901
|
table_entity,
|
|
902
|
-
|
|
902
|
+
sample_data=SamplerResponse(
|
|
903
903
|
table=table_entity,
|
|
904
|
-
profile=CreateTableProfileRequest(
|
|
905
|
-
tableProfile=TableProfile(
|
|
906
|
-
timestamp=Timestamp(
|
|
907
|
-
int(datetime.now().timestamp() * 1000)
|
|
908
|
-
),
|
|
909
|
-
columnCount=1.0,
|
|
910
|
-
rowCount=3.0,
|
|
911
|
-
)
|
|
912
|
-
),
|
|
913
904
|
sample_data=SampleData(
|
|
914
905
|
data=TableData(
|
|
915
906
|
rows=table["sampleData"]["rows"],
|
|
916
907
|
columns=table["sampleData"]["columns"],
|
|
917
|
-
)
|
|
908
|
+
),
|
|
909
|
+
store=True,
|
|
918
910
|
),
|
|
919
911
|
).sample_data.data,
|
|
920
912
|
)
|
|
@@ -225,7 +225,7 @@ def execute_inspector_func(engine_wrapper: SnowflakeEngineWrapper, func_name: st
|
|
|
225
225
|
the function with name `func_name` and executes it
|
|
226
226
|
"""
|
|
227
227
|
_init_database(engine_wrapper)
|
|
228
|
-
engine_wrapper.engine.execute(f
|
|
228
|
+
engine_wrapper.engine.execute(f'USE DATABASE "{engine_wrapper.database_name}"')
|
|
229
229
|
inspector = inspect(engine_wrapper.engine)
|
|
230
230
|
inspector_fn = getattr(inspector, func_name)
|
|
231
231
|
inspector_fn()
|
|
@@ -1,9 +1,13 @@
|
|
|
1
|
+
from metadata.data_quality.interface.sqlalchemy.snowflake.test_suite_interface import (
|
|
2
|
+
SnowflakeTestSuiteInterface,
|
|
3
|
+
)
|
|
1
4
|
from metadata.ingestion.source.database.snowflake.lineage import SnowflakeLineageSource
|
|
2
5
|
from metadata.ingestion.source.database.snowflake.metadata import SnowflakeSource
|
|
3
6
|
from metadata.ingestion.source.database.snowflake.profiler.profiler import (
|
|
4
7
|
SnowflakeProfiler,
|
|
5
8
|
)
|
|
6
9
|
from metadata.ingestion.source.database.snowflake.usage import SnowflakeUsageSource
|
|
10
|
+
from metadata.sampler.sqlalchemy.snowflake.sampler import SnowflakeSampler
|
|
7
11
|
from metadata.utils.service_spec.default import DefaultDatabaseSpec
|
|
8
12
|
|
|
9
13
|
ServiceSpec = DefaultDatabaseSpec(
|
|
@@ -11,4 +15,6 @@ ServiceSpec = DefaultDatabaseSpec(
|
|
|
11
15
|
lineage_source_class=SnowflakeLineageSource,
|
|
12
16
|
usage_source_class=SnowflakeUsageSource,
|
|
13
17
|
profiler_class=SnowflakeProfiler,
|
|
18
|
+
test_suite_class=SnowflakeTestSuiteInterface,
|
|
19
|
+
sampler_class=SnowflakeSampler,
|
|
14
20
|
)
|
|
@@ -4,6 +4,7 @@ from metadata.ingestion.source.database.trino.usage import TrinoUsageSource
|
|
|
4
4
|
from metadata.profiler.interface.sqlalchemy.trino.profiler_interface import (
|
|
5
5
|
TrinoProfilerInterface,
|
|
6
6
|
)
|
|
7
|
+
from metadata.sampler.sqlalchemy.trino.sampler import TrinoSampler
|
|
7
8
|
from metadata.utils.service_spec.default import DefaultDatabaseSpec
|
|
8
9
|
|
|
9
10
|
ServiceSpec = DefaultDatabaseSpec(
|
|
@@ -11,4 +12,5 @@ ServiceSpec = DefaultDatabaseSpec(
|
|
|
11
12
|
lineage_source_class=TrinoLineageSource,
|
|
12
13
|
usage_source_class=TrinoUsageSource,
|
|
13
14
|
profiler_class=TrinoProfilerInterface,
|
|
15
|
+
sampler_class=TrinoSampler,
|
|
14
16
|
)
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
from metadata.data_quality.interface.sqlalchemy.unity_catalog.test_suite_interface import (
|
|
2
|
+
UnityCatalogTestSuiteInterface,
|
|
3
|
+
)
|
|
1
4
|
from metadata.ingestion.source.database.unitycatalog.lineage import (
|
|
2
5
|
UnitycatalogLineageSource,
|
|
3
6
|
)
|
|
@@ -15,4 +18,5 @@ ServiceSpec = DefaultDatabaseSpec(
|
|
|
15
18
|
lineage_source_class=UnitycatalogLineageSource,
|
|
16
19
|
usage_source_class=UnitycatalogUsageSource,
|
|
17
20
|
profiler_class=UnityCatalogProfilerInterface,
|
|
21
|
+
test_suite_class=UnityCatalogTestSuiteInterface,
|
|
18
22
|
)
|
|
@@ -16,7 +16,9 @@ from functools import partial, singledispatch
|
|
|
16
16
|
from typing import Optional
|
|
17
17
|
|
|
18
18
|
from airflow import settings
|
|
19
|
+
from airflow.models.serialized_dag import SerializedDagModel
|
|
19
20
|
from sqlalchemy.engine import Engine
|
|
21
|
+
from sqlalchemy.orm import sessionmaker
|
|
20
22
|
|
|
21
23
|
from metadata.generated.schema.entity.automations.workflow import (
|
|
22
24
|
Workflow as AutomationWorkflow,
|
|
@@ -102,6 +104,18 @@ def get_connection(connection: AirflowConnection) -> Engine:
|
|
|
102
104
|
raise SourceConnectionException(msg) from exc
|
|
103
105
|
|
|
104
106
|
|
|
107
|
+
class AirflowPipelineDetailsAccessError(Exception):
|
|
108
|
+
"""
|
|
109
|
+
Raise when Pipeline information is not retrieved
|
|
110
|
+
"""
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
class AirflowTaskDetailsAccessError(Exception):
|
|
114
|
+
"""
|
|
115
|
+
Raise when Task detail information is not retrieved
|
|
116
|
+
"""
|
|
117
|
+
|
|
118
|
+
|
|
105
119
|
def test_connection(
|
|
106
120
|
metadata: OpenMetadata,
|
|
107
121
|
engine: Engine,
|
|
@@ -114,8 +128,37 @@ def test_connection(
|
|
|
114
128
|
of a metadata workflow or during an Automation Workflow
|
|
115
129
|
"""
|
|
116
130
|
|
|
117
|
-
|
|
118
|
-
|
|
131
|
+
session_maker = sessionmaker(bind=engine)
|
|
132
|
+
session = session_maker()
|
|
133
|
+
|
|
134
|
+
def test_pipeline_details_access(session):
|
|
135
|
+
try:
|
|
136
|
+
result = session.query(SerializedDagModel).first()
|
|
137
|
+
return result
|
|
138
|
+
except Exception as e:
|
|
139
|
+
raise AirflowPipelineDetailsAccessError(
|
|
140
|
+
f"Pipeline details access error: {e}"
|
|
141
|
+
)
|
|
142
|
+
|
|
143
|
+
def test_task_detail_access(session):
|
|
144
|
+
try:
|
|
145
|
+
json_data_column = (
|
|
146
|
+
SerializedDagModel._data # For 2.3.0 onwards # pylint: disable=protected-access
|
|
147
|
+
if hasattr(SerializedDagModel, "_data")
|
|
148
|
+
else SerializedDagModel.data # For 2.2.5 and 2.1.4
|
|
149
|
+
)
|
|
150
|
+
result = session.query(json_data_column).first()
|
|
151
|
+
|
|
152
|
+
retrieved_tasks = result[0]["dag"]["tasks"]
|
|
153
|
+
return retrieved_tasks
|
|
154
|
+
except Exception as e:
|
|
155
|
+
raise AirflowTaskDetailsAccessError(f"Task details access error : {e}")
|
|
156
|
+
|
|
157
|
+
test_fn = {
|
|
158
|
+
"CheckAccess": partial(test_connection_engine_step, engine),
|
|
159
|
+
"PipelineDetailsAccess": partial(test_pipeline_details_access, session),
|
|
160
|
+
"TaskDetailAccess": partial(test_task_detail_access, session),
|
|
161
|
+
}
|
|
119
162
|
return test_connection_steps(
|
|
120
163
|
metadata=metadata,
|
|
121
164
|
test_fn=test_fn,
|
|
@@ -357,32 +357,42 @@ class AirflowSource(PipelineServiceSource):
|
|
|
357
357
|
).filter(
|
|
358
358
|
DagModel.is_paused == False # pylint: disable=singleton-comparison
|
|
359
359
|
)
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
360
|
+
limit = 100 # Number of records per batch
|
|
361
|
+
offset = 0 # Start
|
|
362
|
+
|
|
363
|
+
while True:
|
|
364
|
+
paginated_query = session_query.limit(limit).offset(offset)
|
|
365
|
+
results = paginated_query.all()
|
|
366
|
+
if not results:
|
|
367
|
+
break
|
|
368
|
+
for serialized_dag in results:
|
|
369
|
+
try:
|
|
370
|
+
data = serialized_dag[1]["dag"]
|
|
371
|
+
dag = AirflowDagDetails(
|
|
372
|
+
dag_id=serialized_dag[0],
|
|
373
|
+
fileloc=serialized_dag[2],
|
|
374
|
+
data=AirflowDag.model_validate(serialized_dag[1]),
|
|
375
|
+
max_active_runs=data.get("max_active_runs", None),
|
|
376
|
+
description=data.get("_description", None),
|
|
377
|
+
start_date=data.get("start_date", None),
|
|
378
|
+
tasks=list(
|
|
379
|
+
map(self._extract_serialized_task, data.get("tasks", []))
|
|
380
|
+
),
|
|
381
|
+
schedule_interval=get_schedule_interval(data),
|
|
382
|
+
owner=self.fetch_dag_owners(data),
|
|
383
|
+
)
|
|
376
384
|
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
385
|
+
yield dag
|
|
386
|
+
except ValidationError as err:
|
|
387
|
+
logger.debug(traceback.format_exc())
|
|
388
|
+
logger.warning(
|
|
389
|
+
f"Error building pydantic model for {serialized_dag} - {err}"
|
|
390
|
+
)
|
|
391
|
+
except Exception as err:
|
|
392
|
+
logger.debug(traceback.format_exc())
|
|
393
|
+
logger.warning(f"Wild error yielding dag {serialized_dag} - {err}")
|
|
394
|
+
|
|
395
|
+
offset += limit
|
|
386
396
|
|
|
387
397
|
def fetch_dag_owners(self, data) -> Optional[str]:
|
|
388
398
|
"""
|