TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: SQL Polyglot

53 点作者 nalgeon超过 1 年前
Try running a query anywhere from PostgreSQL to DuckDB without leaving your browser.

6 条评论

doesnt_know超过 1 年前
Cool idea, I&#x27;ve always wondered what it would look like to build a relatively large DB heavy stack where you use only standard SQL. I like the concept of being able to switch out DBs if you want to run it in different contexts (maybe SQL lite for local dev etc) and all your migrations etc would just work out of the box.<p>But I mean, that would probably be sort of a nightmare to make happen in practise. You&#x27;d need everyone that touches the code base to understand and accept that constraint, you&#x27;d probably be leaving a bunch of performance on the table without using DB specific features and it would drastically increase the test surface I suppose.<p>It&#x27;s just a thought, I&#x27;ve never come across a situation where this would be worth doing over just sticking to a single provider but I&#x27;m interested to know if there are.<p>Also heads up, I tried to use the codapi C# playground and just get a &quot;code execution timeout&quot; every time. :)
评论 #38668095 未加载
评论 #38670697 未加载
评论 #38667221 未加载
评论 #38668087 未加载
PeterZaitsev超过 1 年前
Very cool. So many times I was wondering if database X supports particular SQL feature of function and if it works the same way. This makes it very easy to do
colinmilhaupt超过 1 年前
Cool! Is this built with sqlglot[1] on the back end?<p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;tobymao&#x2F;sqlglot">https:&#x2F;&#x2F;github.com&#x2F;tobymao&#x2F;sqlglot</a>
评论 #38667397 未加载
pjot超过 1 年前
This is what Substrait and Apache Arrow seek to solve; but by serializing query plans that can be produced&#x2F;consumed by different engines. It’s like an IR for sql.<p><a href="https:&#x2F;&#x2F;substrait.io&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;substrait.io&#x2F;</a>
jansommer超过 1 年前
Wonder if you could put all those databases in a Linux image and boot it using v86 [0], eliminating the need for a server.<p>[0] <a href="https:&#x2F;&#x2F;github.com&#x2F;copy&#x2F;v86">https:&#x2F;&#x2F;github.com&#x2F;copy&#x2F;v86</a>
thadk超过 1 年前
I haven&#x27;t really used it but could this be used as a ground-truth for SQL something like how OpenAI Code Interpreter &#x2F; Advanced Data Analysis is used for python?
评论 #38667238 未加载