openmetadata-ingestion 1.3.4.0__py3-none-any.whl → 1.4.0.0__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/__version__.py +13 -0
- metadata/automations/runner.py +9 -0
- metadata/cli/app.py +0 -1
- metadata/cli/lineage.py +5 -1
- metadata/cli/restore.py +7 -0
- metadata/cmd.py +2 -345
- metadata/data_insight/processor/reports/cost_analysis_report_data_processor.py +0 -1
- metadata/data_insight/processor/reports/web_analytic_report_data_processor.py +12 -5
- metadata/data_quality/api/models.py +1 -0
- metadata/data_quality/processor/test_case_runner.py +9 -2
- metadata/data_quality/source/test_suite.py +14 -3
- metadata/data_quality/validations/base_test_handler.py +1 -1
- metadata/data_quality/validations/column/base/columnValuesMissingCount.py +4 -1
- metadata/data_quality/validations/column/sqlalchemy/columnValuesToBeUnique.py +28 -17
- metadata/data_quality/validations/mixins/sqa_validator_mixin.py +4 -1
- metadata/data_quality/validations/table/base/tableCustomSQLQuery.py +1 -1
- metadata/examples/workflows/airbyte.yaml +1 -0
- metadata/examples/workflows/airflow.yaml +1 -1
- metadata/examples/workflows/airflow_backend.yaml +1 -1
- metadata/examples/workflows/airflow_postgres.yaml +1 -1
- metadata/examples/workflows/amundsen.yaml +1 -0
- metadata/examples/workflows/athena.yaml +1 -0
- metadata/examples/workflows/athena_lineage.yaml +1 -1
- metadata/examples/workflows/athena_usage.yaml +1 -0
- metadata/examples/workflows/atlas.yaml +1 -0
- metadata/examples/workflows/azuresql.yaml +1 -0
- metadata/examples/workflows/azuresql_lineage.yaml +1 -0
- metadata/examples/workflows/azuresql_usage.yaml +1 -0
- metadata/examples/workflows/bigquery.yaml +1 -0
- metadata/examples/workflows/bigquery_lineage.yaml +1 -0
- metadata/examples/workflows/bigquery_profiler.yaml +1 -0
- metadata/examples/workflows/bigquery_usage.yaml +1 -0
- metadata/examples/workflows/bigtable.yaml +1 -1
- metadata/examples/workflows/clickhouse.yaml +1 -0
- metadata/examples/workflows/clickhouse_lineage.yaml +1 -0
- metadata/examples/workflows/clickhouse_usage.yaml +1 -0
- metadata/examples/workflows/couchbase.yaml +1 -1
- metadata/examples/workflows/dagster.yaml +1 -0
- metadata/examples/workflows/data_insight.yaml +1 -1
- metadata/examples/workflows/databricks.yaml +1 -0
- metadata/examples/workflows/databricks_lineage.yaml +1 -0
- metadata/examples/workflows/databricks_pipeline.yaml +1 -0
- metadata/examples/workflows/databricks_usage.yaml +1 -0
- metadata/examples/workflows/datalake_azure_client_secret.yaml +1 -0
- metadata/examples/workflows/datalake_gcs.yaml +1 -0
- metadata/examples/workflows/datalake_profiler.yaml +1 -0
- metadata/examples/workflows/datalake_s3.yaml +1 -0
- metadata/examples/workflows/db2.yaml +1 -0
- metadata/examples/workflows/db2_profiler.yaml +1 -0
- metadata/examples/workflows/dbt.yaml +2 -0
- metadata/examples/workflows/deltalake.yaml +1 -0
- metadata/examples/workflows/domodashboard.yaml +1 -0
- metadata/examples/workflows/dynamodb.yaml +1 -0
- metadata/examples/workflows/elasticsearch.yaml +1 -1
- metadata/examples/workflows/fivetran.yaml +1 -0
- metadata/examples/workflows/glue.yaml +1 -0
- metadata/examples/workflows/gluepipeline.yaml +1 -0
- metadata/examples/workflows/hive.yaml +1 -0
- metadata/examples/workflows/impala.yaml +1 -0
- metadata/examples/workflows/kafka.yaml +1 -1
- metadata/examples/workflows/kafka_connect.yaml +30 -0
- metadata/examples/workflows/kinesis.yaml +1 -1
- metadata/examples/workflows/lightdash.yaml +1 -0
- metadata/examples/workflows/looker.yaml +1 -0
- metadata/examples/workflows/mariadb.yaml +1 -0
- metadata/examples/workflows/metabase.yaml +1 -0
- metadata/examples/workflows/mlflow.yaml +1 -0
- metadata/examples/workflows/mode.yaml +3 -1
- metadata/examples/workflows/mongodb.yaml +1 -0
- metadata/examples/workflows/mssql.yaml +1 -0
- metadata/examples/workflows/mssql_lineage.yaml +1 -0
- metadata/examples/workflows/mssql_usage.yaml +1 -0
- metadata/examples/workflows/mstr.yaml +1 -0
- metadata/examples/workflows/mysql.yaml +1 -0
- metadata/examples/workflows/mysql_profiler.yaml +1 -0
- metadata/examples/workflows/openmetadata.yaml +1 -0
- metadata/examples/workflows/oracle.yaml +1 -0
- metadata/examples/workflows/oracle_lineage.yaml +1 -1
- metadata/examples/workflows/oracle_usage.yaml +1 -0
- metadata/examples/workflows/pinotdb.yaml +1 -0
- metadata/examples/workflows/postgres.yaml +1 -0
- metadata/examples/workflows/postgres_lineage.yaml +1 -1
- metadata/examples/workflows/postgres_usage.yaml +1 -1
- metadata/examples/workflows/powerbi.yaml +52 -0
- metadata/examples/workflows/presto.yaml +1 -0
- metadata/examples/workflows/qlik_sense.yaml +6 -4
- metadata/examples/workflows/qlikcloud.yaml +31 -0
- metadata/examples/workflows/query_log_usage.yaml +1 -0
- metadata/examples/workflows/quicksight.yaml +1 -0
- metadata/examples/workflows/redash.yaml +1 -0
- metadata/examples/workflows/redpanda.yaml +1 -0
- metadata/examples/workflows/redshift.yaml +1 -0
- metadata/examples/workflows/redshift_lineage.yaml +1 -0
- metadata/examples/workflows/redshift_profiler.yaml +1 -0
- metadata/examples/workflows/redshift_usage.yaml +1 -0
- metadata/examples/workflows/sagemaker.yaml +1 -1
- metadata/examples/workflows/salesforce.yaml +1 -0
- metadata/examples/workflows/sas.yaml +1 -1
- metadata/examples/workflows/singlestore.yaml +1 -0
- metadata/examples/workflows/snowflake.yaml +1 -0
- metadata/examples/workflows/snowflake_lineage.yaml +1 -0
- metadata/examples/workflows/snowflake_usage.yaml +1 -0
- metadata/examples/workflows/spline.yaml +5 -4
- metadata/examples/workflows/sqlite.yaml +1 -0
- metadata/examples/workflows/superset.yaml +1 -0
- metadata/examples/workflows/tableau.yaml +1 -0
- metadata/examples/workflows/test_suite.yaml +13 -16
- metadata/examples/workflows/trino.yaml +1 -0
- metadata/examples/workflows/trino_lineage.yaml +1 -0
- metadata/examples/workflows/trino_usage.yaml +1 -0
- metadata/examples/workflows/unity_catalog.yaml +1 -1
- metadata/examples/workflows/unity_catalog_lineage.yaml +1 -1
- metadata/examples/workflows/unity_catalog_usage.yaml +1 -1
- metadata/examples/workflows/vertica.yaml +1 -0
- metadata/generated/antlr/EntityLinkLexer.py +354 -349
- 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/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 +2 -3
- metadata/generated/schema/api/classification/createTag.py +2 -3
- 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/createChart.py +1 -1
- metadata/generated/schema/api/data/createContainer.py +4 -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/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 +1 -1
- metadata/generated/schema/api/data/createStoredProcedure.py +1 -1
- metadata/generated/schema/api/data/createTable.py +4 -3
- 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/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/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/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 +2 -2
- 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 +2 -2
- metadata/generated/schema/api/tests/createTestCaseResolutionStatus.py +1 -1
- metadata/generated/schema/api/tests/createTestDefinition.py +2 -2
- 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/authConfig.py +1 -1
- metadata/generated/schema/configuration/authenticationConfiguration.py +1 -1
- metadata/generated/schema/configuration/authorizerConfiguration.py +4 -1
- metadata/generated/schema/configuration/changeEventConfiguration.py +1 -1
- metadata/generated/schema/configuration/dataQualityConfiguration.py +1 -1
- metadata/generated/schema/configuration/elasticSearchConfiguration.py +4 -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/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 +66 -0
- metadata/generated/schema/configuration/slackAppConfiguration.py +1 -1
- metadata/generated/schema/configuration/taskNotificationConfiguration.py +1 -1
- metadata/generated/schema/configuration/testResultNotificationConfiguration.py +1 -1
- metadata/generated/schema/configuration/themeConfiguration.py +32 -0
- metadata/generated/schema/configuration/uiThemePreference.py +23 -0
- metadata/generated/schema/dataInsight/__init__.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/percentageOfEntitiesWithDescriptionByType.py +1 -1
- metadata/generated/schema/dataInsight/type/percentageOfEntitiesWithOwnerByType.py +1 -1
- metadata/generated/schema/dataInsight/type/percentageOfServicesWithDescription.py +1 -1
- metadata/generated/schema/dataInsight/type/percentageOfServicesWithOwner.py +1 -1
- metadata/generated/schema/dataInsight/type/totalEntitiesByTier.py +1 -1
- metadata/generated/schema/dataInsight/type/totalEntitiesByType.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/smtpSettings.py +3 -3
- metadata/generated/schema/entity/__init__.py +1 -1
- metadata/generated/schema/entity/applications/__init__.py +1 -1
- metadata/generated/schema/entity/applications/app.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 +3 -3
- metadata/generated/schema/entity/applications/configuration/external/__init__.py +1 -1
- metadata/generated/schema/entity/applications/configuration/external/automator/__init__.py +5 -0
- metadata/generated/schema/entity/applications/configuration/external/automator/addDescriptionAction.py +36 -0
- metadata/generated/schema/entity/applications/configuration/external/automator/addDomainAction.py +31 -0
- metadata/generated/schema/entity/applications/configuration/external/automator/addOwnerAction.py +31 -0
- metadata/generated/schema/entity/applications/configuration/external/automator/addTagsAction.py +36 -0
- metadata/generated/schema/entity/applications/configuration/external/automator/addTierAction.py +31 -0
- metadata/generated/schema/entity/applications/configuration/external/automator/lineagePropagationAction.py +28 -0
- metadata/generated/schema/entity/applications/configuration/external/automator/mlTaggingAction.py +22 -0
- metadata/generated/schema/entity/applications/configuration/external/automator/removeDescriptionAction.py +30 -0
- metadata/generated/schema/entity/applications/configuration/external/automator/removeDomainAction.py +22 -0
- metadata/generated/schema/entity/applications/configuration/external/automator/removeOwnerAction.py +22 -0
- metadata/generated/schema/entity/applications/configuration/external/automator/removeTagsAction.py +31 -0
- metadata/generated/schema/entity/applications/configuration/external/automator/removeTierAction.py +22 -0
- metadata/generated/schema/entity/applications/configuration/external/automatorAppConfig.py +75 -0
- metadata/generated/schema/entity/applications/configuration/external/metaPilotAppConfig.py +1 -1
- 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/metaPilotAppPrivateConfig.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 +2 -3
- metadata/generated/schema/entity/classification/tag.py +3 -9
- metadata/generated/schema/entity/data/__init__.py +1 -1
- metadata/generated/schema/entity/data/chart.py +1 -1
- metadata/generated/schema/entity/data/container.py +4 -1
- metadata/generated/schema/entity/data/dashboard.py +1 -1
- metadata/generated/schema/entity/data/dashboardDataModel.py +2 -2
- 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 +4 -1
- metadata/generated/schema/entity/data/metrics.py +1 -1
- metadata/generated/schema/entity/data/mlmodel.py +2 -2
- 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 +1 -1
- metadata/generated/schema/entity/data/storedProcedure.py +1 -1
- metadata/generated/schema/entity/data/table.py +26 -24
- 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 +18 -0
- metadata/generated/schema/entity/feed/customProperty.py +17 -0
- metadata/generated/schema/entity/feed/description.py +24 -0
- metadata/generated/schema/entity/feed/domain.py +23 -0
- metadata/generated/schema/entity/feed/entityInfo.py +19 -0
- metadata/generated/schema/entity/feed/owner.py +23 -0
- metadata/generated/schema/entity/feed/suggestion.py +1 -1
- metadata/generated/schema/entity/feed/tag.py +23 -0
- metadata/generated/schema/entity/feed/testCaseResult.py +26 -0
- metadata/generated/schema/entity/feed/thread.py +81 -2
- 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 +3 -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 +3 -3
- metadata/generated/schema/entity/policies/policy.py +1 -1
- metadata/generated/schema/entity/services/__init__.py +1 -1
- metadata/generated/schema/entity/services/connections/__init__.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/modeConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/dashboard/mstrConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/dashboard/powerBIConnection.py +33 -2
- metadata/generated/schema/entity/services/connections/dashboard/powerbi/__init__.py +3 -0
- metadata/generated/schema/entity/services/connections/dashboard/powerbi/azureConfig.py +37 -0
- metadata/generated/schema/entity/services/connections/dashboard/powerbi/bucketDetails.py +25 -0
- metadata/generated/schema/entity/services/connections/dashboard/powerbi/gcsConfig.py +37 -0
- metadata/generated/schema/entity/services/connections/dashboard/powerbi/s3Config.py +37 -0
- metadata/generated/schema/entity/services/connections/dashboard/qlikCloudConnection.py +38 -0
- metadata/generated/schema/entity/services/connections/dashboard/qlikSenseConnection.py +6 -15
- 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/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/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 +2 -2
- metadata/generated/schema/entity/services/connections/database/domoDatabaseConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/database/dorisConnection.py +4 -13
- metadata/generated/schema/entity/services/connections/database/druidConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/database/dynamoDBConnection.py +4 -1
- metadata/generated/schema/entity/services/connections/database/glueConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/database/greenplumConnection.py +2 -15
- 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 +4 -1
- metadata/generated/schema/entity/services/connections/database/mssqlConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/database/mysqlConnection.py +4 -13
- 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 +2 -15
- metadata/generated/schema/entity/services/connections/database/prestoConnection.py +11 -1
- metadata/generated/schema/entity/services/connections/database/redshiftConnection.py +2 -15
- metadata/generated/schema/entity/services/connections/database/salesforceConnection.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/trinoConnection.py +12 -3
- 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 +7 -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 +7 -3
- 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/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/domoPipelineConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/pipeline/fivetranConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/pipeline/gluePipelineConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/pipeline/kafkaConnectConnection.py +61 -0
- metadata/generated/schema/entity/services/connections/pipeline/nifiConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/pipeline/openLineageConnection.py +73 -0
- metadata/generated/schema/entity/services/connections/pipeline/sparkConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/pipeline/splineConnection.py +1 -1
- metadata/generated/schema/entity/services/connections/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 +5 -2
- metadata/generated/schema/entity/services/connections/testConnectionDefinition.py +1 -1
- metadata/generated/schema/entity/services/connections/testConnectionResult.py +1 -1
- metadata/generated/schema/entity/services/dashboardService.py +4 -1
- 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 +1 -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 +7 -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 +2 -2
- 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/emailAlertConfig.py +1 -1
- metadata/generated/schema/events/eventFilterRule.py +10 -1
- metadata/generated/schema/events/eventSubscription.py +6 -2
- metadata/generated/schema/events/eventSubscriptionOffset.py +1 -1
- metadata/generated/schema/events/failedEvent.py +1 -1
- metadata/generated/schema/events/filterResourceDescriptor.py +1 -1
- metadata/generated/schema/events/subscriptionResourceDescriptor.py +1 -1
- metadata/generated/schema/metadataIngestion/__init__.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 +19 -6
- metadata/generated/schema/metadataIngestion/dataInsightPipeline.py +1 -1
- metadata/generated/schema/metadataIngestion/databaseServiceMetadataPipeline.py +37 -1
- metadata/generated/schema/metadataIngestion/databaseServiceProfilerPipeline.py +23 -23
- metadata/generated/schema/metadataIngestion/databaseServiceQueryLineagePipeline.py +1 -1
- metadata/generated/schema/metadataIngestion/databaseServiceQueryUsagePipeline.py +1 -1
- metadata/generated/schema/metadataIngestion/dbtPipeline.py +1 -1
- metadata/generated/schema/metadataIngestion/dbtconfig/__init__.py +1 -1
- metadata/generated/schema/metadataIngestion/dbtconfig/dbtAzureConfig.py +1 -1
- metadata/generated/schema/metadataIngestion/dbtconfig/dbtBucketDetails.py +1 -1
- metadata/generated/schema/metadataIngestion/dbtconfig/dbtCloudConfig.py +1 -1
- metadata/generated/schema/metadataIngestion/dbtconfig/dbtGCSConfig.py +1 -1
- metadata/generated/schema/metadataIngestion/dbtconfig/dbtHttpConfig.py +1 -1
- metadata/generated/schema/metadataIngestion/dbtconfig/dbtLocalConfig.py +1 -1
- metadata/generated/schema/metadataIngestion/dbtconfig/dbtS3Config.py +1 -1
- metadata/generated/schema/metadataIngestion/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 +22 -4
- metadata/generated/schema/metadataIngestion/searchServiceMetadataPipeline.py +1 -1
- metadata/generated/schema/metadataIngestion/storage/__init__.py +1 -1
- metadata/generated/schema/metadataIngestion/storage/containerMetadataConfig.py +1 -1
- metadata/generated/schema/metadataIngestion/storage/manifestMetadataConfig.py +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 +1 -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/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 +16 -4
- metadata/generated/schema/security/ssl/verifySSLConfig.py +10 -1
- metadata/generated/schema/settings/__init__.py +1 -1
- metadata/generated/schema/settings/settings.py +5 -2
- metadata/generated/schema/system/__init__.py +1 -1
- metadata/generated/schema/system/entityError.py +1 -1
- metadata/generated/schema/system/eventPublisherJob.py +1 -1
- metadata/generated/schema/system/indexingError.py +1 -1
- metadata/generated/schema/system/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 +23 -7
- metadata/generated/schema/tests/customMetric.py +1 -1
- metadata/generated/schema/tests/resolved.py +1 -1
- metadata/generated/schema/tests/testCase.py +13 -2
- metadata/generated/schema/tests/testCaseResolutionStatus.py +1 -1
- metadata/generated/schema/tests/testDefinition.py +22 -2
- metadata/generated/schema/tests/testSuite.py +1 -1
- metadata/generated/schema/type/__init__.py +1 -1
- metadata/generated/schema/type/auditLog.py +1 -1
- metadata/generated/schema/type/basic.py +7 -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 +86 -0
- metadata/generated/schema/type/customProperties/enumConfig.py +1 -1
- metadata/generated/schema/type/customProperty.py +3 -3
- metadata/generated/schema/type/dailyCount.py +1 -1
- metadata/generated/schema/type/databaseConnectionConfig.py +1 -1
- metadata/generated/schema/type/entityHierarchy.py +39 -0
- metadata/generated/schema/type/entityHistory.py +1 -1
- metadata/generated/schema/type/entityLineage.py +3 -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 +4 -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/great_expectations/action.py +0 -1
- metadata/ingestion/api/delete.py +33 -1
- metadata/ingestion/api/step.py +6 -1
- metadata/ingestion/api/topology_runner.py +122 -25
- metadata/ingestion/bulksink/metadata_usage.py +6 -1
- metadata/ingestion/lineage/models.py +34 -1
- metadata/ingestion/lineage/parser.py +15 -8
- metadata/ingestion/lineage/sql_lineage.py +21 -3
- metadata/ingestion/models/custom_properties.py +3 -0
- metadata/ingestion/models/life_cycle.py +4 -1
- metadata/ingestion/models/patch_request.py +177 -35
- metadata/ingestion/models/topology.py +81 -1
- metadata/ingestion/ometa/client.py +3 -0
- metadata/ingestion/ometa/mixins/es_mixin.py +95 -42
- metadata/ingestion/ometa/mixins/lineage_mixin.py +169 -4
- metadata/ingestion/ometa/mixins/patch_mixin.py +9 -4
- metadata/ingestion/ometa/mixins/server_mixin.py +50 -5
- metadata/ingestion/ometa/mixins/tests_mixin.py +55 -1
- metadata/ingestion/ometa/mixins/user_mixin.py +18 -6
- metadata/ingestion/ometa/ometa_api.py +6 -1
- metadata/ingestion/ometa/routes.py +3 -0
- metadata/ingestion/ometa/utils.py +2 -0
- metadata/ingestion/processor/query_parser.py +36 -26
- metadata/ingestion/sink/file.py +4 -1
- metadata/ingestion/sink/metadata_rest.py +19 -5
- metadata/ingestion/source/dashboard/dashboard_service.py +75 -16
- metadata/ingestion/source/dashboard/domodashboard/metadata.py +7 -5
- metadata/ingestion/source/dashboard/lightdash/metadata.py +7 -5
- metadata/ingestion/source/dashboard/looker/metadata.py +25 -18
- metadata/ingestion/source/dashboard/metabase/client.py +39 -8
- metadata/ingestion/source/dashboard/metabase/connection.py +2 -1
- metadata/ingestion/source/dashboard/metabase/metadata.py +9 -7
- metadata/ingestion/source/dashboard/metabase/models.py +1 -1
- metadata/ingestion/source/dashboard/mode/metadata.py +7 -5
- metadata/ingestion/source/dashboard/mstr/metadata.py +10 -5
- metadata/ingestion/source/dashboard/powerbi/client.py +13 -3
- metadata/ingestion/source/dashboard/powerbi/connection.py +13 -5
- metadata/ingestion/source/dashboard/powerbi/file_client.py +327 -0
- metadata/ingestion/source/dashboard/powerbi/metadata.py +156 -53
- metadata/ingestion/source/dashboard/powerbi/models.py +26 -0
- metadata/ingestion/source/dashboard/qlikcloud/__init__.py +0 -0
- metadata/ingestion/source/dashboard/qlikcloud/client.py +167 -0
- metadata/ingestion/source/dashboard/qlikcloud/connection.py +56 -0
- metadata/ingestion/source/dashboard/qlikcloud/constants.py +66 -0
- metadata/ingestion/source/dashboard/qlikcloud/metadata.py +249 -0
- metadata/ingestion/source/dashboard/qlikcloud/models.py +33 -0
- metadata/ingestion/source/dashboard/qliksense/client.py +9 -26
- metadata/ingestion/source/dashboard/qliksense/metadata.py +30 -17
- metadata/ingestion/source/dashboard/qliksense/models.py +1 -0
- metadata/ingestion/source/dashboard/quicksight/metadata.py +105 -91
- metadata/ingestion/source/dashboard/quicksight/models.py +43 -4
- metadata/ingestion/source/dashboard/redash/metadata.py +10 -5
- metadata/ingestion/source/dashboard/superset/api_source.py +10 -5
- metadata/ingestion/source/dashboard/superset/db_source.py +12 -6
- metadata/ingestion/source/dashboard/superset/metadata.py +8 -1
- metadata/ingestion/source/dashboard/superset/mixin.py +20 -3
- metadata/ingestion/source/dashboard/superset/models.py +2 -0
- metadata/ingestion/source/dashboard/superset/queries.py +23 -6
- metadata/ingestion/source/dashboard/tableau/metadata.py +71 -10
- metadata/ingestion/source/database/athena/client.py +1 -1
- metadata/ingestion/source/database/athena/lineage.py +2 -0
- metadata/ingestion/source/database/athena/metadata.py +83 -15
- metadata/ingestion/source/database/athena/models.py +1 -1
- metadata/ingestion/source/database/athena/query_parser.py +6 -1
- metadata/ingestion/source/database/athena/usage.py +2 -0
- metadata/ingestion/source/database/azuresql/connection.py +4 -1
- metadata/ingestion/source/database/azuresql/metadata.py +4 -2
- metadata/ingestion/source/database/azuresql/query_parser.py +4 -1
- metadata/ingestion/source/database/bigquery/helper.py +23 -12
- metadata/ingestion/source/database/bigquery/incremental_table_processor.py +86 -0
- metadata/ingestion/source/database/bigquery/metadata.py +226 -52
- metadata/ingestion/source/database/bigquery/models.py +35 -1
- metadata/ingestion/source/database/bigquery/queries.py +25 -12
- metadata/ingestion/source/database/bigquery/query_parser.py +3 -1
- metadata/ingestion/source/database/bigtable/metadata.py +6 -4
- metadata/ingestion/source/database/clickhouse/metadata.py +29 -17
- metadata/ingestion/source/database/clickhouse/query_parser.py +4 -2
- metadata/ingestion/source/database/common_db_source.py +120 -65
- metadata/ingestion/source/database/common_nosql_source.py +15 -15
- metadata/ingestion/source/database/couchbase/metadata.py +8 -6
- metadata/ingestion/source/database/database_service.py +43 -27
- metadata/ingestion/source/database/databricks/metadata.py +80 -34
- metadata/ingestion/source/database/databricks/queries.py +0 -1
- metadata/ingestion/source/database/databricks/query_parser.py +9 -2
- metadata/ingestion/source/database/datalake/connection.py +1 -2
- metadata/ingestion/source/database/datalake/metadata.py +21 -19
- metadata/ingestion/source/database/db2/metadata.py +4 -1
- metadata/ingestion/source/database/dbt/dbt_service.py +13 -11
- metadata/ingestion/source/database/dbt/metadata.py +97 -33
- metadata/ingestion/source/database/dbt/models.py +10 -1
- metadata/ingestion/source/database/deltalake/connection.py +2 -2
- metadata/ingestion/source/database/deltalake/metadata.py +19 -17
- metadata/ingestion/source/database/domodatabase/metadata.py +16 -11
- metadata/ingestion/source/database/doris/connection.py +0 -10
- metadata/ingestion/source/database/doris/metadata.py +23 -4
- metadata/ingestion/source/database/druid/metadata.py +5 -1
- metadata/ingestion/source/database/dynamodb/metadata.py +3 -1
- metadata/ingestion/source/database/extended_sample_data.py +4 -2
- metadata/ingestion/source/database/external_table_lineage_mixin.py +82 -0
- metadata/ingestion/source/database/glue/metadata.py +23 -21
- metadata/ingestion/source/database/greenplum/connection.py +0 -10
- metadata/ingestion/source/database/greenplum/metadata.py +26 -11
- metadata/ingestion/source/database/hive/metadata.py +31 -4
- metadata/ingestion/source/database/iceberg/helper.py +42 -5
- metadata/ingestion/source/database/iceberg/metadata.py +18 -16
- metadata/ingestion/source/database/iceberg/models.py +12 -4
- metadata/ingestion/source/database/impala/metadata.py +4 -1
- metadata/ingestion/source/database/incremental_metadata_extraction.py +144 -0
- metadata/ingestion/source/database/life_cycle_query_mixin.py +39 -36
- metadata/ingestion/source/database/mariadb/metadata.py +5 -1
- metadata/ingestion/source/database/mongodb/metadata.py +4 -2
- metadata/ingestion/source/database/mssql/metadata.py +15 -7
- metadata/ingestion/source/database/mssql/queries.py +18 -16
- metadata/ingestion/source/database/mssql/query_parser.py +4 -1
- metadata/ingestion/source/database/mssql/utils.py +3 -0
- metadata/ingestion/source/database/mysql/connection.py +0 -11
- metadata/ingestion/source/database/mysql/metadata.py +9 -2
- metadata/ingestion/source/database/oracle/connection.py +2 -2
- metadata/ingestion/source/database/oracle/metadata.py +35 -17
- metadata/ingestion/source/database/oracle/queries.py +14 -13
- metadata/ingestion/source/database/oracle/query_parser.py +4 -1
- metadata/ingestion/source/database/pinotdb/metadata.py +4 -1
- metadata/ingestion/source/database/postgres/connection.py +0 -10
- metadata/ingestion/source/database/postgres/metadata.py +38 -15
- metadata/ingestion/source/database/postgres/queries.py +17 -1
- metadata/ingestion/source/database/postgres/query_parser.py +4 -2
- metadata/ingestion/source/database/postgres/utils.py +98 -0
- metadata/ingestion/source/database/presto/connection.py +14 -0
- metadata/ingestion/source/database/presto/metadata.py +8 -5
- metadata/ingestion/source/database/query/lineage.py +5 -1
- metadata/ingestion/source/database/query/usage.py +4 -1
- metadata/ingestion/source/database/redshift/connection.py +0 -10
- metadata/ingestion/source/database/redshift/incremental_table_processor.py +192 -0
- metadata/ingestion/source/database/redshift/metadata.py +175 -26
- metadata/ingestion/source/database/redshift/models.py +74 -1
- metadata/ingestion/source/database/redshift/queries.py +17 -2
- metadata/ingestion/source/database/redshift/query_parser.py +3 -1
- metadata/ingestion/source/database/redshift/utils.py +13 -7
- metadata/ingestion/source/database/salesforce/metadata.py +13 -11
- metadata/ingestion/source/database/sample_data.py +56 -13
- metadata/ingestion/source/database/sample_usage.py +3 -1
- metadata/ingestion/source/database/saphana/connection.py +12 -8
- metadata/ingestion/source/database/saphana/metadata.py +6 -5
- metadata/ingestion/source/database/sas/metadata.py +8 -3
- metadata/ingestion/source/database/singlestore/metadata.py +5 -1
- metadata/ingestion/source/database/snowflake/metadata.py +193 -59
- metadata/ingestion/source/database/snowflake/models.py +24 -1
- metadata/ingestion/source/database/snowflake/queries.py +147 -25
- metadata/ingestion/source/database/snowflake/query_parser.py +3 -1
- metadata/ingestion/source/database/snowflake/utils.py +187 -11
- metadata/ingestion/source/database/sql_column_handler.py +2 -0
- metadata/ingestion/source/database/sqlalchemy_source.py +4 -4
- metadata/ingestion/source/database/sqlite/metadata.py +5 -1
- metadata/ingestion/source/database/stored_procedures_mixin.py +11 -9
- metadata/ingestion/source/database/trino/connection.py +24 -1
- metadata/ingestion/source/database/trino/metadata.py +7 -4
- metadata/ingestion/source/database/trino/query_parser.py +4 -1
- metadata/ingestion/source/database/unitycatalog/lineage.py +3 -1
- metadata/ingestion/source/database/unitycatalog/metadata.py +43 -32
- metadata/ingestion/source/database/unitycatalog/query_parser.py +4 -1
- metadata/ingestion/source/database/vertica/metadata.py +4 -2
- metadata/ingestion/source/database/vertica/query_parser.py +4 -2
- metadata/ingestion/source/messaging/common_broker_source.py +45 -6
- metadata/ingestion/source/messaging/kafka/connection.py +12 -17
- metadata/ingestion/source/messaging/kafka/metadata.py +21 -1
- metadata/ingestion/source/messaging/kinesis/metadata.py +11 -5
- metadata/ingestion/source/messaging/messaging_service.py +3 -3
- metadata/ingestion/source/messaging/redpanda/metadata.py +5 -1
- metadata/ingestion/source/metadata/amundsen/metadata.py +3 -1
- metadata/ingestion/source/metadata/atlas/metadata.py +3 -1
- metadata/ingestion/source/mlmodel/mlflow/metadata.py +4 -2
- metadata/ingestion/source/mlmodel/mlmodel_service.py +3 -3
- metadata/ingestion/source/mlmodel/sagemaker/metadata.py +8 -3
- metadata/ingestion/source/pipeline/airbyte/metadata.py +9 -7
- metadata/ingestion/source/pipeline/airflow/lineage_parser.py +54 -1
- metadata/ingestion/source/pipeline/airflow/metadata.py +30 -14
- metadata/ingestion/source/pipeline/dagster/metadata.py +17 -15
- metadata/ingestion/source/pipeline/dagster/queries.py +53 -82
- metadata/ingestion/source/pipeline/databrickspipeline/metadata.py +10 -8
- metadata/ingestion/source/pipeline/domopipeline/metadata.py +6 -4
- metadata/ingestion/source/pipeline/fivetran/metadata.py +6 -4
- metadata/ingestion/source/pipeline/gluepipeline/metadata.py +7 -5
- metadata/ingestion/source/pipeline/kafkaconnect/__init__.py +0 -0
- metadata/ingestion/source/pipeline/kafkaconnect/client.py +278 -0
- metadata/ingestion/source/pipeline/kafkaconnect/connection.py +58 -0
- metadata/ingestion/source/pipeline/kafkaconnect/metadata.py +319 -0
- metadata/ingestion/source/pipeline/kafkaconnect/models.py +62 -0
- metadata/ingestion/source/pipeline/nifi/metadata.py +4 -2
- metadata/ingestion/source/pipeline/openlineage/__init__.py +0 -0
- metadata/ingestion/source/pipeline/openlineage/connection.py +88 -0
- metadata/ingestion/source/pipeline/openlineage/metadata.py +520 -0
- metadata/ingestion/source/pipeline/openlineage/models.py +88 -0
- metadata/ingestion/source/pipeline/openlineage/utils.py +59 -0
- metadata/ingestion/source/pipeline/pipeline_service.py +13 -3
- metadata/ingestion/source/pipeline/spline/metadata.py +8 -6
- metadata/ingestion/source/search/elasticsearch/metadata.py +8 -6
- metadata/ingestion/source/search/search_service.py +3 -3
- metadata/ingestion/source/sqa_types.py +20 -1
- metadata/ingestion/source/storage/s3/connection.py +10 -1
- metadata/ingestion/source/storage/s3/metadata.py +45 -30
- metadata/ingestion/source/storage/s3/models.py +8 -4
- metadata/ingestion/source/storage/storage_service.py +8 -5
- metadata/ingestion/stage/table_usage.py +6 -1
- metadata/mixins/pandas/pandas_mixin.py +3 -3
- metadata/pii/processor.py +6 -1
- metadata/profiler/__init__.py +0 -0
- metadata/profiler/adaptors/__init__.py +0 -0
- metadata/profiler/adaptors/adaptor_factory.py +43 -0
- metadata/profiler/adaptors/dynamodb.py +40 -0
- metadata/profiler/adaptors/factory.py +76 -0
- metadata/profiler/adaptors/mongodb.py +178 -0
- metadata/profiler/adaptors/nosql_adaptor.py +65 -0
- metadata/profiler/api/models.py +1 -1
- metadata/profiler/factory.py +41 -0
- metadata/profiler/interface/nosql/profiler_interface.py +236 -0
- metadata/profiler/interface/pandas/profiler_interface.py +51 -30
- metadata/profiler/interface/profiler_interface.py +6 -2
- metadata/profiler/interface/profiler_interface_factory.py +11 -22
- metadata/profiler/interface/sqlalchemy/databricks/profiler_interface.py +77 -0
- metadata/profiler/interface/sqlalchemy/profiler_interface.py +2 -1
- metadata/profiler/interface/sqlalchemy/unity_catalog/profiler_interface.py +3 -6
- metadata/profiler/metrics/composed/distinct_ratio.py +2 -1
- metadata/profiler/metrics/composed/duplicate_count.py +2 -1
- metadata/profiler/metrics/composed/ilike_ratio.py +2 -1
- metadata/profiler/metrics/composed/iqr.py +2 -1
- metadata/profiler/metrics/composed/like_ratio.py +2 -1
- metadata/profiler/metrics/composed/non_parametric_skew.py +2 -1
- metadata/profiler/metrics/composed/null_ratio.py +7 -4
- metadata/profiler/metrics/composed/unique_ratio.py +2 -1
- metadata/profiler/metrics/core.py +14 -1
- metadata/profiler/metrics/hybrid/histogram.py +2 -1
- metadata/profiler/metrics/registry.py +4 -0
- metadata/profiler/metrics/static/column_count.py +2 -1
- metadata/profiler/metrics/static/column_names.py +2 -1
- metadata/profiler/metrics/static/count.py +2 -1
- metadata/profiler/metrics/static/count_in_set.py +2 -1
- metadata/profiler/metrics/static/distinct_count.py +11 -2
- metadata/profiler/metrics/static/ilike_count.py +2 -1
- metadata/profiler/metrics/static/like_count.py +2 -1
- metadata/profiler/metrics/static/max.py +26 -7
- metadata/profiler/metrics/static/max_length.py +3 -2
- metadata/profiler/metrics/static/mean.py +30 -22
- metadata/profiler/metrics/static/min.py +25 -6
- metadata/profiler/metrics/static/min_length.py +3 -2
- metadata/profiler/metrics/static/not_like_count.py +2 -1
- metadata/profiler/metrics/static/not_regexp_match_count.py +2 -1
- metadata/profiler/metrics/static/null_count.py +2 -1
- metadata/profiler/metrics/static/null_missing_count.py +73 -0
- metadata/profiler/metrics/static/regexp_match_count.py +2 -1
- metadata/profiler/metrics/static/row_count.py +9 -3
- metadata/profiler/metrics/static/stddev.py +2 -1
- metadata/profiler/metrics/static/sum.py +22 -4
- metadata/profiler/metrics/static/unique_count.py +13 -4
- metadata/profiler/metrics/system/system.py +2 -1
- metadata/profiler/metrics/window/first_quartile.py +2 -1
- metadata/profiler/metrics/window/median.py +8 -2
- metadata/profiler/metrics/window/third_quartile.py +2 -1
- metadata/profiler/orm/converter/base.py +4 -1
- metadata/profiler/orm/converter/bigquery/converter.py +11 -0
- metadata/profiler/orm/converter/common.py +47 -0
- metadata/profiler/orm/converter/converter_registry.py +2 -0
- metadata/profiler/orm/converter/redshift/converter.py +48 -0
- metadata/profiler/orm/converter/snowflake/converter.py +13 -0
- metadata/profiler/orm/functions/conn_test.py +1 -1
- metadata/profiler/orm/functions/sum.py +4 -2
- metadata/profiler/orm/functions/table_metric_computer.py +13 -1
- metadata/profiler/orm/registry.py +6 -3
- metadata/profiler/processor/core.py +58 -97
- metadata/profiler/processor/default.py +5 -0
- metadata/profiler/processor/handle_partition.py +3 -3
- metadata/profiler/processor/metric_filter.py +267 -0
- metadata/profiler/processor/processor.py +4 -2
- metadata/profiler/processor/sampler/nosql/sampler.py +72 -0
- metadata/profiler/processor/sampler/pandas/sampler.py +5 -6
- metadata/profiler/processor/sampler/sampler_factory.py +9 -0
- metadata/profiler/processor/sampler/sampler_interface.py +2 -2
- metadata/profiler/processor/sampler/sqlalchemy/sampler.py +3 -3
- metadata/profiler/source/base/profiler_source.py +11 -3
- metadata/profiler/source/databricks/profiler_source.py +5 -1
- metadata/profiler/source/metadata.py +8 -1
- metadata/profiler/source/metadata_ext.py +2 -0
- metadata/readers/dataframe/avro.py +5 -5
- metadata/readers/dataframe/json.py +1 -1
- metadata/readers/file/adls.py +20 -0
- metadata/readers/file/base.py +6 -0
- metadata/readers/file/config_source_factory.py +12 -0
- metadata/readers/file/gcs.py +18 -0
- metadata/readers/file/local.py +12 -0
- metadata/readers/file/s3.py +16 -0
- metadata/utils/constants.py +32 -24
- metadata/utils/datalake/datalake_utils.py +40 -4
- metadata/utils/elasticsearch.py +8 -0
- metadata/utils/execution_time_tracker.py +69 -28
- metadata/utils/fqn.py +61 -7
- metadata/utils/helpers.py +2 -0
- metadata/utils/importer.py +15 -6
- metadata/utils/logger.py +1 -1
- metadata/utils/lru_cache.py +2 -0
- metadata/utils/messaging_utils.py +43 -0
- metadata/utils/partition.py +93 -28
- metadata/utils/sqlalchemy_utils.py +60 -1
- metadata/utils/ssl_manager.py +181 -0
- metadata/utils/stored_procedures.py +1 -1
- metadata/utils/tag_utils.py +30 -13
- metadata/utils/test_utils.py +65 -0
- metadata/workflow/application.py +6 -1
- metadata/workflow/base.py +1 -1
- metadata/workflow/ingestion.py +19 -0
- metadata/workflow/metadata.py +9 -1
- metadata/workflow/output_handler.py +24 -2
- metadata/workflow/workflow_output_handler.py +2 -0
- {openmetadata_ingestion-1.3.4.0.dist-info → openmetadata_ingestion-1.4.0.0.dist-info}/METADATA +325 -320
- openmetadata_ingestion-1.4.0.0.dist-info/RECORD +1501 -0
- metadata/applications/auto_tagger.py +0 -212
- metadata/cli/backup.py +0 -202
- metadata/cli/db_dump.py +0 -239
- metadata/cli/docker.py +0 -382
- metadata/cli/openmetadata_dag_config_migration.py +0 -109
- metadata/cli/openmetadata_imports_migration.py +0 -71
- metadata/cli/utils.py +0 -56
- metadata/generated/schema/entity/applications/configuration/external/autoTaggerAppConfig.py +0 -28
- openmetadata_ingestion-1.3.4.0.dist-info/RECORD +0 -1435
- {openmetadata_ingestion-1.3.4.0.dist-info → openmetadata_ingestion-1.4.0.0.dist-info}/LICENSE +0 -0
- {openmetadata_ingestion-1.3.4.0.dist-info → openmetadata_ingestion-1.4.0.0.dist-info}/WHEEL +0 -0
- {openmetadata_ingestion-1.3.4.0.dist-info → openmetadata_ingestion-1.4.0.0.dist-info}/entry_points.txt +0 -0
- {openmetadata_ingestion-1.3.4.0.dist-info → openmetadata_ingestion-1.4.0.0.dist-info}/top_level.txt +0 -0
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"""QuickSight source module"""
|
|
12
12
|
|
|
13
13
|
import traceback
|
|
14
|
-
from typing import
|
|
14
|
+
from typing import Iterable, List, Optional
|
|
15
15
|
|
|
16
16
|
from pydantic import ValidationError
|
|
17
17
|
|
|
@@ -34,7 +34,12 @@ from metadata.ingestion.api.models import Either
|
|
|
34
34
|
from metadata.ingestion.api.steps import InvalidSourceException
|
|
35
35
|
from metadata.ingestion.ometa.ometa_api import OpenMetadata
|
|
36
36
|
from metadata.ingestion.source.dashboard.dashboard_service import DashboardServiceSource
|
|
37
|
-
from metadata.ingestion.source.dashboard.quicksight.models import
|
|
37
|
+
from metadata.ingestion.source.dashboard.quicksight.models import (
|
|
38
|
+
DashboardDetail,
|
|
39
|
+
DashboardResp,
|
|
40
|
+
DataSourceResp,
|
|
41
|
+
DescribeDataSourceResponse,
|
|
42
|
+
)
|
|
38
43
|
from metadata.utils import fqn
|
|
39
44
|
from metadata.utils.filters import filter_by_chart
|
|
40
45
|
from metadata.utils.logger import ingestion_logger
|
|
@@ -66,7 +71,9 @@ class QuicksightSource(DashboardServiceSource):
|
|
|
66
71
|
}
|
|
67
72
|
|
|
68
73
|
@classmethod
|
|
69
|
-
def create(
|
|
74
|
+
def create(
|
|
75
|
+
cls, config_dict, metadata: OpenMetadata, pipeline_name: Optional[str] = None
|
|
76
|
+
):
|
|
70
77
|
config = WorkflowSource.parse_obj(config_dict)
|
|
71
78
|
connection: QuickSightConnection = config.serviceConnection.__root__.config
|
|
72
79
|
if not isinstance(connection, QuickSightConnection):
|
|
@@ -107,91 +114,95 @@ class QuicksightSource(DashboardServiceSource):
|
|
|
107
114
|
dashboard["DashboardId"] for dashboard in dashboard_summary_list
|
|
108
115
|
}
|
|
109
116
|
dashboards = [
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
117
|
+
DashboardResp(
|
|
118
|
+
**self.client.describe_dashboard(
|
|
119
|
+
AwsAccountId=self.aws_account_id, DashboardId=dashboard_id
|
|
120
|
+
)
|
|
121
|
+
).Dashboard
|
|
113
122
|
for dashboard_id in dashboard_set
|
|
114
123
|
]
|
|
115
124
|
return dashboards
|
|
116
125
|
|
|
117
|
-
def get_dashboard_name(self, dashboard:
|
|
126
|
+
def get_dashboard_name(self, dashboard: DashboardDetail) -> str:
|
|
118
127
|
"""
|
|
119
128
|
Get Dashboard Name
|
|
120
129
|
"""
|
|
121
|
-
return dashboard
|
|
130
|
+
return dashboard.Name
|
|
122
131
|
|
|
123
|
-
def get_dashboard_details(self, dashboard: dict) ->
|
|
132
|
+
def get_dashboard_details(self, dashboard: dict) -> DashboardDetail:
|
|
124
133
|
"""
|
|
125
134
|
Get Dashboard Details
|
|
126
135
|
"""
|
|
127
|
-
return dashboard
|
|
136
|
+
return DashboardDetail(**dashboard)
|
|
128
137
|
|
|
129
138
|
def yield_dashboard(
|
|
130
|
-
self, dashboard_details:
|
|
139
|
+
self, dashboard_details: DashboardDetail
|
|
131
140
|
) -> Iterable[Either[CreateDashboardRequest]]:
|
|
132
141
|
"""
|
|
133
142
|
Method to Get Dashboard Entity
|
|
134
143
|
"""
|
|
135
144
|
dashboard_request = CreateDashboardRequest(
|
|
136
|
-
name=dashboard_details
|
|
145
|
+
name=dashboard_details.DashboardId,
|
|
137
146
|
sourceUrl=self.dashboard_url,
|
|
138
|
-
displayName=dashboard_details
|
|
139
|
-
description=dashboard_details
|
|
147
|
+
displayName=dashboard_details.Name,
|
|
148
|
+
description=dashboard_details.Version.Description
|
|
149
|
+
if dashboard_details.Version
|
|
150
|
+
else None,
|
|
140
151
|
charts=[
|
|
141
152
|
fqn.build(
|
|
142
153
|
self.metadata,
|
|
143
154
|
entity_type=Chart,
|
|
144
|
-
service_name=self.context.dashboard_service,
|
|
155
|
+
service_name=self.context.get().dashboard_service,
|
|
145
156
|
chart_name=chart,
|
|
146
157
|
)
|
|
147
|
-
for chart in self.context.charts or []
|
|
158
|
+
for chart in self.context.get().charts or []
|
|
148
159
|
],
|
|
149
|
-
service=self.context.dashboard_service,
|
|
160
|
+
service=self.context.get().dashboard_service,
|
|
150
161
|
owner=self.get_owner_ref(dashboard_details=dashboard_details),
|
|
151
162
|
)
|
|
152
163
|
yield Either(right=dashboard_request)
|
|
153
164
|
self.register_record(dashboard_request=dashboard_request)
|
|
154
165
|
|
|
155
166
|
def yield_dashboard_chart(
|
|
156
|
-
self, dashboard_details:
|
|
167
|
+
self, dashboard_details: DashboardDetail
|
|
157
168
|
) -> Iterable[Either[CreateChartRequest]]:
|
|
158
169
|
"""Get chart method"""
|
|
159
170
|
# Each dashboard is guaranteed to have at least one sheet, which represents
|
|
160
171
|
# a chart in the context of QuickSight
|
|
161
172
|
# https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/quicksight.html#QuickSight.Client.describe_dashboard
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
173
|
+
if dashboard_details.Version:
|
|
174
|
+
for chart in dashboard_details.Version.Charts or []:
|
|
175
|
+
try:
|
|
176
|
+
if filter_by_chart(
|
|
177
|
+
self.source_config.chartFilterPattern, chart.Name
|
|
178
|
+
):
|
|
179
|
+
self.status.filter(chart.Name, "Chart Pattern not allowed")
|
|
180
|
+
continue
|
|
170
181
|
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
)
|
|
175
|
-
yield Either(
|
|
176
|
-
right=CreateChartRequest(
|
|
177
|
-
name=chart["SheetId"],
|
|
178
|
-
displayName=chart["Name"],
|
|
179
|
-
chartType=ChartType.Other.value,
|
|
180
|
-
sourceUrl=self.dashboard_url,
|
|
181
|
-
service=self.context.dashboard_service,
|
|
182
|
+
self.dashboard_url = (
|
|
183
|
+
f"https://{self.aws_region}.quicksight.aws.amazon.com/sn/dashboards"
|
|
184
|
+
f"/{dashboard_details.DashboardId}"
|
|
182
185
|
)
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
186
|
+
yield Either(
|
|
187
|
+
right=CreateChartRequest(
|
|
188
|
+
name=chart.ChartId,
|
|
189
|
+
displayName=chart.Name,
|
|
190
|
+
chartType=ChartType.Other.value,
|
|
191
|
+
sourceUrl=self.dashboard_url,
|
|
192
|
+
service=self.context.get().dashboard_service,
|
|
193
|
+
)
|
|
194
|
+
)
|
|
195
|
+
except Exception as exc:
|
|
196
|
+
yield Either(
|
|
197
|
+
left=StackTraceError(
|
|
198
|
+
name="Chart",
|
|
199
|
+
error=f"Error creating chart [{chart}]: {exc}",
|
|
200
|
+
stackTrace=traceback.format_exc(),
|
|
201
|
+
)
|
|
190
202
|
)
|
|
191
|
-
)
|
|
192
203
|
|
|
193
204
|
def yield_dashboard_lineage_details( # pylint: disable=too-many-locals
|
|
194
|
-
self, dashboard_details:
|
|
205
|
+
self, dashboard_details: DashboardDetail, db_service_name: str
|
|
195
206
|
) -> Iterable[Either[AddLineageRequest]]:
|
|
196
207
|
"""
|
|
197
208
|
Get lineage between dashboard and data sources
|
|
@@ -206,28 +217,26 @@ class QuicksightSource(DashboardServiceSource):
|
|
|
206
217
|
)
|
|
207
218
|
dataset_ids = {
|
|
208
219
|
dataset["DataSetId"]
|
|
209
|
-
for dataset in data_set_summary_list
|
|
210
|
-
if dataset.get("Arn") in dashboard_details
|
|
220
|
+
for dataset in data_set_summary_list or []
|
|
221
|
+
if dataset.get("Arn") in dashboard_details.Version.DataSetArns
|
|
211
222
|
}
|
|
212
223
|
|
|
213
|
-
for dataset_id in dataset_ids:
|
|
214
|
-
for data_source in
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
224
|
+
for dataset_id in dataset_ids or []:
|
|
225
|
+
for data_source in (
|
|
226
|
+
list(
|
|
227
|
+
self.client.describe_data_set(
|
|
228
|
+
AwsAccountId=self.aws_account_id, DataSetId=dataset_id
|
|
229
|
+
)["DataSet"]["PhysicalTableMap"].values()
|
|
230
|
+
)
|
|
231
|
+
or []
|
|
218
232
|
):
|
|
219
233
|
try:
|
|
220
234
|
if not data_source.get("RelationalTable"):
|
|
221
235
|
raise KeyError(
|
|
222
236
|
f"We currently don't support lineage to {list(data_source.keys())}"
|
|
223
237
|
)
|
|
224
|
-
data_source_relational_table = data_source["RelationalTable"]
|
|
225
238
|
data_source_resp = DataSourceResp(
|
|
226
|
-
|
|
227
|
-
"DataSourceArn"
|
|
228
|
-
],
|
|
229
|
-
schema_name=data_source_relational_table["Schema"],
|
|
230
|
-
table_name=data_source_relational_table["Name"],
|
|
239
|
+
**data_source["RelationalTable"]
|
|
231
240
|
)
|
|
232
241
|
except (KeyError, ValidationError) as err:
|
|
233
242
|
yield Either(
|
|
@@ -255,42 +264,47 @@ class QuicksightSource(DashboardServiceSource):
|
|
|
255
264
|
|
|
256
265
|
data_source_ids = [
|
|
257
266
|
data_source_arn["DataSourceId"]
|
|
258
|
-
for data_source_arn in data_source_summary_list
|
|
267
|
+
for data_source_arn in data_source_summary_list or []
|
|
259
268
|
if data_source_arn["Arn"] in data_source_resp.datasource_arn
|
|
260
269
|
]
|
|
261
270
|
|
|
262
|
-
for data_source_id in data_source_ids:
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
for db in data_source_dict.keys():
|
|
268
|
-
from_fqn = fqn.build(
|
|
269
|
-
self.metadata,
|
|
270
|
-
entity_type=Table,
|
|
271
|
-
service_name=db_service_name,
|
|
272
|
-
database_name=data_source_dict[db]["Database"],
|
|
273
|
-
schema_name=schema_name,
|
|
274
|
-
table_name=table_name,
|
|
275
|
-
skip_es_search=True,
|
|
276
|
-
)
|
|
277
|
-
from_entity = self.metadata.get_by_name(
|
|
278
|
-
entity=Table,
|
|
279
|
-
fqn=from_fqn,
|
|
280
|
-
)
|
|
281
|
-
to_fqn = fqn.build(
|
|
282
|
-
self.metadata,
|
|
283
|
-
entity_type=Dashboard,
|
|
284
|
-
service_name=self.config.serviceName,
|
|
285
|
-
dashboard_name=dashboard_details["DashboardId"],
|
|
286
|
-
)
|
|
287
|
-
to_entity = self.metadata.get_by_name(
|
|
288
|
-
entity=Dashboard,
|
|
289
|
-
fqn=to_fqn,
|
|
290
|
-
)
|
|
291
|
-
yield self._get_add_lineage_request(
|
|
292
|
-
to_entity=to_entity, from_entity=from_entity
|
|
271
|
+
for data_source_id in data_source_ids or []:
|
|
272
|
+
data_source_resp = DescribeDataSourceResponse(
|
|
273
|
+
**self.client.describe_data_source(
|
|
274
|
+
AwsAccountId=self.aws_account_id,
|
|
275
|
+
DataSourceId=data_source_id,
|
|
293
276
|
)
|
|
277
|
+
).DataSource
|
|
278
|
+
if data_source_resp and data_source_resp.DataSourceParameters:
|
|
279
|
+
data_source_dict = data_source_resp.DataSourceParameters
|
|
280
|
+
for db in data_source_dict.keys() or []:
|
|
281
|
+
from_fqn = fqn.build(
|
|
282
|
+
self.metadata,
|
|
283
|
+
entity_type=Table,
|
|
284
|
+
service_name=db_service_name,
|
|
285
|
+
database_name=data_source_dict[db].get("Database"),
|
|
286
|
+
schema_name=schema_name,
|
|
287
|
+
table_name=table_name,
|
|
288
|
+
skip_es_search=True,
|
|
289
|
+
)
|
|
290
|
+
from_entity = self.metadata.get_by_name(
|
|
291
|
+
entity=Table,
|
|
292
|
+
fqn=from_fqn,
|
|
293
|
+
)
|
|
294
|
+
to_fqn = fqn.build(
|
|
295
|
+
self.metadata,
|
|
296
|
+
entity_type=Dashboard,
|
|
297
|
+
service_name=self.config.serviceName,
|
|
298
|
+
dashboard_name=dashboard_details.DashboardId,
|
|
299
|
+
)
|
|
300
|
+
to_entity = self.metadata.get_by_name(
|
|
301
|
+
entity=Dashboard,
|
|
302
|
+
fqn=to_fqn,
|
|
303
|
+
)
|
|
304
|
+
if from_entity is not None and to_entity is not None:
|
|
305
|
+
yield self._get_add_lineage_request(
|
|
306
|
+
to_entity=to_entity, from_entity=from_entity
|
|
307
|
+
)
|
|
294
308
|
except Exception as exc: # pylint: disable=broad-except
|
|
295
309
|
yield Either(
|
|
296
310
|
left=StackTraceError(
|
|
@@ -12,11 +12,50 @@
|
|
|
12
12
|
Pydantic Model to validate Quick Sight responses
|
|
13
13
|
"""
|
|
14
14
|
|
|
15
|
+
from typing import List, Optional
|
|
15
16
|
|
|
16
|
-
from pydantic import BaseModel
|
|
17
|
+
from pydantic import BaseModel, Field
|
|
17
18
|
|
|
18
19
|
|
|
19
20
|
class DataSourceResp(BaseModel):
|
|
20
|
-
datasource_arn: str
|
|
21
|
-
schema_name: str
|
|
22
|
-
table_name: str
|
|
21
|
+
datasource_arn: str = Field(alias="DataSourceArn")
|
|
22
|
+
schema_name: str = Field(alias="Schema")
|
|
23
|
+
table_name: str = Field(alias="Name")
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
class VersionSheet(BaseModel):
|
|
27
|
+
ChartId: Optional[str] = Field(alias="SheetId")
|
|
28
|
+
Name: Optional[str]
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
class DashboardVersion(BaseModel):
|
|
32
|
+
Status: Optional[str]
|
|
33
|
+
Arn: Optional[str]
|
|
34
|
+
SourceEntityArn: Optional[str]
|
|
35
|
+
DataSetArns: Optional[List]
|
|
36
|
+
Description: Optional[str]
|
|
37
|
+
Charts: Optional[List[VersionSheet]] = Field(alias="Sheets")
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
class DashboardDetail(BaseModel):
|
|
41
|
+
DashboardId: str
|
|
42
|
+
Arn: Optional[str]
|
|
43
|
+
Name: str
|
|
44
|
+
Version: Optional[DashboardVersion]
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
class DashboardResp(BaseModel):
|
|
48
|
+
Dashboard: DashboardDetail
|
|
49
|
+
Status: Optional[int]
|
|
50
|
+
RequestId: Optional[str]
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
class DataSource(BaseModel):
|
|
54
|
+
DataSourceId: str
|
|
55
|
+
DataSourceParameters: Optional[dict]
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
class DescribeDataSourceResponse(BaseModel):
|
|
59
|
+
DataSource: Optional[DataSource]
|
|
60
|
+
RequestId: Optional[str]
|
|
61
|
+
Status: Optional[int]
|
|
@@ -68,7 +68,12 @@ class RedashSource(DashboardServiceSource):
|
|
|
68
68
|
self.tags = [] # To create the tags before yielding final entities
|
|
69
69
|
|
|
70
70
|
@classmethod
|
|
71
|
-
def create(
|
|
71
|
+
def create(
|
|
72
|
+
cls,
|
|
73
|
+
config_dict: dict,
|
|
74
|
+
metadata: OpenMetadata,
|
|
75
|
+
pipeline_name: Optional[str] = None,
|
|
76
|
+
):
|
|
72
77
|
config: WorkflowSource = WorkflowSource.parse_obj(config_dict)
|
|
73
78
|
connection: RedashConnection = config.serviceConnection.__root__.config
|
|
74
79
|
if not isinstance(connection, RedashConnection):
|
|
@@ -154,12 +159,12 @@ class RedashSource(DashboardServiceSource):
|
|
|
154
159
|
fqn.build(
|
|
155
160
|
self.metadata,
|
|
156
161
|
entity_type=Chart,
|
|
157
|
-
service_name=self.context.dashboard_service,
|
|
162
|
+
service_name=self.context.get().dashboard_service,
|
|
158
163
|
chart_name=chart,
|
|
159
164
|
)
|
|
160
|
-
for chart in self.context.charts or []
|
|
165
|
+
for chart in self.context.get().charts or []
|
|
161
166
|
],
|
|
162
|
-
service=self.context.dashboard_service,
|
|
167
|
+
service=self.context.get().dashboard_service,
|
|
163
168
|
sourceUrl=self.get_dashboard_url(dashboard_details),
|
|
164
169
|
tags=get_tag_labels(
|
|
165
170
|
metadata=self.metadata,
|
|
@@ -266,7 +271,7 @@ class RedashSource(DashboardServiceSource):
|
|
|
266
271
|
chartType=get_standard_chart_type(
|
|
267
272
|
visualization["type"] if visualization else ""
|
|
268
273
|
),
|
|
269
|
-
service=self.context.dashboard_service,
|
|
274
|
+
service=self.context.get().dashboard_service,
|
|
270
275
|
sourceUrl=self.get_dashboard_url(dashboard_details),
|
|
271
276
|
description=visualization["description"]
|
|
272
277
|
if visualization
|
|
@@ -77,6 +77,11 @@ class SupersetAPISource(SupersetSourceMixin):
|
|
|
77
77
|
dashboards = self.client.fetch_dashboards(current_page, page_size)
|
|
78
78
|
current_page += 1
|
|
79
79
|
for dashboard in dashboards.result:
|
|
80
|
+
if (
|
|
81
|
+
not self.source_config.includeDraftDashboard
|
|
82
|
+
and not dashboard.published
|
|
83
|
+
):
|
|
84
|
+
continue
|
|
80
85
|
yield dashboard
|
|
81
86
|
|
|
82
87
|
def yield_dashboard(
|
|
@@ -94,12 +99,12 @@ class SupersetAPISource(SupersetSourceMixin):
|
|
|
94
99
|
fqn.build(
|
|
95
100
|
self.metadata,
|
|
96
101
|
entity_type=Chart,
|
|
97
|
-
service_name=self.context.dashboard_service,
|
|
102
|
+
service_name=self.context.get().dashboard_service,
|
|
98
103
|
chart_name=chart,
|
|
99
104
|
)
|
|
100
|
-
for chart in self.context.charts or []
|
|
105
|
+
for chart in self.context.get().charts or []
|
|
101
106
|
],
|
|
102
|
-
service=self.context.dashboard_service,
|
|
107
|
+
service=self.context.get().dashboard_service,
|
|
103
108
|
owner=self.get_owner_ref(dashboard_details=dashboard_details),
|
|
104
109
|
)
|
|
105
110
|
yield Either(right=dashboard_request)
|
|
@@ -140,7 +145,7 @@ class SupersetAPISource(SupersetSourceMixin):
|
|
|
140
145
|
description=chart_json.description,
|
|
141
146
|
chartType=get_standard_chart_type(chart_json.viz_type),
|
|
142
147
|
sourceUrl=f"{clean_uri(self.service_connection.hostPort)}{chart_json.url}",
|
|
143
|
-
service=self.context.dashboard_service,
|
|
148
|
+
service=self.context.get().dashboard_service,
|
|
144
149
|
)
|
|
145
150
|
yield Either(right=chart)
|
|
146
151
|
except Exception as exc: # pylint: disable=broad-except
|
|
@@ -215,7 +220,7 @@ class SupersetAPISource(SupersetSourceMixin):
|
|
|
215
220
|
data_model_request = CreateDashboardDataModelRequest(
|
|
216
221
|
name=datasource_json.id,
|
|
217
222
|
displayName=datasource_json.result.table_name,
|
|
218
|
-
service=self.context.dashboard_service,
|
|
223
|
+
service=self.context.get().dashboard_service,
|
|
219
224
|
columns=self.get_column_info(datasource_json.result.columns),
|
|
220
225
|
dataModelType=DataModelType.SupersetDataModel.value,
|
|
221
226
|
)
|
|
@@ -45,6 +45,7 @@ from metadata.ingestion.source.dashboard.superset.queries import (
|
|
|
45
45
|
FETCH_ALL_CHARTS,
|
|
46
46
|
FETCH_COLUMN,
|
|
47
47
|
FETCH_DASHBOARDS,
|
|
48
|
+
FETCH_PUBLISHED_DASHBOARDS,
|
|
48
49
|
)
|
|
49
50
|
from metadata.utils import fqn
|
|
50
51
|
from metadata.utils.filters import filter_by_datamodel
|
|
@@ -100,7 +101,12 @@ class SupersetDBSource(SupersetSourceMixin):
|
|
|
100
101
|
"""
|
|
101
102
|
Get List of all dashboards
|
|
102
103
|
"""
|
|
103
|
-
|
|
104
|
+
query = (
|
|
105
|
+
FETCH_DASHBOARDS
|
|
106
|
+
if self.source_config.includeDraftDashboard
|
|
107
|
+
else FETCH_PUBLISHED_DASHBOARDS
|
|
108
|
+
)
|
|
109
|
+
dashboards = self.engine.execute(query)
|
|
104
110
|
for dashboard in dashboards:
|
|
105
111
|
yield FetchDashboard(**dashboard)
|
|
106
112
|
|
|
@@ -117,12 +123,12 @@ class SupersetDBSource(SupersetSourceMixin):
|
|
|
117
123
|
fqn.build(
|
|
118
124
|
self.metadata,
|
|
119
125
|
entity_type=Chart,
|
|
120
|
-
service_name=self.context.dashboard_service,
|
|
126
|
+
service_name=self.context.get().dashboard_service,
|
|
121
127
|
chart_name=chart,
|
|
122
128
|
)
|
|
123
|
-
for chart in self.context.charts or []
|
|
129
|
+
for chart in self.context.get().charts or []
|
|
124
130
|
],
|
|
125
|
-
service=self.context.dashboard_service,
|
|
131
|
+
service=self.context.get().dashboard_service,
|
|
126
132
|
owner=self.get_owner_ref(dashboard_details=dashboard_details),
|
|
127
133
|
)
|
|
128
134
|
yield Either(right=dashboard_request)
|
|
@@ -169,7 +175,7 @@ class SupersetDBSource(SupersetSourceMixin):
|
|
|
169
175
|
description=chart_json.description,
|
|
170
176
|
chartType=get_standard_chart_type(chart_json.viz_type),
|
|
171
177
|
sourceUrl=f"{clean_uri(self.service_connection.hostPort)}/explore/?slice_id={chart_json.id}",
|
|
172
|
-
service=self.context.dashboard_service,
|
|
178
|
+
service=self.context.get().dashboard_service,
|
|
173
179
|
)
|
|
174
180
|
yield Either(right=chart)
|
|
175
181
|
except Exception as exc:
|
|
@@ -234,7 +240,7 @@ class SupersetDBSource(SupersetSourceMixin):
|
|
|
234
240
|
data_model_request = CreateDashboardDataModelRequest(
|
|
235
241
|
name=chart_json.datasource_id,
|
|
236
242
|
displayName=chart_json.table_name,
|
|
237
|
-
service=self.context.dashboard_service,
|
|
243
|
+
service=self.context.get().dashboard_service,
|
|
238
244
|
columns=self.get_column_info(col_names),
|
|
239
245
|
dataModelType=DataModelType.SupersetDataModel.value,
|
|
240
246
|
)
|
|
@@ -11,6 +11,8 @@
|
|
|
11
11
|
"""
|
|
12
12
|
Superset source module
|
|
13
13
|
"""
|
|
14
|
+
from typing import Optional
|
|
15
|
+
|
|
14
16
|
from metadata.generated.schema.entity.services.connections.dashboard.supersetConnection import (
|
|
15
17
|
SupersetConnection,
|
|
16
18
|
)
|
|
@@ -32,7 +34,12 @@ class SupersetSource:
|
|
|
32
34
|
"""
|
|
33
35
|
|
|
34
36
|
@classmethod
|
|
35
|
-
def create(
|
|
37
|
+
def create(
|
|
38
|
+
cls,
|
|
39
|
+
config_dict: dict,
|
|
40
|
+
metadata: OpenMetadata,
|
|
41
|
+
pipeline_name: Optional[str] = None,
|
|
42
|
+
):
|
|
36
43
|
config = WorkflowSource.parse_obj(config_dict)
|
|
37
44
|
connection: SupersetConnection = config.serviceConnection.__root__.config
|
|
38
45
|
if not isinstance(connection, SupersetConnection):
|
|
@@ -70,7 +70,12 @@ class SupersetSourceMixin(DashboardServiceSource):
|
|
|
70
70
|
self.all_charts = {}
|
|
71
71
|
|
|
72
72
|
@classmethod
|
|
73
|
-
def create(
|
|
73
|
+
def create(
|
|
74
|
+
cls,
|
|
75
|
+
config_dict: dict,
|
|
76
|
+
metadata: OpenMetadata,
|
|
77
|
+
pipeline_name: Optional[str] = None,
|
|
78
|
+
):
|
|
74
79
|
config = WorkflowSource.parse_obj(config_dict)
|
|
75
80
|
connection: SupersetConnection = config.serviceConnection.__root__.config
|
|
76
81
|
if not isinstance(connection, SupersetConnection):
|
|
@@ -177,9 +182,21 @@ class SupersetSourceMixin(DashboardServiceSource):
|
|
|
177
182
|
fqn=datamodel_fqn,
|
|
178
183
|
)
|
|
179
184
|
|
|
185
|
+
datasource_json = self.client.fetch_datasource(
|
|
186
|
+
chart_json.datasource_id
|
|
187
|
+
)
|
|
188
|
+
datasource_columns = self.get_column_info(
|
|
189
|
+
datasource_json.result.columns
|
|
190
|
+
)
|
|
191
|
+
columns_list = [col.displayName for col in datasource_columns]
|
|
192
|
+
column_lineage = self._get_column_lineage(
|
|
193
|
+
from_entity, to_entity, columns_list
|
|
194
|
+
)
|
|
180
195
|
if from_entity and to_entity:
|
|
181
196
|
yield self._get_add_lineage_request(
|
|
182
|
-
to_entity=to_entity,
|
|
197
|
+
to_entity=to_entity,
|
|
198
|
+
from_entity=from_entity,
|
|
199
|
+
column_lineage=column_lineage,
|
|
183
200
|
)
|
|
184
201
|
except Exception as exc:
|
|
185
202
|
yield Either(
|
|
@@ -202,7 +219,7 @@ class SupersetSourceMixin(DashboardServiceSource):
|
|
|
202
219
|
datamodel_fqn = fqn.build(
|
|
203
220
|
self.metadata,
|
|
204
221
|
entity_type=DashboardDataModel,
|
|
205
|
-
service_name=self.context.dashboard_service,
|
|
222
|
+
service_name=self.context.get().dashboard_service,
|
|
206
223
|
data_model_name=datamodel.id,
|
|
207
224
|
)
|
|
208
225
|
if datamodel_fqn:
|
|
@@ -42,6 +42,7 @@ class DashboardResult(BaseModel):
|
|
|
42
42
|
position_json: Optional[str]
|
|
43
43
|
id: Optional[int]
|
|
44
44
|
email: Optional[str]
|
|
45
|
+
published: Optional[bool]
|
|
45
46
|
|
|
46
47
|
|
|
47
48
|
class SupersetDashboardCount(BaseModel):
|
|
@@ -135,6 +136,7 @@ class FetchDashboard(BaseModel):
|
|
|
135
136
|
id: Optional[int]
|
|
136
137
|
dashboard_title: Optional[str]
|
|
137
138
|
position_json: Optional[str]
|
|
139
|
+
published: Optional[bool]
|
|
138
140
|
email: Optional[str]
|
|
139
141
|
|
|
140
142
|
|
|
@@ -18,8 +18,8 @@ select
|
|
|
18
18
|
s.id,
|
|
19
19
|
s.slice_name,
|
|
20
20
|
s.description,
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
s.datasource_id,
|
|
22
|
+
s.viz_type,
|
|
23
23
|
t.table_name,
|
|
24
24
|
t.schema,
|
|
25
25
|
db.database_name,
|
|
@@ -37,6 +37,7 @@ select
|
|
|
37
37
|
d.id,
|
|
38
38
|
d.dashboard_title,
|
|
39
39
|
d.position_json,
|
|
40
|
+
d.published,
|
|
40
41
|
au.email
|
|
41
42
|
from
|
|
42
43
|
dashboards d
|
|
@@ -46,6 +47,22 @@ ON
|
|
|
46
47
|
d.created_by_fk = au.id
|
|
47
48
|
"""
|
|
48
49
|
|
|
50
|
+
FETCH_PUBLISHED_DASHBOARDS = """
|
|
51
|
+
select
|
|
52
|
+
d.id,
|
|
53
|
+
d.dashboard_title,
|
|
54
|
+
d.position_json,
|
|
55
|
+
d.published,
|
|
56
|
+
au.email
|
|
57
|
+
from
|
|
58
|
+
dashboards d
|
|
59
|
+
LEFT JOIN
|
|
60
|
+
ab_user au
|
|
61
|
+
ON
|
|
62
|
+
d.created_by_fk = au.id
|
|
63
|
+
where
|
|
64
|
+
d.published=true
|
|
65
|
+
"""
|
|
49
66
|
|
|
50
67
|
FETCH_ALL_CHARTS_TEST = """
|
|
51
68
|
select
|
|
@@ -74,10 +91,10 @@ LIMIT 1
|
|
|
74
91
|
FETCH_COLUMN = """
|
|
75
92
|
select
|
|
76
93
|
tc.id,
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
94
|
+
table_name ,
|
|
95
|
+
column_name,
|
|
96
|
+
type,
|
|
97
|
+
tc.description
|
|
81
98
|
from
|
|
82
99
|
table_columns tc
|
|
83
100
|
inner join
|