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 integer arithmetic, IS (NOT) NULL, NULLIF pushdown in MySQL connector #20378

Closed
wants to merge 2 commits into from

Conversation

hackeryang
Copy link
Member

@hackeryang hackeryang commented Jan 15, 2024

Description

We found that MySQL has many similar or same syntax as PostgreSQL, so some basic pushdown rules can be tried to use in MySQL and Apache Doris(compatible with MySQL protocol) as well.

Additional context and related issues

I referred to some older PRs for PostgreSQL, thanks to all relevant contributors very much:
#11510
#11514
#11532
#13136
MySQL seems doesn't support NOT(column EXPRESSION) syntax, only support syntax such as column NOT IN/BETWEEN/LIKE syntax, so I didn't add NOT pushdown.

Release notes

( ) This is not user-visible or is docs only, and no release notes are required.
(x) Release notes are required. Please propose a release note for me.
( ) Release notes are required, with the following suggested text:

# Section
* Support integer arithmetic, IS (NOT) NULL, NULLIF pushdown in MySQL connector. ({issue}`20378`)

@cla-bot cla-bot bot added the cla-signed label Jan 15, 2024
@hackeryang hackeryang requested review from findepi, wendigo and ebyhr and removed request for findepi January 15, 2024 10:08
@hackeryang hackeryang self-assigned this Jan 15, 2024
@hackeryang hackeryang added performance jdbc Relates to Trino JDBC driver labels Jan 15, 2024
@hackeryang hackeryang changed the title Support integer arithmetic, IS (NOT) NULL, NULLIF, IN pushdown in MySQL connector Support integer arithmetic, IS (NOT) NULL, NULLIF pushdown in MySQL connector Jan 15, 2024
@ebyhr
Copy link
Member

ebyhr commented Jan 16, 2024

@hackeryang Could you confirm CI failure?

@ebyhr ebyhr removed their request for review January 23, 2024 01:37
Copy link

This pull request has gone a while without any activity. Tagging the Trino developer relations team: @bitsondatadev @colebow @mosabua

@github-actions github-actions bot added the stale label Feb 13, 2024
Copy link

github-actions bot commented Mar 6, 2024

Closing this pull request, as it has been stale for six weeks. Feel free to re-open at any time.

@github-actions github-actions bot closed this Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed jdbc Relates to Trino JDBC driver performance stale
Development

Successfully merging this pull request may close these issues.

2 participants