Skip to content

Remove default implementation of withoutSmallFileThreshold#19355

Merged
findepi merged 1 commit intotrinodb:masterfrom
findepi:findepi/remove-default-implementation-of-withoutsmallfilethreshold-7dde69
Oct 17, 2023
Merged

Remove default implementation of withoutSmallFileThreshold#19355
findepi merged 1 commit intotrinodb:masterfrom
findepi:findepi/remove-default-implementation-of-withoutsmallfilethreshold-7dde69

Conversation

@findepi
Copy link
Copy Markdown
Member

@findepi findepi commented Oct 11, 2023

The default implementation did not do anything, which is not suitable for the test.

@findepi findepi added the no-release-notes This pull request does not require release notes entry label Oct 11, 2023
@cla-bot cla-bot bot added the cla-signed label Oct 11, 2023
Copy link
Copy Markdown
Member

@raunaqmorarka raunaqmorarka left a comment

Choose a reason for hiding this comment

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

There can be connectors like mongoDB where we're testing reduction in physical data read due to projection and predicate pushdown but the small file optimization doesn't apply there

@findepi
Copy link
Copy Markdown
Member Author

findepi commented Oct 13, 2023

Can you add a code comment in withoutSmallFileThreshold explaining why default impl isn't needed?

also, if it's sometimes not needed, and sometimes it is needed, it\d be better not to have default implementation still, and have a no-op impl for connectors where this is suitable

@raunaqmorarka
Copy link
Copy Markdown
Member

Can you add a code comment in withoutSmallFileThreshold explaining why default impl isn't needed?

also, if it's sometimes not needed, and sometimes it is needed, it\d be better not to have default implementation still, and have a no-op impl for connectors where this is suitable

It looks like this change is fine for now as MongoDb is skipping this test. We can let connectors add no-op implementation if needed later.

The default implementation did not do anything, which is not suitable
for the test.
@findepi findepi force-pushed the findepi/remove-default-implementation-of-withoutsmallfilethreshold-7dde69 branch from f541b89 to 64e936d Compare October 16, 2023 15:05
@findepi
Copy link
Copy Markdown
Member Author

findepi commented Oct 16, 2023

( just rebased, no other changes )

@findepi findepi merged commit c65a2d6 into trinodb:master Oct 17, 2023
@findepi findepi deleted the findepi/remove-default-implementation-of-withoutsmallfilethreshold-7dde69 branch October 17, 2023 11:18
@github-actions github-actions bot added this to the 430 milestone Oct 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed no-release-notes This pull request does not require release notes entry

Development

Successfully merging this pull request may close these issues.

2 participants