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

Make NthValue templated for int or bigint offset use #8054

Closed

Conversation

pramodsatya
Copy link
Collaborator

NthValue had some type specific code for int and bigint offset parameter. The int and bigint signatures were also not consistent as only constant offsets were supported for integer whereas both constant and column offsets were supported for bigint offset. So there were some engine specific error messages added in the code.

This PR makes the implementation between int and bigint uniform. Velox has the superset of function usage for Presto/Spark.

Copy link

netlify bot commented Dec 14, 2023

Deploy Preview for meta-velox ready!

Name Link
🔨 Latest commit 894e83e
🔍 Latest deploy log https://app.netlify.com/sites/meta-velox/deploys/657b4a3d4c23e00008914c50
😎 Deploy Preview https://deploy-preview-8054--meta-velox.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@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 Dec 14, 2023
Copy link
Contributor

@mbasmanova mbasmanova left a comment

Choose a reason for hiding this comment

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

Thanks.

@facebook-github-bot
Copy link
Contributor

@mbasmanova has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@mbasmanova merged this pull request in 2ad0686.

Copy link

Conbench analyzed the 1 benchmark run on commit 2ad0686f.

There were no benchmark performance regressions. 🎉

The full Conbench report has more details.

@pramodsatya pramodsatya deleted the nthvalue_spark branch December 14, 2023 21:12
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. Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants