Skip to content

feat: formalize RQ operators - #2681

Merged
aljazerzen merged 2 commits into
mainfrom
aljaz
Jun 1, 2023
Merged

feat: formalize RQ operators#2681
aljazerzen merged 2 commits into
mainfrom
aljaz

Conversation

@aljazerzen

@aljazerzen aljazerzen commented Jun 1, 2023

Copy link
Copy Markdown
Member

Closes #746

Changes are mostly internal, but could be exposed an extension interface, where extensions could provide .prql files visible to users and also RQ operator implementations that would implement custom RQ operators.

@aljazerzen
aljazerzen enabled auto-merge (squash) June 1, 2023 12:55
@aljazerzen
aljazerzen merged commit 99349fe into main Jun 1, 2023
@aljazerzen
aljazerzen deleted the aljaz branch June 1, 2023 12:58

@max-sixty max-sixty left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Quite the refactor!

V impressive for the target-specific modules. Renders some of the upstream work with regex operators moot — probably I should have just used strings originally by dialect.

let neg = l -> null
let not = l -> null

module postgres {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome!

@aljazerzen

Copy link
Copy Markdown
Member Author

Your work on regex inspired me a bit on how to organize this. So it was not moot :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

include other prql files & module system

2 participants