Skip to content

fix(datalake): _resolve_col_type uses frequency-first majority vote

99eb6e6
Select commit
Loading
Failed to load commit list.
Merged

fix(datalake): resolve column type by majority vote to prevent month-name surnames from becoming DATETIME #28093

fix(datalake): _resolve_col_type uses frequency-first majority vote
99eb6e6
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / [open-metadata-ingestion] SonarCloud Code Analysis succeeded May 13, 2026 in 2m 5s

Annotations

Check failure on line 41 in ingestion/src/metadata/utils/datalake/datalake_utils.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ingestion] SonarCloud Code Analysis

Define a constant instead of duplicating this literal "datetime64[ns]" 4 times.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ingestion&issues=AZ4hyORpK1tjw4qvb-fj&open=AZ4hyORpK1tjw4qvb-fj&pullRequest=28093

Check failure on line 441 in ingestion/src/metadata/utils/datalake/datalake_utils.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ingestion] SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 17 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ingestion&issues=AZ4hyORpK1tjw4qvb-fm&open=AZ4hyORpK1tjw4qvb-fm&pullRequest=28093

Check failure on line 324 in ingestion/src/metadata/utils/datalake/datalake_utils.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ingestion] SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 19 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ingestion&issues=AZ4hyORpK1tjw4qvb-fl&open=AZ4hyORpK1tjw4qvb-fl&pullRequest=28093

Check warning on line 268 in ingestion/src/metadata/utils/datalake/datalake_utils.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ingestion] SonarCloud Code Analysis

Use a union type expression for this type hint.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ingestion&issues=AZ4hyORpK1tjw4qvb-fk&open=AZ4hyORpK1tjw4qvb-fk&pullRequest=28093

Check failure on line 43 in ingestion/src/metadata/utils/datalake/datalake_utils.py

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / [open-metadata-ingestion] SonarCloud Code Analysis

Define a constant instead of duplicating this literal "timedelta[ns]" 4 times.

See more on https://sonarcloud.io/project/issues?id=open-metadata-ingestion&issues=AZ4hyORpK1tjw4qvb-fi&open=AZ4hyORpK1tjw4qvb-fi&pullRequest=28093