Repository navigation
Remove redundant Snowflake prefixes from Cortex Agent and SQL API modules - #74300
Open
SameerMesiah97 wants to merge 1 commit into
Open
SameerMesiah97 wants to merge 1 commit into
SameerMesiah97 wants to merge 1 commit into
Conversation
SameerMesiah97
marked this pull request as ready for review
October 5, 2026 21:32
SameerMesiah97
marked this pull request as draft
October 5, 2026 21:32
SameerMesiah97
force-pushed
the
Remove-Snowflake-Prefix
branch
from
October 6, 2026 18:15
443dc37 to
e7ec202
Compare
SameerMesiah97
marked this pull request as ready for review
October 6, 2026 18:15
SameerMesiah97
force-pushed
the
Remove-Snowflake-Prefix
branch
from
October 6, 2026 20:55
e7ec202 to
6f22e0c
Compare
SameerMesiah97
marked this pull request as draft
October 7, 2026 17:25
SameerMesiah97
force-pushed
the
Remove-Snowflake-Prefix
branch
2 times, most recently
from
October 9, 2026 17:32
059587a to
ecef787
Compare
SameerMesiah97
marked this pull request as ready for review
October 9, 2026 17:43
SameerMesiah97
marked this pull request as draft
October 10, 2026 14:48
SameerMesiah97
force-pushed
the
Remove-Snowflake-Prefix
branch
from
October 10, 2026 16:24
ecef787 to
9fb0625
Compare
Rename Cortex Agent and SQL API modules and update their references. Preserve existing import paths through deprecated aliases.
SameerMesiah97
force-pushed
the
Remove-Snowflake-Prefix
branch
from
October 10, 2026 17:05
9fb0625 to
d9cef88
Compare
SameerMesiah97
marked this pull request as ready for review
October 10, 2026 20:20
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This change renames the Snowflake Cortex Agent hook and operator modules to
cortex_agent.py, and the SQL API hook module tosql_api.py.Imports, mock targets, corresponding test filenames, documentation and provider metadata are updated to use the new module paths.
Rationale
In line with AIP-21, this change removes redundant provider prefixes from module names. The
snowflake_prefix repeats information already provided by theairflow.providers.snowflakepackage.Removing it makes these module paths shorter while retaining descriptive filenames and keeping class names unchanged.
Tests
Backwards Compatibility
Existing import paths remain available through
add_deprecated_classes()mappings in the hook and operator packages. Existing DAGs continue to work, with deprecation warnings directing users to the new paths.Was generative AI tooling used to co-author this PR?
Generated-by: [GPT 5.6] following the guidelines