Skip to content

Speed up coercion to a single type for IN predicates#11956

Merged
sopel39 merged 1 commit intotrinodb:masterfrom
wendigo:serafin/speedup-in-coercion
Apr 15, 2022
Merged

Speed up coercion to a single type for IN predicates#11956
sopel39 merged 1 commit intotrinodb:masterfrom
wendigo:serafin/speedup-in-coercion

Conversation

@wendigo
Copy link
Contributor

@wendigo wendigo commented Apr 14, 2022

This PR reduces complexity of coerceToSingleType by doing less processing and saving type information in batches

@cla-bot cla-bot bot added the cla-signed label Apr 14, 2022
@wendigo wendigo requested review from kasiafi and sopel39 April 14, 2022 12:33
Copy link
Member

@sopel39 sopel39 left a comment

Choose a reason for hiding this comment

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

lgtm % comments % failing test testInvalidTypeArray

@wendigo wendigo force-pushed the serafin/speedup-in-coercion branch from eabeaab to 80169e6 Compare April 14, 2022 19:47
Copy link
Member

@sopel39 sopel39 left a comment

Choose a reason for hiding this comment

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

lgtm % comments

@wendigo wendigo force-pushed the serafin/speedup-in-coercion branch from 80169e6 to 00cbe34 Compare April 15, 2022 07:01
@wendigo wendigo requested a review from sopel39 April 15, 2022 07:19
@wendigo
Copy link
Contributor Author

wendigo commented Apr 15, 2022

@sopel39 fixed, please merge whenever you want

@wendigo wendigo force-pushed the serafin/speedup-in-coercion branch from 00cbe34 to c7063f1 Compare April 15, 2022 10:21
@sopel39 sopel39 force-pushed the serafin/speedup-in-coercion branch from c7063f1 to d1fb073 Compare April 15, 2022 11:16
@sopel39 sopel39 force-pushed the serafin/speedup-in-coercion branch from d1fb073 to 3ffc648 Compare April 15, 2022 12:05
@sopel39 sopel39 force-pushed the serafin/speedup-in-coercion branch from 3ffc648 to 2efd3c5 Compare April 15, 2022 20:17
@sopel39 sopel39 merged commit 45f1bb2 into trinodb:master Apr 15, 2022
@sopel39 sopel39 mentioned this pull request Apr 15, 2022
@github-actions github-actions bot added this to the 378 milestone Apr 15, 2022
@wendigo wendigo deleted the serafin/speedup-in-coercion branch January 21, 2025 11:55
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.

4 participants