Skip to content

Conversation

@benraha
Copy link
Contributor

@benraha benraha commented Jan 4, 2023

instead of reading the entire file

Summary

resolves #PR/#Issue

don't forget:

  • please state if it is not backward compatible
  • please add relevant docs to either the function description, or the relevant doc file

Detailed Description

explain the implementation, what is the problem? how did you solve it?

How was it tested?

(unit test/integration test)

… get file instead of reading the entire file
kvIt.next()
}
if (!kvIt.hasNext || cmp>0)
val a = avroBtreeStorageFileReader.get(key1GR)
Copy link
Collaborator

Choose a reason for hiding this comment

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

not sure that this is the correct baseline to compare, as I have a feeling that it will be much worse then just reading through all the index file (as was before). Even now after fixing #73 it should be much faster.

@shay1bz
Copy link
Collaborator

shay1bz commented Jan 5, 2023

Where is the change to joinByIndex? Why would it be faster if using the btree? joinByIndex already has all the indexes (offsets), it doesn't need to check the btree.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants