-
Notifications
You must be signed in to change notification settings - Fork 314
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
Pass query context down to region server service in Datanode #3752
Comments
I would like to try. Can you give me more details? |
Hi @Kelvinyu1117, I recommend reading the code for splitting and inserting values into different datanodes. It's the opposite operation of inserting, and it could be a little tricky. |
Looks like you misunderstand this issue. |
Oh, I see. I took it as another issue pruning partition during predicate pushdown.🥲 |
Thanks, anyway, I am trying to understand how the Datanode interact with the region server now. |
Feel free to ask if you have any questions. @MichaelScofield Could you provide some related code link that may help @Kelvinyu1117 ? |
Sure.
|
Thanks, let me try it and open an PR. |
What type of enhancement is this?
Refactor
What does the enhancement do?
Now the region server service in Datanode needs a meaningful query context. For example, it needs the time zone info to correctly construct datetime related udf. You can see this in
RegionServerInner::handle_read
. Currently we only pass down the time zone info throughRegionRequestHeader
, it's better to pass down the whole query context.Implementation challenges
No response
The text was updated successfully, but these errors were encountered: