/plushcap/analysis/fivetran/can-sql-be-a-library-language

Can SQL be a library language?

What's this blog post about?

The article discusses the need for an open-source library ecosystem in SQL, similar to what exists in languages like C++ and Java. It highlights that SQL lacks such a system due to different implementations providing incompatible extension mechanisms and the absence of a package manager. PostGIS is cited as a counterexample, having overcome these issues by targeting a single database management system and becoming popular enough for major vendors to pre-package it. The article suggests that building separate libraries for each SQL implementation could be feasible given the few popular systems in analytical databases. Additionally, dbt's package manager could potentially distribute open-source libraries of user-defined functions. This approach has already begun with Fivetran distributing over 50 data models to customers through dbt package hub.

Company
Fivetran

Date published
Feb. 15, 2022

Author(s)
George Fraser

Word count
523

Hacker News points
None found.

Language
English


By Matt Makai. 2021-2024.