frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Forge, the NoSQL to SQL Compiler

4•brady_bastian•2h ago
https://forge.foxtrotcommunications.net/

I've been a data engineer for years and one thing drove me crazy: every time we integrated a new API, someone had to manually write SQL to flatten the JSON into tables. LATERAL FLATTEN for Snowflake, UNNEST for BigQuery, EXPLODE for Databricks — same logic, different syntax, written from scratch every time.

Forge takes an OpenAPI spec (or any JSON schema) and automatically:

1. Discovers all fields across all nesting levels 2. Generates dbt models that flatten nested JSON into a star schema 3. Compiles for BigQuery, Snowflake, Databricks, AND Redshift from the same metadata 4. Runs incrementally — new fields get added via schema evolution, no rebuilds

The key insight is that JSON-to-table is a compilation problem, not a query problem. If you know the schema, you can generate all the SQL mechanically. Forge is essentially a compiler: schema in, warehouse- specific SQL out.

How it works under the hood:

- An introspection phase scans actual data rows and collects the union of ALL keys (not just one sample record), so sparse/optional fields are always discovered - Each array-of-objects becomes its own child table with a hierarchical index (idx) linking back to the parent — no manual join keys needed - Warehouse adapters translate universal metadata into dialect-specific SQL: BigQuery: UNNEST(JSON_EXTRACT_ARRAY(...)) Snowflake: LATERAL FLATTEN(input => PARSE_JSON(...)) Databricks: LATERAL VIEW EXPLODE(from_json(...)) Redshift: JSON_PARSE + manual extraction - dbt handles incremental loads with on_schema_change='append_new_columns'

The full pipeline: Bellows (synthetic data generation from OpenAPI specs) → BigQuery staging → Forge (model generation + dbt run) → queryable tables + dbt docs. There's also Merlin (AI-powered field enrichment via Gemini) that auto-generates realistic data generators for each field.

I built this because I watched teams spend weeks writing one-off FLATTEN queries that broke the moment an API added a field. Every Snowflake blog post shows you how to parse 3 fields from a known schema — none of them handle schema evolution, arbitrary nesting depth, or cross-warehouse portability.

Try it: https://forge.foxtrotcommunications.net

Happy to answer questions about the architecture, the cross-warehouse compilation approach, or the AI enrichment layer.

We ran 21 MCP database tasks on Claude Sonnet 4.6

https://insforge.dev/blog/mcpmark-benchmark-results-v2
1•Arindam1729•40s ago•0 comments

Show HN: Argus – Self-hosted Ethereum security monitor

https://github.com/tokamak-network/Argus
1•cd4761•1m ago•0 comments

Show HN: Screen-watching AI needs a kill switch

https://github.com/deusXmachina-dev/memorylane
1•fidorka•1m ago•1 comments

Corpus Christi careens toward water catastrophe

https://www.texastribune.org/2026/03/08/texas-corpus-christi-water-crisis/
1•speckx•1m ago•0 comments

India offered sanctuary to Iranian ship three days before US sank it

https://www.bbc.com/news/articles/c2e4yxj0pd3o
2•tartoran•2m ago•0 comments

Do AI-enabled companies need fewer people?

https://seldo.com/posts/do-ai-enabled-companies-need-fewer-people/
1•arberavdullahu•2m ago•0 comments

Show HN: AI workflows for SoC analysts (phishing analysis, log triage)

https://soc-workflows-ai-cyb-tstb.bolt.host
1•gauravkundu•2m ago•0 comments

How to Host Your Own Email Server

https://blog.miguelgrinberg.com/post/how-to-host-your-own-email-server
1•ibobev•5m ago•0 comments

Post-Quantum Cryptography Beyond TLS: Remain Quantum Safe

https://www.akamai.com/blog/security/post-quantum-cryptography-beyond-tls
1•todsacerdoti•5m ago•0 comments

My Experiment with GitHub Sponsors

https://chuniversiteit.nl/personal/donations-on-github
1•ibobev•6m ago•0 comments

Do AI coding agents improve velocity and quality?

https://chuniversiteit.nl/papers/impact-of-ai-coding-agents
2•ibobev•6m ago•0 comments

The first AI agent worm is months away, if that

https://dustycloud.org/blog/the-first-ai-agent-worm-is-months-away-if-that/
2•birdculture•6m ago•0 comments

(Co)Products: motivating category theory [video]

https://www.youtube.com/watch?v=4uJLvby7K9Y
1•surprisetalk•6m ago•0 comments

Building a better tool for documenting software architecture

1•salzaverde•6m ago•0 comments

Smart Quotes for Smart People

https://smartquotesforsmartpeople.com/
1•surprisetalk•7m ago•0 comments

The optimal age to freeze eggs is 19

https://www.lesswrong.com/posts/dxffBxGqt2eidxwRR/the-optimal-age-to-freeze-eggs-is-19
2•surprisetalk•7m ago•0 comments

Numbers for Understanding Cities (2022)

https://devon.postach.io/post/numbers-for-understanding-cities
1•surprisetalk•7m ago•0 comments

To understand why countries grow, look at their firms

https://economist.com/finance-and-economics/2026/03/05/to-understand-why-countries-grow-look-at-t...
1•andsoitis•7m ago•0 comments

Be reading academic computer science papers

https://stackoverflow.blog/2022/12/30/you-should-be-reading-academic-computer-science-papers/
1•prakashqwerty•8m ago•0 comments

Let's be honest about AI Coding

https://kenkantzer.com/lets-be-honest-about-ai/
2•lordofmoria•9m ago•0 comments

How LLMs are affecting CTF competitions

https://vt.social/@lina/116198976928184530
1•dbl000•9m ago•0 comments

Recent Pandemic Viruses Jumped to Humans Without Prior Adaptation

https://today.ucsd.edu/story/recent-pandemic-viruses-jumped-to-humans-without-prior-adaptation-uc...
1•geox•9m ago•0 comments

Show HN: TapMap – see where your computer connects on a world map

1•olalie•10m ago•0 comments

How do you balance building vs. marketing as a solo founder?

1•tiago_sao_jose•10m ago•0 comments

Using WebAssembly to Overcome SaaS Limits for Interactive Simulation Platforms

https://github.com/nima555/hawk-bt
1•nima555•11m ago•0 comments

Karpathy's Autoresearch but for Anything Quantifiable

https://github.com/zkarimi22/autoresearch-anything
1•zknowledge•12m ago•0 comments

Show HN: Warden – access cloud APIs without giving workloads credentials

https://github.com/stephnangue/warden
1•stephnangue•12m ago•1 comments

Global Growth Tracker: World Economies by GDP

https://www.cfr.org/trackers/global-growth-tracker-world-economies-gdp
1•gmays•12m ago•0 comments

NovAI

https://aiapi-pro.com/
1•vvvvking•12m ago•1 comments

Show HN: I built an instant remote control for shared spaces

https://openinfrared.com
1•openinfrared•12m ago•0 comments