0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-24 00:47:50 +01:00
posthog/hogql_parser
Michael Matloka 21c699772c
chore(hogql): Use the C++ parser in 50% of queries (#18298)
* chore(hogql): Use the C++ parser in 50% of queries

* Ensure that C++ parser is used in tests deterministically

* Align table args behavior with Python

* Bump parser version to 1.0.1

* Use new hogql-parser version

* Don't add notices for internal expressions, like in Python

* Bump parser version to 1.0.2

* Use new hogql-parser version

* Update posthog/hogql/parser.py

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-11-01 11:52:44 +01:00
..
__init__.pyi chore(hogql): Use the C++ parser in 50% of queries (#18298) 2023-11-01 11:52:44 +01:00
.clang-format chore(hogql): Full error & NULL handling in C++ parser (1.0.0) (#18240) 2023-10-27 13:37:15 +02:00
.gitignore
CONTRIBUTING.md chore(hogql): Full error & NULL handling in C++ parser (1.0.0) (#18240) 2023-10-27 13:37:15 +02:00
error.cpp chore(hogql): Full error & NULL handling in C++ parser (1.0.0) (#18240) 2023-10-27 13:37:15 +02:00
error.h chore(hogql): Full error & NULL handling in C++ parser (1.0.0) (#18240) 2023-10-27 13:37:15 +02:00
HogQLLexer.cpp
HogQLLexer.h
HogQLLexer.interp
HogQLLexer.tokens
HogQLParser.cpp feat(hogqlx): nested tags (#18213) 2023-10-27 09:03:54 +02:00
HogQLParser.h feat(hogqlx): nested tags (#18213) 2023-10-27 09:03:54 +02:00
HogQLParser.interp feat(hogqlx): nested tags (#18213) 2023-10-27 09:03:54 +02:00
HogQLParser.tokens
HogQLParserBaseVisitor.cpp
HogQLParserBaseVisitor.h feat(hogqlx): nested tags (#18213) 2023-10-27 09:03:54 +02:00
HogQLParserVisitor.cpp
HogQLParserVisitor.h feat(hogqlx): nested tags (#18213) 2023-10-27 09:03:54 +02:00
parser.cpp chore(hogql): Use the C++ parser in 50% of queries (#18298) 2023-11-01 11:52:44 +01:00
parser.h
py.typed
pyproject.toml
README.md
setup.py chore(hogql): Use the C++ parser in 50% of queries (#18298) 2023-11-01 11:52:44 +01:00
string.cpp fix(projects): reload organization after project creation (#18198) 2023-10-27 15:38:53 +02:00
string.h

HogQL Parser

Blazing fast HogQL parsing. This package can only work in the context of the PostHog Django app, as it imports from posthog.hogql.