-
It seems like it's not possible right now to query/evaluate/correlate datasets from multiple data sources, e.g. something from BQ and something from Postgres. Is it, and if so, at which level of abstraction would be correlation of such datasets would be described and carried out? PS. Thanks for all your work, Evgeniy and the contributors. Logica is fascinating, elegant and powerful even as it is right now! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
@rvalek that's right, currently AFAIK Trino supports heterogeneous data sources, e.g. a Trino query could be reading from BQ and Postgres and writing to Postgres. So this should be doable with Logica program if you have Trino cluster properly configured. But I have not tried this myself, so I can't say how convenient is it compared to your current practices. In the future we could make If you have any thoughts and ideas on the topic, I'd be happy to discuss it further. And thank you very much for your supportive feedback! |
Beta Was this translation helpful? Give feedback.
-
Thank you for your answer, Evgeniy! It seems combining multiple data sources at large scale would be handled better by Presto/Trino indeed; and for the simpler cases some additional scripting may be enough. Speaking of |
Beta Was this translation helpful? Give feedback.
-
That's a good point! I've added a section about We will need to write a more thorough reference for annotations and |
Beta Was this translation helpful? Give feedback.
@rvalek that's right, currently
@Engine
imperative has global impact, all predicates use the same engine.Obviously there is always an option to have some other scripts pulling all data sources to one, but something more holistic could be desired.
AFAIK Trino supports heterogeneous data sources, e.g. a Trino query could be reading from BQ and Postgres and writing to Postgres. So this should be doable with Logica program if you have Trino cluster properly configured. But I have not tried this myself, so I can't say how convenient is it compared to your current practices.
In the future we could make
@Ground
imperative specify datasource, so user can express cross data source queries. This w…