lujiajing1126 commented on pull request #10:
URL: 
https://github.com/apache/skywalking-banyandb/pull/10#issuecomment-865891373


   > From your screenshots, the `Scan` is the first operation even fields 
exist. From the design, `Select` which should be the first one parsed ChunkIDs 
from `index`, then the results will be passed to `FetchEntity`(I didn't see 
this step in the parsed plan). The `Scan` will be used only there's no any 
`Selection` input, which means it will be picked rarely.
   
   As I understood, the logical plan does not care about the indexes, it just 
prepares the metadata and resolves fields so that the existence of these fields 
which are referenced can be guaranteed.
   
   As we've discussed in the last PR, we can select the indexes while 
generating physical plans based on cost-first consideration.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to