acryl-datahub 1.0.0.1rc2__py3-none-any.whl → 1.0.0.1rc3__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 (28) hide show
  1. {acryl_datahub-1.0.0.1rc2.dist-info → acryl_datahub-1.0.0.1rc3.dist-info}/METADATA +2541 -2541
  2. {acryl_datahub-1.0.0.1rc2.dist-info → acryl_datahub-1.0.0.1rc3.dist-info}/RECORD +28 -26
  3. datahub/_version.py +1 -1
  4. datahub/emitter/rest_emitter.py +2 -2
  5. datahub/ingestion/graph/client.py +6 -11
  6. datahub/ingestion/source/common/subtypes.py +1 -1
  7. datahub/ingestion/source/mlflow.py +19 -1
  8. datahub/ingestion/source/snowflake/constants.py +1 -0
  9. datahub/ingestion/source/snowflake/snowflake_config.py +14 -1
  10. datahub/ingestion/source/snowflake/snowflake_query.py +17 -0
  11. datahub/ingestion/source/snowflake/snowflake_report.py +3 -0
  12. datahub/ingestion/source/snowflake/snowflake_schema.py +29 -0
  13. datahub/ingestion/source/snowflake/snowflake_schema_gen.py +112 -42
  14. datahub/ingestion/source/snowflake/snowflake_utils.py +25 -1
  15. datahub/ingestion/source/sql/mssql/job_models.py +15 -1
  16. datahub/ingestion/source/sql/mssql/source.py +8 -4
  17. datahub/ingestion/source/sql/stored_procedures/__init__.py +0 -0
  18. datahub/ingestion/source/sql/stored_procedures/base.py +242 -0
  19. datahub/ingestion/source/sql/{mssql/stored_procedure_lineage.py → stored_procedures/lineage.py} +1 -29
  20. datahub/ingestion/source/vertexai/vertexai.py +1 -1
  21. datahub/metadata/schema.avsc +2 -0
  22. datahub/metadata/schemas/Deprecation.avsc +2 -0
  23. datahub/metadata/schemas/MetadataChangeEvent.avsc +2 -0
  24. datahub/sql_parsing/split_statements.py +5 -1
  25. {acryl_datahub-1.0.0.1rc2.dist-info → acryl_datahub-1.0.0.1rc3.dist-info}/WHEEL +0 -0
  26. {acryl_datahub-1.0.0.1rc2.dist-info → acryl_datahub-1.0.0.1rc3.dist-info}/entry_points.txt +0 -0
  27. {acryl_datahub-1.0.0.1rc2.dist-info → acryl_datahub-1.0.0.1rc3.dist-info}/licenses/LICENSE +0 -0
  28. {acryl_datahub-1.0.0.1rc2.dist-info → acryl_datahub-1.0.0.1rc3.dist-info}/top_level.txt +0 -0
@@ -8,7 +8,9 @@
8
8
  "fields": [
9
9
  {
10
10
  "Searchable": {
11
+ "addToFilters": true,
11
12
  "fieldType": "BOOLEAN",
13
+ "filterNameOverride": "Deprecated",
12
14
  "weightsPerFieldValue": {
13
15
  "true": 0.5
14
16
  }
@@ -6052,7 +6052,9 @@
6052
6052
  "fields": [
6053
6053
  {
6054
6054
  "Searchable": {
6055
+ "addToFilters": true,
6055
6056
  "fieldType": "BOOLEAN",
6057
+ "filterNameOverride": "Deprecated",
6056
6058
  "weightsPerFieldValue": {
6057
6059
  "true": 0.5
6058
6060
  }
@@ -1,7 +1,9 @@
1
+ import logging
1
2
  import re
2
3
  from enum import Enum
3
4
  from typing import Iterator, List, Tuple
4
5
 
6
+ logger = logging.getLogger(__name__)
5
7
  SELECT_KEYWORD = "SELECT"
6
8
  CASE_KEYWORD = "CASE"
7
9
  END_KEYWORD = "END"
@@ -120,7 +122,9 @@ class _StatementSplitter:
120
122
  # Reset current_statement-specific state.
121
123
  self.does_select_mean_new_statement = False
122
124
  if self.current_case_statements != 0:
123
- breakpoint()
125
+ logger.warning(
126
+ f"Unexpected END keyword. Current case statements: {self.current_case_statements}"
127
+ )
124
128
  self.current_case_statements = 0
125
129
 
126
130
  def process(self) -> Iterator[str]: