Skip to content

Feat/snowflake s3 path spec lineage#17949

Closed
alokr-dhub wants to merge 1373 commits into
masterfrom
feat/snowflake-s3-path-spec-lineage
Closed

Feat/snowflake s3 path spec lineage#17949
alokr-dhub wants to merge 1373 commits into
masterfrom
feat/snowflake-s3-path-spec-lineage

Conversation

@alokr-dhub

Copy link
Copy Markdown
Contributor

No description provided.

anshbansal and others added 30 commits August 13, 2025 15:32
merge oss master + fix conflict
@github-actions github-actions Bot added ingestion PR or Issue related to the ingestion of metadata devops PR or Issue related to DataHub backend & deployment labels Jun 18, 2026
@github-actions

Copy link
Copy Markdown
Contributor

PR Title Check Failed

Your PR title must follow the format: <type>[optional scope]: <description>

Examples:

  • feat(ingestion): add Snowflake v2 source
  • fix: resolve crash on empty dashboard

See the Contributing Guide for allowed types and format details.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remaining comments which cannot be posted as a review comment to avoid GitHub Rate Limit

actionlint

🚫 [actionlint] reported by reviewdog 🐶
shellcheck reported issue in this script: SC2001:style:3:7: See if you can use ${variable//search/replace} instead [shellcheck]


⚠️ [actionlint] reported by reviewdog 🐶
shellcheck reported issue in this script: SC2034:warning:2:1: SHORT_SHA appears unused. Verify use (or export if used externally) [shellcheck]


📝 [actionlint] reported by reviewdog 🐶
shellcheck reported issue in this script: SC2086:info:3:12: Double quote to prevent globbing and word splitting [shellcheck]


📝 [actionlint] reported by reviewdog 🐶
shellcheck reported issue in this script: SC2086:info:4:20: Double quote to prevent globbing and word splitting [shellcheck]

validate_github_ref_for_python_tag
- name: Compute Tag
id: tag
run: |

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [actionlint] reported by reviewdog 🐶
shellcheck reported issue in this script: SC2001:style:3:7: See if you can use ${variable//search/replace} instead [shellcheck]

validate_github_ref_for_python_tag
- name: Compute Tag
id: tag
run: |

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [actionlint] reported by reviewdog 🐶
shellcheck reported issue in this script: SC2034:warning:2:1: SHORT_SHA appears unused. Verify use (or export if used externally) [shellcheck]

validate_github_ref_for_python_tag
- name: Compute Tag
id: tag
run: |

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📝 [actionlint] reported by reviewdog 🐶
shellcheck reported issue in this script: SC2086:info:3:12: Double quote to prevent globbing and word splitting [shellcheck]

validate_github_ref_for_python_tag
- name: Compute Tag
id: tag
run: |

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📝 [actionlint] reported by reviewdog 🐶
shellcheck reported issue in this script: SC2086:info:4:20: Double quote to prevent globbing and word splitting [shellcheck]

id: publish
env:
ENABLE_PUBLISH: ${{ secrets.ORG_DOCKER_PASSWORD }}
run: |

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📝 [actionlint] reported by reviewdog 🐶
shellcheck reported issue in this script: SC2086:info:2:43: Double quote to prevent globbing and word splitting [shellcheck]

validate_github_ref_for_python_tag
- name: Compute Tag
id: tag
run: |

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📝 [actionlint] reported by reviewdog 🐶
shellcheck reported issue in this script: SC2086:info:4:20: Double quote to prevent globbing and word splitting [shellcheck]

validate_github_ref_for_python_tag
- name: Compute Tag
id: tag
run: |

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [actionlint] reported by reviewdog 🐶
shellcheck reported issue in this script: SC2001:style:3:7: See if you can use ${variable//search/replace} instead [shellcheck]

validate_github_ref_for_python_tag
- name: Compute Tag
id: tag
run: |

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [actionlint] reported by reviewdog 🐶
shellcheck reported issue in this script: SC2034:warning:2:1: SHORT_SHA appears unused. Verify use (or export if used externally) [shellcheck]

validate_github_ref_for_python_tag
- name: Compute Tag
id: tag
run: |

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📝 [actionlint] reported by reviewdog 🐶
shellcheck reported issue in this script: SC2086:info:3:12: Double quote to prevent globbing and word splitting [shellcheck]

validate_github_ref_for_python_tag
- name: Compute Tag
id: tag
run: |

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📝 [actionlint] reported by reviewdog 🐶
shellcheck reported issue in this script: SC2086:info:4:20: Double quote to prevent globbing and word splitting [shellcheck]

@codecov

codecov Bot commented Jun 18, 2026

Copy link
Copy Markdown

❌ 1 Tests Failed:

Tests completed Failed Passed Skipped
21648 1 21647 94
View the top 1 failed test(s) by shortest run time
tests.unit.test_packages::test_check_str_enum_usage
Stack Traces | 0.468s run time
pytestconfig = <_pytest.config.Config object at 0x7ff2fae3dca0>

    def test_check_str_enum_usage(pytestconfig: pytest.Config) -> None:
        root = pytestconfig.rootpath
    
>       ensure_no_enum_mixin([root / "src", root / "tests"])

tests/unit/test_packages.py:28: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

dirs = [PosixPath('.../datahub/metadata-ingestion/src'), PosixPath('.../datahub/metadata-ingestion/tests')]

    def ensure_no_enum_mixin(dirs: List[pathlib.Path]) -> None:
        # See the docs on the StrEnum implementation for why this is necessary.
    
        bad_lines = {
            "(str, Enum)",
            "(str, enum.Enum)",
            # We don't have any int enums right now, but this will catch them if we add some.
            "(int, Enum)",
            "(int, enum.Enum)",
        }
    
        ignored_files = {
            "datahub/utilities/str_enum.py",
            "datahub/testing/check_str_enum.py",
        }
    
        for dir in dirs:
            for file in dir.rglob("*.py"):
                if any(str(file).endswith(ignored_file) for ignored_file in ignored_files):
                    continue
    
                with file.open() as f:
                    for line in f:
                        if any(bad_line in line for bad_line in bad_lines):
>                           raise ValueError(
                                f"Disallowed enum mixin found in {file}: `{line.rstrip()}`. "
                                "This enum mixin's behavior changed in Python 3.11, so it will work inconsistently across versions."
                                "Use datahub.utilities.str_enum.StrEnum instead."
                            )
E                           ValueError: Disallowed enum mixin found in .../datahub/metadata-ingestion/src/datahub/ingestion/source/data_lake_common/config.py: `class S3PathMode(str, Enum):`. This enum mixin's behavior changed in Python 3.11, so it will work inconsistently across versions.Use datahub.utilities.str_enum.StrEnum instead.

.../datahub/testing/check_str_enum.py:29: ValueError

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

@alokr-dhub alokr-dhub force-pushed the feat/snowflake-s3-path-spec-lineage branch from 6b1c773 to 13cb005 Compare June 18, 2026 08:16
validate_github_ref_for_python_tag
- name: Compute Tag
id: tag
run: |

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [actionlint] reported by reviewdog 🐶
shellcheck reported issue in this script: SC2001:style:3:7: See if you can use ${variable//search/replace} instead [shellcheck]

validate_github_ref_for_python_tag
- name: Compute Tag
id: tag
run: |

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [actionlint] reported by reviewdog 🐶
shellcheck reported issue in this script: SC2034:warning:2:1: SHORT_SHA appears unused. Verify use (or export if used externally) [shellcheck]

validate_github_ref_for_python_tag
- name: Compute Tag
id: tag
run: |

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📝 [actionlint] reported by reviewdog 🐶
shellcheck reported issue in this script: SC2086:info:3:12: Double quote to prevent globbing and word splitting [shellcheck]

validate_github_ref_for_python_tag
- name: Compute Tag
id: tag
run: |

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📝 [actionlint] reported by reviewdog 🐶
shellcheck reported issue in this script: SC2086:info:4:20: Double quote to prevent globbing and word splitting [shellcheck]

@alokr-dhub

Copy link
Copy Markdown
Contributor Author

Closing — re-opening on a fresh branch.

@alokr-dhub alokr-dhub closed this Jun 18, 2026
@alokr-dhub alokr-dhub deleted the feat/snowflake-s3-path-spec-lineage branch June 18, 2026 08:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

devops PR or Issue related to DataHub backend & deployment ingestion PR or Issue related to the ingestion of metadata

Projects

None yet

Development

Successfully merging this pull request may close these issues.