Skip to content
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

Support topN for Snowflake connector #21219

Merged
merged 1 commit into from
Mar 25, 2024
Merged

Support topN for Snowflake connector #21219

merged 1 commit into from
Mar 25, 2024

Conversation

chenjian2664
Copy link
Contributor

@chenjian2664 chenjian2664 commented Mar 24, 2024

Release notes

(x) Release notes are required, with the following suggested text:

# Snowflake
* Add support for top-N pushdown. ({issue}`21219`)

@cla-bot cla-bot bot added the cla-signed label Mar 24, 2024
Comment on lines +291 to +295
Type sortItemType = sortItem.getColumn().getColumnType();
if (sortItemType instanceof CharType || sortItemType instanceof VarcharType) {
// Remote database can be case insensitive.
return false;
}
Copy link
Member

@ebyhr ebyhr Mar 24, 2024

Choose a reason for hiding this comment

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

Is it true? or did you just copy from other connectors?
cc: @wendigo @hashhar

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@ebyhr
Copy link
Member

ebyhr commented Mar 25, 2024

Please add the following line to snowflake.md after #21214:

- {ref}`topn-pushdown`

@ebyhr
Copy link
Member

ebyhr commented Mar 25, 2024

/test-with-secrets sha=ef2e7687fd39a271625087fef8dfafa0045a93b0

Copy link

The CI workflow run with tests that require additional secrets has been started: https://github.com/trinodb/trino/actions/runs/8414765777

@ebyhr ebyhr merged commit 7c5d56e into trinodb:master Mar 25, 2024
18 checks passed
@github-actions github-actions bot added this to the 444 milestone Mar 25, 2024
@chenjian2664 chenjian2664 deleted the sn_topn branch April 11, 2024 10:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants