Repository navigation
How to use Arc<dyn PhysicalExpr> inside HashMap as key, or inside HashSet.
#7906
mustafasrepo
started this conversation in
General
Replies: 2 comments 1 reply
|
What is the problem with using We implemented |
1 reply
|
It seems that when we use a type with unknown size inside |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I think some of the mappings during projection or in other parts of the codebase, can be simplified. If we were to use
Arc<dyn PhysicalExpr>inside aHashMap(e.gHashMap<Arc<dyn PhysicalExpr>, Arc<dyn PhysicalExpr>>). However, I gave it a try, and couldn't do so.Is there a way to do so? I have tried to use a wrapper struct inside
HashMapsuch asHashMap<ExprWrapper, ExprWrapper>where
ExprWrapperisThis suggests me that, there should be a way to use directly
Arc<dyn PhysicalExpr>>insideHashMap. I wonder if there is anyone who has done similar to this before, and How can I do so?Thanks in advance.
All reactions