Registry / other / presto-parser

presto-parser

JSON →
library0.288.1javamavenunverified

SQL parser for Presto, converting SQL statements into an abstract syntax tree (AST).

<dependency> <groupId>com.facebook.presto</groupId> <artifactId>presto-parser</artifactId> <version>0.288.1</version> </dependency>
INSTALL
IMPORT
SIG · PRESTO-PARSER
P
presto-parser
otherjavav0.288.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

SqlParser
✓ com.facebook.presto.sql.parser.SqlParser

Minimal usage of Presto SQL parser to parse a simple query.

import com.facebook.presto.sql.parser.SqlParser; import com.facebook.presto.sql.tree.Statement; public class Example { public static void main(String[] args) { SqlParser parser = new SqlParser(); Statement stmt = parser.createStatement("SELECT 1"); System.out.println("Parsed statement: " + stmt); } }
Debug
Known issues
gotchaThe parser is specific to Presto SQL dialect; may not fully support standard SQL or other dialects.
fix
Use for Presto-compatible SQL only; consider Calcite for broader SQL support.
affects: >=0.200
Upgrade
Version history
0.288.1latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
presto-parser — mvn dependency:get presto-parser · libregistry