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

Initial commit of substrait-cpp #2

Merged
merged 15 commits into from
Dec 11, 2022

Conversation

chaojun-zhang
Copy link
Contributor

@chaojun-zhang chaojun-zhang commented Oct 29, 2022

This PR is an Initial commit of substrait-cpp which includes following features:

  • parse substrait extension yaml file
  • function and type support
  • functin implementation lookup by a function signature

@chaojun-zhang
Copy link
Contributor Author

chaojun-zhang commented Oct 29, 2022

Due to can't re-open PR for #1, so create this new PR

README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
include/substrait/common/Exceptions.h Outdated Show resolved Hide resolved
include/substrait/common/Exceptions.h Outdated Show resolved Hide resolved
substrait/common/Exceptions.cpp Outdated Show resolved Hide resolved
include/substrait/function/Extension.h Show resolved Hide resolved
include/substrait/function/FunctionLookup.h Outdated Show resolved Hide resolved
include/substrait/function/FunctionMapping.h Outdated Show resolved Hide resolved
include/substrait/function/FunctionMapping.h Outdated Show resolved Hide resolved
substrait/function/FunctionLookup.cpp Outdated Show resolved Hide resolved
@westonpace
Copy link
Member

Thanks for addressing my earlier comments. I made another pass today and appreciate all the work! 😃

chaojun-zhang and others added 10 commits November 8, 2022 13:50
Co-authored-by: Weston Pace <weston.pace@gmail.com>
Co-authored-by: Weston Pace <weston.pace@gmail.com>
Co-authored-by: Weston Pace <weston.pace@gmail.com>
Co-authored-by: Weston Pace <weston.pace@gmail.com>
Co-authored-by: Weston Pace <weston.pace@gmail.com>
Co-authored-by: Weston Pace <weston.pace@gmail.com>
@chaojun-zhang
Copy link
Contributor Author

chaojun-zhang commented Nov 8, 2022

Thanks for addressing my earlier comments. I made another pass today and appreciate all the work! 😃

@westonpace, Thank you for your patience to reviewing again, and I have updated this PR according your reviews.

Copy link
Member

@westonpace westonpace left a comment

Choose a reason for hiding this comment

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

Apologies for the delayed review. I have one more nitpick about variant vs. implementation terminology but we can address that in a follow-up. This is getting rather large to continue reviewing and it is close enough I want to merge now.

Comment on lines +44 to +50
void addScalarFunctionVariant(const FunctionImplementationPtr& functionVariant);

/// Add a aggregate function variant.
void addAggregateFunctionVariant(const FunctionImplementationPtr& functionVariant);

/// Add a window function variant.
void addWindowFunctionVariant(const FunctionImplementationPtr& functionVariant);
Copy link
Member

Choose a reason for hiding this comment

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

We should probably rename all these addXyzVariant to addXyzImplementation.

@westonpace westonpace merged commit 041fecb into substrait-io:main Dec 11, 2022
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