hyrise / sql-parser

SQL Parser for C++. Building C++ object structure from SQL statements.
MIT License
752 stars 243 forks source link

SQL syntax caching #21

Open dhthong92 opened 8 years ago

dhthong92 commented 8 years ago

Does this parser (or flex/bison) support caching syntax? I realize it very take time when parsing the same syntax with different argument several times. It would be better if we cache them.

P/s: maybe the link about your paper already died(http://torpedro.com/paper/HyriseSQL-03-2015.pdf), it responsed code 404. Could you update it pls?

Bouncner commented 6 years ago

Hey,

plan caching is part of Hyrise, not the parser itself.

You can find more about the caching here: https://github.com/hyrise/hyrise/blob/master/src/lib/sql/sql_query_cache.hpp