Package: polyglotSQL
Title: SQL Parsing, Analysis and Dialect Translation
Version: 0.1.0
Authors@R: c(
    person("Andre", "Leite", email = "leite@castlab.org", role = c("aut", "cre"),
           comment = c(ORCID = "0000-0002-4718-9766")),
    person("Marcos", "Wasiliew", email = "marcos.wasilew@gmail.com", role = "aut"),
    person("Hugo", "Vasconcelos", email = "hugo.vasconcelos@ufpe.br", role = "aut",
           comment = c(ORCID = "0000-0001-6249-0920")),
    person("Carlos", "Amorim", email = "carlos.agaf@ufpe.br", role = "aut",
           comment = c(ORCID = "0000-0001-6315-8305")),
    person("Diogo", "Bezerra", email = "diogo.bezerra@ufpe.br", role = "aut",
           comment = c(ORCID = "0000-0002-1216-8674")),
    person("Tobias", "Müller", , "github@tobilg.com", role = "cph",
           comment = "Author of the bundled 'polyglot-sql' Rust crate (Polyglot project)"),
    person("Toby", "Mao", role = "cph",
           comment = "Author of SQLGlot, from which Polyglot is derived"),
    person(, "The authors of the vendored Rust dependencies", role = "cph",
           comment = "see inst/COPYRIGHTS")
  )
Description: 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.
License: MIT + file LICENSE
URL: https://github.com/StrategicProjects/polyglot-sql-r,
        https://strategicprojects.github.io/polyglot-sql-r/
BugReports: https://github.com/StrategicProjects/polyglot-sql-r/issues
Depends: R (>= 4.2)
Imports: cli, jsonlite
Suggests: knitr, rmarkdown, testthat (>= 3.0.0)
VignetteBuilder: knitr
Config/polyglotSQL/upstream: 0.6.2
Config/rextendr/version: 0.5.0
Config/testthat/edition: 3
Encoding: UTF-8
Language: en-US
RoxygenNote: 8.0.0
SystemRequirements: Cargo (Rust's package manager), rustc >= 1.88.0, xz
NeedsCompilation: yes
Packaged: 2026-07-21 14:37:59 UTC; leite
Author: Andre Leite [aut, cre] (ORCID: <https://orcid.org/0000-0002-4718-9766>),
  Marcos Wasiliew [aut],
  Hugo Vasconcelos [aut] (ORCID: <https://orcid.org/0000-0001-6249-0920>),
  Carlos Amorim [aut] (ORCID: <https://orcid.org/0000-0001-6315-8305>),
  Diogo Bezerra [aut] (ORCID: <https://orcid.org/0000-0002-1216-8674>),
  Tobias Müller [cph] (Author of the bundled 'polyglot-sql' Rust crate
    (Polyglot project)),
  Toby Mao [cph] (Author of SQLGlot, from which Polyglot is derived),
  The authors of the vendored Rust dependencies [cph] (see
    inst/COPYRIGHTS)
Maintainer: Andre Leite <leite@castlab.org>
Repository: CRAN
Date/Publication: 2026-08-04 16:20:07 UTC
Built: R 4.6.1; x86_64-w64-mingw32; 2026-09-02 01:59:22 UTC; windows
Archs: x64
