[ 源代码: sqlglot ]
软件包:python3-sqlglot(10.6.3-1)
SQL parser, transpiler, and optimizer for Python
SQLGlot is a no dependency Python SQL parser, transpiler, and optimizer. It can be used to format SQL or translate between different dialects like DuckDB, Presto, Spark, and BigQuery. It aims to read a wide variety of SQL inputs and output syntactically correct SQL in the targeted dialects.