Show HN: Automatic deduction of FlashAttention kernel from ~25 lines of SQL
Category: database
Tags: sql, xarray, duckdb, datafusion, geospatial
Score: 6.5/10 (Innovation: 7, Technical: 7, Documentation: 6, Utility: 6)
xarray-sql provides a SQL interface over Xarray datasets, enabling queries on scientific array data through engines like DuckDB, DataFusion, and Arrow Flight SQL. It bridges the gap between SQL users and scientific datasets, supporting pushdown of predicates and projections to Zarr stores. The project demonstrates the concept of treating the Pangeo ecosystem as a scientific database.
Target audience: data engineers, climate scientists, geospatial analysts
Repository: https://github.com/xqlsystems/xarray-sql/blob/6debe2495dcb4e8fac20ab97df5b89baae2a31a6/benchmarks/ml/01_attention.py · Python · Apache-2.0 · 143 stars
View on Hacker News