acryl-datahub 0.15.0.5rc10__py3-none-any.whl → 0.15.0.6rc1__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 acryl-datahub might be problematic. Click here for more details.

Files changed (22) hide show
  1. {acryl_datahub-0.15.0.5rc10.dist-info → acryl_datahub-0.15.0.6rc1.dist-info}/METADATA +2394 -2394
  2. {acryl_datahub-0.15.0.5rc10.dist-info → acryl_datahub-0.15.0.6rc1.dist-info}/RECORD +22 -22
  3. datahub/_version.py +1 -1
  4. datahub/ingestion/source/common/subtypes.py +1 -0
  5. datahub/ingestion/source/powerbi/config.py +1 -0
  6. datahub/ingestion/source/powerbi/powerbi.py +28 -3
  7. datahub/ingestion/source/powerbi/rest_api_wrapper/data_classes.py +6 -2
  8. datahub/ingestion/source/powerbi/rest_api_wrapper/data_resolver.py +11 -36
  9. datahub/ingestion/source/powerbi/rest_api_wrapper/powerbi_api.py +17 -4
  10. datahub/ingestion/source/snowflake/constants.py +1 -0
  11. datahub/ingestion/source/snowflake/snowflake_config.py +10 -0
  12. datahub/ingestion/source/snowflake/snowflake_queries.py +45 -10
  13. datahub/ingestion/source/snowflake/snowflake_query.py +20 -1
  14. datahub/ingestion/source/snowflake/snowflake_report.py +6 -0
  15. datahub/ingestion/source/snowflake/snowflake_schema.py +98 -4
  16. datahub/ingestion/source/snowflake/snowflake_schema_gen.py +294 -62
  17. datahub/ingestion/source/snowflake/snowflake_utils.py +17 -8
  18. datahub/ingestion/source/snowflake/snowflake_v2.py +15 -3
  19. {acryl_datahub-0.15.0.5rc10.dist-info → acryl_datahub-0.15.0.6rc1.dist-info}/LICENSE +0 -0
  20. {acryl_datahub-0.15.0.5rc10.dist-info → acryl_datahub-0.15.0.6rc1.dist-info}/WHEEL +0 -0
  21. {acryl_datahub-0.15.0.5rc10.dist-info → acryl_datahub-0.15.0.6rc1.dist-info}/entry_points.txt +0 -0
  22. {acryl_datahub-0.15.0.5rc10.dist-info → acryl_datahub-0.15.0.6rc1.dist-info}/top_level.txt +0 -0
@@ -539,15 +539,27 @@ class SnowflakeV2Source(
539
539
  for schema in db.schemas
540
540
  for table_name in schema.views
541
541
  ]
542
+ discovered_streams: List[str] = [
543
+ self.identifiers.get_dataset_identifier(stream_name, schema.name, db.name)
544
+ for db in databases
545
+ for schema in db.schemas
546
+ for stream_name in schema.streams
547
+ ]
542
548
 
543
- if len(discovered_tables) == 0 and len(discovered_views) == 0:
549
+ if (
550
+ len(discovered_tables) == 0
551
+ and len(discovered_views) == 0
552
+ and len(discovered_streams) == 0
553
+ ):
544
554
  self.structured_reporter.failure(
545
555
  GENERIC_PERMISSION_ERROR_KEY,
546
- "No tables/views found. Please check permissions.",
556
+ "No tables/views/streams found. Please check permissions.",
547
557
  )
548
558
  return
549
559
 
550
- self.discovered_datasets = discovered_tables + discovered_views
560
+ self.discovered_datasets = (
561
+ discovered_tables + discovered_views + discovered_streams
562
+ )
551
563
 
552
564
  if self.config.use_queries_v2:
553
565
  with self.report.new_stage(f"*: {VIEW_PARSING}"):