Package: polyglotSQL 0.1.0

Andre Leite
polyglotSQL: SQL Parsing, Analysis and Dialect Translation
Parse, tokenize, validate, format, analyze and translate SQL between more than 30 dialects ('PostgreSQL', 'MySQL', 'BigQuery', 'Snowflake', 'DuckDB', 'T-SQL', and others) using the 'polyglot-sql' Rust crate <https://github.com/tobilg/polyglot>, a Rust port of the 'SQLGlot' 'Python' library. All processing happens locally in the R session; no database connection, 'Python' runtime or external service is required. Includes column-level lineage, structural query analysis, query optimization, 'AST' diffing and 'OpenLineage' facet generation.
Authors:
polyglotSQL_0.1.0.tar.gz
polyglotSQL_0.1.0.zip(r-4.7-x86_64)polyglotSQL_0.1.0.zip(r-4.7-arm64)polyglotSQL_0.1.0.zip(r-4.6-x86_64)polyglotSQL_0.1.0.zip(r-4.6-arm64)polyglotSQL_0.1.0.zip(r-4.5-x86_64)
polyglotSQL_0.1.0.tgz(r-4.6-x86_64)polyglotSQL_0.1.0.tgz(r-4.6-arm64)polyglotSQL_0.1.0.tgz(r-4.5-x86_64)polyglotSQL_0.1.0.tgz(r-4.5-arm64)
polyglotSQL_0.1.0.tar.gz(r-4.7-arm64)polyglotSQL_0.1.0.tar.gz(r-4.7-x86_64)polyglotSQL_0.1.0.tar.gz(r-4.6-arm64)polyglotSQL_0.1.0.tar.gz(r-4.6-x86_64)
polyglotSQL_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
polyglotSQL/json (API)
| # Install 'polyglotSQL' in R: |
| install.packages('polyglotSQL', repos = c('https://strategicprojects.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/strategicprojects/polyglot-sql-r/issues
Pkgdown/docs site:https://strategicprojects.github.io
Last updated from:3f8bb85f8e. Checks:15 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 1078 | ||
| linux-devel-x86_64 | OK | 966 | ||
| source / vignettes | OK | 1748 | ||
| linux-release-arm64 | OK | 1083 | ||
| linux-release-x86_64 | OK | 975 | ||
| macos-release-arm64 | OK | 2282 | ||
| macos-release-x86_64 | OK | 2365 | ||
| macos-oldrel-arm64 | OK | 2418 | ||
| macos-oldrel-x86_64 | OK | 2238 | ||
| windows-devel-arm64 | OK | 1699 | ||
| windows-devel-x86_64 | OK | 1902 | ||
| windows-release-arm64 | OK | 1761 | ||
| windows-release-x86_64 | OK | 1892 | ||
| windows-oldrel-x86_64 | OK | 1837 | ||
| wasm-release | OK | 1082 |
Exports:as_polyglot_schemapolyglot_versionsql_analyzesql_annotate_typessql_dialectssql_diffsql_formatsql_generatesql_lineagesql_openlineagesql_optimizesql_parsesql_source_tablessql_tokenizesql_transpilesql_validate
Last update: 2026-07-20
Started: 2026-07-19
Last update: 2026-07-19
Started: 2026-07-19
Last update: 2026-07-19
Started: 2026-07-19
Last update: 2026-07-19
Started: 2026-07-19
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Specify a table schema for schema-aware operations | as_polyglot_schema |
| Versions of polyglotSQL and its embedded Rust engine | polyglot_version |
| Structural query analysis | sql_analyze |
| Annotate a query with inferred data types | sql_annotate_types |
| List supported SQL dialects | sql_dialects |
| Structural diff between two SQL statements | sql_diff |
| Format (pretty-print) SQL | sql_format |
| Generate SQL from a parsed AST | sql_generate |
| Column-level lineage | sql_lineage |
| OpenLineage column-lineage facet | sql_openlineage |
| Optimize SQL | sql_optimize |
| Parse SQL into an abstract syntax tree | sql_parse |
| List source tables referenced by SQL | sql_source_tables |
| Tokenize SQL | sql_tokenize |
| Translate SQL between dialects | sql_transpile |
| Validate SQL | sql_validate |