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

Reformat compressed materialization functions #14470

Conversation

c-herrewijn
Copy link
Contributor

No description provided.

@duckdb-draftbot duckdb-draftbot marked this pull request as draft October 22, 2024 11:37
@c-herrewijn
Copy link
Contributor Author

Adjusted failing test case after consulting with @lnkuiper .

@c-herrewijn c-herrewijn marked this pull request as ready for review October 22, 2024 11:38
@c-herrewijn
Copy link
Contributor Author

Merge order

The function formatting PRs should be merged in this order (all pointing to Feature branch):

@Mytherin Mytherin merged commit c862477 into duckdb:feature Oct 23, 2024
42 checks passed
@Mytherin
Copy link
Collaborator

Thanks! Looks great

Mytherin added a commit that referenced this pull request Oct 24, 2024
### Merge order
The function formatting PRs should be merged in this order (all pointing
to Feature branch):
- [14470 - Reformat compressed materialization
functions](#14470)
- [14489 - Reformat arithmetic
operators](#14489) (this PR)
- [14495 - Reformat nested and sequence
functions](#14495)

### Note on name conventions
Struct names in generated header file: `operator_functions.hpp` all end
with `Fun`; (this are the functions registered to the catalog). The
`GetFunctions()` methods returns a `ScalarFunctionSet`
- AddFun
- SubtractFun
- DivideFun
- MultiplyFun
- OperatorAddFun
- OperatorSubtractFun
- OperatorMultiplyFun
- OperatorFloatDivideFun
- OperatorIntegerDivideFun

Header file: `operators.hpp` contains the following structs: 
- AddFunction
- SubtractFunction

They contain a `GetFunction()` utility method that returns a
`ScalarFunction` with a specific signature, rather then the whole
ScalarFunctionSet
Mytherin added a commit that referenced this pull request Oct 25, 2024
### Merge order
The function formatting PRs should be merged in this order (all pointing
to Feature branch):
- [14470 - Reformat compressed materialization
functions](#14470)
- [14489 - Reformat arithmetic
operators](#14489)
- [14495 - Reformat nested and sequence
functions](#14495) (this PR)
- [14530 - Reformat aggregate
functions](#14530)
@c-herrewijn c-herrewijn deleted the PR_reformat_compressed_materialization_functions branch October 28, 2024 09:51
Mytherin added a commit that referenced this pull request Oct 28, 2024
### Merge order
The function formatting PRs should be merged in this order (all pointing
to Feature branch):
- [14470 - Reformat compressed materialization
functions](#14470)
- [14489 - Reformat arithmetic
operators](#14489)
- [14495 - Reformat nested and sequence
functions](#14495)
- [14530 - Reformat aggregate
functions](#14530) (this PR)
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.

2 participants