Skip to content

Conversation

@chenjian2664
Copy link
Contributor

@chenjian2664 chenjian2664 commented Mar 19, 2024

Release notes

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

# Snowflake
* Add support for `avg` aggregation pushdown on `bigint` type. 

@cla-bot cla-bot bot added the cla-signed label Mar 19, 2024
@chenjian2664 chenjian2664 marked this pull request as draft March 19, 2024 01:58
@ebyhr ebyhr added the no-release-notes This pull request does not require release notes entry label Mar 19, 2024
@ebyhr
Copy link
Member

ebyhr commented Mar 19, 2024

/test-with-secrets sha=ff0058d9f211d8ac8c670450eacc5878dfe97603

@github-actions
Copy link

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

@ebyhr ebyhr changed the title Fix Snowflake aggregation pushdown Fix test for Snowflake aggregation pushdown Mar 19, 2024
@ebyhr
Copy link
Member

ebyhr commented Mar 19, 2024

Please fix checkstyle violation.

Fix Snowflake aggregation pushdown

Also, the current commit title seems misleading. Please change to Enable test for Snowflake aggregation pushdown or something.

@ebyhr
Copy link
Member

ebyhr commented Mar 19, 2024

/test-with-secrets sha=18b2559f92f7d08572382f6756e249f0f2524788

@github-actions
Copy link

github-actions bot commented Mar 19, 2024

The CI workflow run with tests that require additional secrets finished as failure: https://github.com/trinodb/trino/actions/runs/8338965001

@ebyhr
Copy link
Member

ebyhr commented Mar 19, 2024

/test-with-secrets sha=18b2559f92f7d08572382f6756e249f0f2524788

@github-actions
Copy link

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

@ebyhr
Copy link
Member

ebyhr commented Mar 19, 2024

/test-with-secrets sha=ae0f595057c6ab9ec94d2b40434453827bd8e5d5

@github-actions
Copy link

github-actions bot commented Mar 19, 2024

The CI workflow run with tests that require additional secrets finished as failure: https://github.com/trinodb/trino/actions/runs/8343932436

@chenjian2664 chenjian2664 self-assigned this Mar 21, 2024
@chenjian2664 chenjian2664 marked this pull request as ready for review March 21, 2024 08:52
@ebyhr
Copy link
Member

ebyhr commented Mar 22, 2024

/test-with-secrets sha=c94d35488e6457fc581a7034199e9fec14762088

@ebyhr ebyhr removed the no-release-notes This pull request does not require release notes entry label Mar 22, 2024
@github-actions
Copy link

github-actions bot commented Mar 22, 2024

The CI workflow run with tests that require additional secrets finished as failure: https://github.com/trinodb/trino/actions/runs/8384568924

@ebyhr ebyhr changed the title Fix test for Snowflake aggregation pushdown Add support for avg aggregation pushdown on bigint type in Snowflake Mar 22, 2024
@ebyhr
Copy link
Member

ebyhr commented Mar 22, 2024

@ebyhr
Copy link
Member

ebyhr commented Mar 22, 2024

/test-with-secrets sha=767e9f24dfd10728f396ac5f9eec4a5ff224ec32

@github-actions
Copy link

github-actions bot commented Mar 22, 2024

The CI workflow run with tests that require additional secrets finished as failure: https://github.com/trinodb/trino/actions/runs/8385212710

@ebyhr
Copy link
Member

ebyhr commented Mar 22, 2024

@ebyhr
Copy link
Member

ebyhr commented Mar 22, 2024

/test-with-secrets sha=e293844c28a47418525228cbd3ab8efc2865f602

@github-actions
Copy link

github-actions bot commented Mar 22, 2024

The CI workflow run with tests that require additional secrets finished as failure: https://github.com/trinodb/trino/actions/runs/8386772565

@ebyhr
Copy link
Member

ebyhr commented Mar 22, 2024

@chenjian2664
Copy link
Contributor Author

chenjian2664 commented Mar 22, 2024

I think maybe we need to open limit push down test first, currently the snowflake client implemented the limit pushdown, but the test is disabled. WDYT?
The second choice is that we remove the implementation for the limit pushdown part(SnowflakeClient#limitFunction, Snowflake#isLimitGuaranteed) in this pr.

@chenjian2664
Copy link
Contributor Author

chenjian2664 commented Mar 22, 2024

Removed the connector behavior SUPPORTS_LIMIT_PUSHDOWN(change it to the default behavior, which is true) since the test is disabled but the client has it's implementation. Filed #21198 as the separate work

@ebyhr
Copy link
Member

ebyhr commented Mar 22, 2024

/test-with-secrets sha=0c1b7e94a88b7024b694a3fa032f4588d469a4f6

@github-actions
Copy link

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

Also, enable aggregation pushdown tests.

Co-Authored-By: Yuya Ebihara <[email protected]>
@ebyhr ebyhr merged commit fd12d10 into trinodb:master Mar 22, 2024
@github-actions github-actions bot added this to the 444 milestone Mar 22, 2024
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