-
Notifications
You must be signed in to change notification settings - Fork 29k
[MINOR][SQL]Locality does not need to be implemented #23339
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
Conversation
|
Test build #100270 has finished for PR 23339 at commit
|
|
CC @ScrapCodes |
|
Hi @srowen, to be honest, this comment was originally introduced by @cloud-fan in HadoopFileLinesReader. I have just replicated it, in the HadoopFileWholeTextReader, which is based on HadoopFileLinesReader. And, I do not know if the above claim is true. I can look into it more closely, later. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe we should leave some comment to explain where the locality is decided.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, thanks
57742ce to
8b83c24
Compare
|
Test build #100354 has finished for PR 23339 at commit
|
|
thanks, merging to master! |
## What changes were proposed in this pull request? `HadoopFileWholeTextReader` and `HadoopFileLinesReader` will be eventually called in `FileSourceScanExec`. In fact, locality has been implemented in `FileScanRDD`, even if we implement it in `HadoopFileWholeTextReader ` and `HadoopFileLinesReader`, it would be useless. So I think these `TODO` can be removed. ## How was this patch tested? N/A Closes apache#23339 from 10110346/noneededtodo. Authored-by: liuxian <[email protected]> Signed-off-by: Wenchen Fan <[email protected]>
## What changes were proposed in this pull request? `HadoopFileWholeTextReader` and `HadoopFileLinesReader` will be eventually called in `FileSourceScanExec`. In fact, locality has been implemented in `FileScanRDD`, even if we implement it in `HadoopFileWholeTextReader ` and `HadoopFileLinesReader`, it would be useless. So I think these `TODO` can be removed. ## How was this patch tested? N/A Closes apache#23339 from 10110346/noneededtodo. Authored-by: liuxian <[email protected]> Signed-off-by: Wenchen Fan <[email protected]>
What changes were proposed in this pull request?
HadoopFileWholeTextReaderandHadoopFileLinesReaderwill be eventually called inFileSourceScanExec.In fact, locality has been implemented in
FileScanRDD, even if we implement it inHadoopFileWholeTextReaderandHadoopFileLinesReader, it would be useless.So I think these
TODOcan be removed.How was this patch tested?
N/A