how to subquery with aggregate #10907
Unanswered
PeterShinners
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a mysql table of key and value pairs for a list of entities, the schema looks like
When looking up my entities with SQL I use a subquery with an aggregate to include this information.
I'm experimenting with converting my direct SQL code into Ibis queries. I haven't been able to figure out how to match this subquery. I have gotten something fairly close, but it ends up as a performance bomb because it aggregates all the data in the table before filtering by id.
Beta Was this translation helpful? Give feedback.
All reactions