{"library":"druid-sql-parser","type":"library","category":null,"description":"A SQL parser and stringifier specifically for Apache Druid SQL syntax, version 1.2.7. It produces an AST (Abstract Syntax Tree) from Druid SQL queries and can serialize ASTs back to SQL strings. The library is lightweight with no dependencies, focusing on Druid-specific SQL features such as double-quoted identifiers and system tables like sys.server_segments. It is not a general SQL parser; it does not support all SQL dialects nor standard SQL fully. The package is stable with infrequent releases, last updated in early 2022. Differentiators: zero dependencies, simple API (parse and stringify), Druid-specific syntax support.","language":"javascript","status":"active","version":"1.2.7","tags":["javascript","sql","sql-parser","parser","node","node-parser","node-sql-parser","ast","sql-ast"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install druid-sql-parser","imports":["import { parse } from 'druid-sql-parser';","import { stringify } from 'druid-sql-parser';","import parser from 'druid-sql-parser';"]},{"cmd":"yarn add druid-sql-parser","imports":[]},{"cmd":"pnpm add druid-sql-parser","imports":[]}],"homepage":"https://github.com/mcbrewster/druid-sql-parser","github":"https://github.com/mcbrewster/druid-sql-parser","docs":null,"changelog":null,"pypi":null,"npm":"druid-sql-parser","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}