Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stabilize public API #30

Merged
merged 19 commits into from
Oct 4, 2024
Merged

Stabilize public API #30

merged 19 commits into from
Oct 4, 2024

Conversation

finn-rudolph
Copy link
Contributor

Changes:

  • add base, common and extended modules
  • move everything not in the API in _internal directory
  • throw on implicit subqueries
  • add pdt.lit function

The API is not finished yet. We still need to add many more types, but before we do this we need to have a clear plan with the internal type system.

the only case I can think of where this is necessary is if you want null as a default
in ColExpr.map (if you pass None, it recognizes it as a missing argument and uses the
expression map was called on as a default.
Explicit annotations are much more readable and these will likely not change in
the future.
Remove the builtin_verb decorator. We still need to decide whether materialize
should fail on a dataframe backend or do nothing.
includes self-join detection and seeing whether a column is actually in
the table
alias() currently breaks table references which is necessary for self-joins
to work. We could add another verb that doesn't do that.
subqueries were falsely generated for window functions nested inside ewise
functions, even though they are not required there.
@finn-rudolph finn-rudolph requested a review from a team as a code owner October 4, 2024 13:27
@finn-rudolph finn-rudolph merged commit 09fd6ec into main Oct 4, 2024
6 checks passed
@finn-rudolph finn-rudolph deleted the api branch October 4, 2024 13:52
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.

1 participant