Skip to content

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

@westonpace
Copy link
Member

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

@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