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

Pass input types to SimpleFunctionAdapterFactory::createVectorFunction #9120

Closed

Conversation

mbasmanova
Copy link
Contributor

Summary:
This change is part of enabling simple functions to process inputs of decimal type. Such processing requires access to decimal type parameters (precision and scale). This change provides full type information to the function constructor. A follow-up change will pass this to simple function's 'initialize' method.

See #9096 for the end-to-end workflow.

Differential Revision: D55011267

Summary:
This change is part of enabling simple functions to process inputs of decimal type. Such processing requires access to decimal type parameters (precision and scale). This change provides full type information to the function constructor. A follow-up change will pass this to simple function's 'initialize' method.

See facebookincubator#9096 for the end-to-end workflow.

Differential Revision: D55011267
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Mar 18, 2024
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D55011267

Copy link

netlify bot commented Mar 18, 2024

Deploy Preview for meta-velox canceled.

Name Link
🔨 Latest commit 3265c77
🔍 Latest deploy log https://app.netlify.com/sites/meta-velox/deploys/65f808fe0a6db50008b4e1e5

mbasmanova added a commit to mbasmanova/velox-1 that referenced this pull request Mar 18, 2024
facebookincubator#9120)

Summary:

This change is part of enabling simple functions to process inputs of decimal type. Such processing requires access to decimal type parameters (precision and scale). This change provides full type information to the function constructor. A follow-up change will pass this to simple function's 'initialize' method.

See facebookincubator#9096 for the end-to-end workflow.

Differential Revision: D55011267
mbasmanova added a commit to mbasmanova/velox-1 that referenced this pull request Mar 18, 2024
facebookincubator#9120)

Summary:

This change is part of enabling simple functions to process inputs of decimal type. Such processing requires access to decimal type parameters (precision and scale). This change provides full type information to the function constructor. A follow-up change will pass this to simple function's 'initialize' method.

See facebookincubator#9096 for the end-to-end workflow.

Differential Revision: D55011267
mbasmanova added a commit to mbasmanova/velox-1 that referenced this pull request Mar 18, 2024
facebookincubator#9120)

Summary:

This change is part of enabling simple functions to process inputs of decimal type. Such processing requires access to decimal type parameters (precision and scale). This change provides full type information to the function constructor. A follow-up change will pass this to simple function's 'initialize' method.

See facebookincubator#9096 for the end-to-end workflow.

Differential Revision: D55011267
mbasmanova added a commit to mbasmanova/velox-1 that referenced this pull request Mar 18, 2024
facebookincubator#9120)

Summary:

This change is part of enabling simple functions to process inputs of decimal type. Such processing requires access to decimal type parameters (precision and scale). This change provides full type information to the function constructor. A follow-up change will pass this to simple function's 'initialize' method.

See facebookincubator#9096 for the end-to-end workflow.

Differential Revision: D55011267
mbasmanova added a commit to mbasmanova/velox-1 that referenced this pull request Mar 18, 2024
facebookincubator#9120)

Summary:

This change is part of enabling simple functions to process inputs of decimal type. Such processing requires access to decimal type parameters (precision and scale). This change provides full type information to the function constructor. A follow-up change will pass this to simple function's 'initialize' method.

See facebookincubator#9096 for the end-to-end workflow.

Differential Revision: D55011267
Copy link
Contributor

@xiaoxmeng xiaoxmeng left a comment

Choose a reason for hiding this comment

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

@mbasmanova thanks!

@@ -434,12 +434,12 @@ ExprPtr compileRewrittenExpression(
simpleFunctionEntry->type(),
resultType,
folly::join(", ", inputTypes));
auto func_2 = simpleFunctionEntry->createFunction()->createVectorFunction(
getConstantInputs(compiledInputs), config);
auto func = simpleFunctionEntry->createFunction()->createVectorFunction(
Copy link
Contributor

Choose a reason for hiding this comment

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

nice!

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 5cfb8eb.

Joe-Abraham pushed a commit to Joe-Abraham/velox that referenced this pull request Jun 7, 2024
facebookincubator#9120)

Summary:
Pull Request resolved: facebookincubator#9120

This change is part of enabling simple functions to process inputs of decimal type. Such processing requires access to decimal type parameters (precision and scale). This change provides full type information to the function constructor. A follow-up change will pass this to simple function's 'initialize' method.

See facebookincubator#9096 for the end-to-end workflow.

Reviewed By: xiaoxmeng

Differential Revision: D55011267

fbshipit-source-id: 323e39aec04e0fd6d0db4b4be4bfdf4bd9544dd0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants