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

Refactor list functions #3100

Merged
merged 1 commit into from
Mar 22, 2024
Merged

Refactor list functions #3100

merged 1 commit into from
Mar 22, 2024

Conversation

manh9203
Copy link
Contributor

This PR resolves the issue #3050

Copy link

codecov bot commented Mar 20, 2024

Codecov Report

Attention: Patch coverage is 85.83815% with 49 lines in your changes are missing coverage. Please review.

Project coverage is 92.62%. Comparing base (7817cc9) to head (68c2856).

Files Patch % Lines
src/function/vector_map_functions.cpp 24.52% 40 Missing ⚠️
src/function/vector_list_functions.cpp 96.88% 9 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3100      +/-   ##
==========================================
- Coverage   92.72%   92.62%   -0.10%     
==========================================
  Files        1162     1161       -1     
  Lines       43148    43133      -15     
==========================================
- Hits        40010    39953      -57     
- Misses       3138     3180      +42     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

struct ListCreationFunction {
static constexpr const char* name = "LIST_CREATION";

static function_set getFunctionSet();
static std::unique_ptr<FunctionBindData> bindFunc(
Copy link
Collaborator

Choose a reason for hiding this comment

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

You don't have to expose bindFunc, i would recommend defining them as static functions in cpp.

@manh9203 manh9203 merged commit 96d9a91 into master Mar 22, 2024
17 checks passed
@manh9203 manh9203 deleted the list-functions-refactor branch March 22, 2024 03:38
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