EvgSkv / logica

Logica is a logic programming language that compiles to SQL. It runs on DuckDB, Google BigQuery, PostgreSQL and SQLite.
https://logica.dev
Apache License 2.0
1.74k stars 91 forks source link

Databricks dialect #284

Closed KantorSerhiy closed 12 months ago

KantorSerhiy commented 1 year ago

Hi @EvgSkv!

In the continuation of the discussion https://github.com/EvgSkv/logica/issues/236 -> I add the databricks dialect.

I am waiting for feedback from you! Thank you. Serhii.

KantorSerhiy commented 1 year ago

hey @EvgSkv, i add Apache compliance comment and checked Unnesting and Records. It works. I'm not entirely sure about the function UnnestPhrase, but for my cases - it works.

also i added minor TODO, but they are not critical. I hope it will be useful for you!

Serhii.

EvgSkv commented 1 year ago

Looking great! I'll be resolving conflicts and merging the PR this week. Thank you @KantorSerhiy !