-
Notifications
You must be signed in to change notification settings - Fork 109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FIX: Fix merge_asof
test disabled sql simplifier
#2156
Conversation
Signed-off-by: Naren Krishna <naren.krishna@snowflake.com>
merge_asof
test Jenkins CI
Kicked off daily run here: https://github.com/snowflakedb/snowpark-python/actions/runs/10529512019 |
): | ||
native_pd.merge_asof(left_native_df, right_native_df, on="a") | ||
# Snowpark pandas raises a SnowparkSQLException | ||
# MATCH_CONDITION clause is invalid: The left and right side expressions must be numeric or timestamp expressions. | ||
with pytest.raises( | ||
SnowparkSQLException, | ||
): | ||
pd.merge_asof(left_snow_df, right_snow_df, on="a") | ||
pd.merge_asof(left_snow_df, right_snow_df, on="a").to_pandas() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sfc-gh-nkrishna are those test skipped in the merge gate? how com it didn't fail in the merge gate?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah I'm not sure about that as well, it shouldn't be skipped....
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
They failed when the SQL optimizer was disabled which only run in github daily.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sfc-gh-azhan do you mean SqlSimpflication?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that kind of make sense, the sql simplification tiggers an describing call when extracting ColumnState for select, that could explain it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh yes
merge_asof
test Jenkins CImerge_asof
test disabled sql simplifier
Which Jira issue is this PR addressing? Make sure that there is an accompanying issue to your PR.
Fixes SNOW-NNNNNNN
Fill out the following pre-review checklist:
Please describe how your code solves the related issue.
Please write a short description of how your code change solves the related issue.