I'm very curious with the use case, why do you need to run analytical queries against the postgres read replica? Why not read the WAL and CDC them elsewhere? Especially if it's adhoc then the (short) delay wouldn't be noticeable.
Also did you tried transpiling SQL if you wanted to match the postgres dialect? I've had great success with duckdb <=> postgres using https://github.com/tobilg/polyglot
Sounds like they saw clickhouse as too operationally cumbersome and too much of a shift for their use cases. They seemed to want to reuse existing sql queries or fragments and just get a performance boost, and then also easy spin up these analytical DBs in customer environments on an ad-hoc basis.
Yeah, exactly. Our customers have lots of postgres dbs, and we needed something plug and play that we can throw the existing (postgres) queries at, without having to rewrite them. Also saves setting up a warehouse each time.
And yeah, it uses CDC via the WAL if you sync via logical replication.
Nice! Love the dependency graph! I have a story how an excel spreadsheet ended up mispricing an asset by $50M, due to the formulas being hard to review. Crazy how much can go wrong in excel.
I'll give this a spin and check out the reaktiv framework too!
Also really fun to see others try different frontend approaches for data work. I have a SQL canvas: https://github.com/aleda145/kavla
Currently no reactivity though, so I will absolutely take a peek at how you've implemented signals.
Fun! But I would hesitate to draw conclusions from this, mostly due to the power imbalance. If an employee understands that the manager wants them to have fun, they will fake engagement.
Would be different if we saw the same signals when presenting up rather than down.
I guess try it out in a board meeting, maybe a colorful ball pit style walkthrough of OKRs?
This sounds more like a culture problem than a title problem though. Are you saying you can't even open PRs with a pipeline proposal? Your data engineering team is playing emperor and wants to protect their kingdom at all cost
You can't adequately clean some data though. That your psp had a hickup and only processed 50% of orders on Christmas Eve can't be modeled away. That's where you'd need a context layer to explain why it happened
I guess as long as it gets into the context layer it's all good! I'm excited, but skeptical, for those company OS agents that will be able to figure this out
I think there are big risks with just labelling it as "wild west" and let users do whatever they want there.
It's always been possible to massage your data to fit whatwver case you want to make. Previously you had to go through a data analyst and convince them to let go of their principles. Now you can just let an agent figure it out.
So how do you make sure insights are actually shareable (and trustable) with other parts of the company?
I think just exposing the metrics layer is probably the answer here.
It's kind of funny that the industry has tried to democratize data for so long, but now we scramble to restrict access to protect users from making incorrect decisions.
> I think just exposing the metrics layer is probably the answer here.
This is the short answer. Metadata has taken on a whole new level of importance and if your model isn't tight you're going to have a bad time in a lot of new and exciting ways that weren't exposed in a more traditional data stack.
I have actually spent a lot of time on this. But it was for an old version of my flowchart editor that did full relayout on every edit. I tried many variations, including a fork I made of dagrejs to shoehorn it into discrete coordinates.
In the end I decided to go a different route. The current version only does incremental relayout — it tries to move only a small number of nodes to make space for the current edit. And I wrote a custom algorithm that shifts nodes out of the way to make space on edits, and trys best effort to keep edges in the same direction by detecting which got bent and iteratively moving one of their nodes.
So far I don't think very much, except for it being a canvas and pasting images.
But I want this to become a "Bicycle for the mind" for data analysis, where you can move data by different gestures. Like circling an area in a scatter plot to examine those points, or dragging a bar from a bar chart onto the canvas.
My thesis is that humans are better than agents at pattern recognition, so I want to optimize for the "looking at data" part of analytics and make it as easy as and intuitive as possible
It is a full-featured reporting tool, and can be used without AI. If you do use AI it has a semantic layer to help AI understand your table and column names, and relationships between tables.
I'm very curious with the use case, why do you need to run analytical queries against the postgres read replica? Why not read the WAL and CDC them elsewhere? Especially if it's adhoc then the (short) delay wouldn't be noticeable.
Also did you tried transpiling SQL if you wanted to match the postgres dialect? I've had great success with duckdb <=> postgres using https://github.com/tobilg/polyglot
reply