You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adding support for user defined functions in PyDough (#380)
Resolves#382. Adds ability to define additional function operators in the PyDough metadata, with three formats at first:
- SQL Alias: calls to the function get translated directly 1:1 to a function call in the database's SQL dialect (scalar or aggregation)
- SQL Window Alias: Same as SQL Alias but only for window functions
- SQL Macro: calls to the function inject their arguments' SQL texts into a Python format string
Also updated docstrings throughout the codebase to avoid using types of the inputs/outputs since those should be part of the type annotations (not the docstrings).
0 commit comments