Closed mrmasterplan closed 1 year ago
~I forgot that I meant to add a test. Please consider this PR as a draft and don't review, yet.~ Unit tests have been added.
Base: 96.90% // Head: 96.90% // Increases project coverage by +0.00%
:tada:
Coverage data is based on head (
f55dd54
) compared to base (9f44d54
). Patch coverage: 100.00% of modified lines in pull request are covered.
:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
already covered in #687
I would like to use this library to parse Spark SQL. Especially I am trying to parse databricks CREATE TABLE and CREATE DATABASE statements. https://spark.apache.org/docs/latest/sql-ref-syntax-ddl-create-table-datasource.html https://spark.apache.org/docs/3.0.0-preview/sql-ref-syntax-ddl-create-database.html These statements contain some further keywords than the ones already in the library. I created a new section of SPARK_KEYWORDS in the keywords.py file.
Maybe it would also be nice to have an extension mechanism in the library where a user can quickly extend the keyword range without a PR like this. If you like this idea, I will make another PR for it.