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

Don't depend on "common" registrations in sparksql directory #18

Closed
wants to merge 2 commits into from
Closed

Don't depend on "common" registrations in sparksql directory #18

wants to merge 2 commits into from

Conversation

funrollloops
Copy link
Contributor

Summary:
Function registration is moved from FunctionBaseTest's constructor to
SetUpTestCase(), which is once-per-process.

Unittests were updated to rely on the SparkSQL registration functions, rather than do their own registration.

Reviewed By: pedroerp

Differential Revision: D30061756

Summary:
Spark uses a variant of Murmur3; I've copied the hash implementation directly
from the Spark codebase, modified of course for C++.

The Spark algorithm for combining hashes is simple: initialize the hash to 42,
and then use the current hash as the seed for the next hash. NULLs are skipped.
This implementation processes one column at a time.

Differential Revision: D29743513

fbshipit-source-id: c55c300ff824e6fc5ff15515393a02116b7dba92
Summary:
Function registration is moved from FunctionBaseTest's constructor to
SetUpTestCase(), which is once-per-process.

Unittests were updated to rely on the SparkSQL registration functions, rather than do their own registration.

Reviewed By: pedroerp

Differential Revision: D30061756

fbshipit-source-id: f984329c8d93098ba9146d357b878848435942c0
@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported labels Aug 10, 2021
@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 9620d54.

rui-mo added a commit to rui-mo/velox that referenced this pull request Jun 15, 2022
* add date parsing

* support extract year

* support int32 return type
rui-mo added a commit to rui-mo/velox that referenced this pull request Jun 24, 2022
* add date parsing

* support extract year

* support int32 return type
rui-mo added a commit to rui-mo/velox that referenced this pull request Jun 30, 2022
* add date parsing

* support extract year

* support int32 return type
rui-mo added a commit to rui-mo/velox that referenced this pull request Jul 20, 2022
* add date parsing

* support extract year

* support int32 return type
rui-mo added a commit to rui-mo/velox that referenced this pull request Aug 2, 2022
* add date parsing

* support extract year

* support int32 return type
rui-mo added a commit to rui-mo/velox that referenced this pull request Aug 12, 2022
* add date parsing

* support extract year

* support int32 return type
rui-mo added a commit to rui-mo/velox that referenced this pull request Aug 22, 2022
* add date parsing

* support extract year

* support int32 return type
rui-mo added a commit to rui-mo/velox that referenced this pull request Sep 7, 2022
* add date parsing

* support extract year

* support int32 return type
rui-mo added a commit to rui-mo/velox that referenced this pull request Sep 26, 2022
* add date parsing

* support extract year

* support int32 return type

* apply pr_19

use setted pool

Parse and store the file format var into SubstraitVeloxPlanConverter
rui-mo added a commit to rui-mo/velox that referenced this pull request Oct 26, 2022
* add date parsing

* support extract year

* support int32 return type

* apply pr_19

use setted pool

Parse and store the file format var into SubstraitVeloxPlanConverter
rui-mo added a commit to rui-mo/velox that referenced this pull request Nov 8, 2022
* add date parsing

* support extract year

* support int32 return type

* apply pr_19

use setted pool

Parse and store the file format var into SubstraitVeloxPlanConverter
rui-mo added a commit to rui-mo/velox that referenced this pull request Nov 8, 2022
* add date parsing

* support extract year

* support int32 return type

* apply pr_19

use setted pool

Parse and store the file format var into SubstraitVeloxPlanConverter
rui-mo added a commit to rui-mo/velox that referenced this pull request Nov 22, 2022
* add date parsing

* support extract year

* support int32 return type

* apply pr_19

use setted pool

Parse and store the file format var into SubstraitVeloxPlanConverter
rui-mo added a commit to rui-mo/velox that referenced this pull request Dec 15, 2022
* add date parsing

* support extract year

* support int32 return type

* apply pr_19

use setted pool

Parse and store the file format var into SubstraitVeloxPlanConverter
rui-mo added a commit to rui-mo/velox that referenced this pull request Jan 6, 2023
* add date parsing

* support extract year

* support int32 return type

* apply pr_19

use setted pool

Parse and store the file format var into SubstraitVeloxPlanConverter
rui-mo added a commit to rui-mo/velox that referenced this pull request Jan 12, 2023
* add date parsing

* support extract year

* support int32 return type

* apply pr_19

use setted pool

Parse and store the file format var into SubstraitVeloxPlanConverter
PHILO-HE pushed a commit to PHILO-HE/velox that referenced this pull request Feb 3, 2023
* add date parsing

* support extract year

* support int32 return type

* apply pr_19

use setted pool

Parse and store the file format var into SubstraitVeloxPlanConverter
rui-mo added a commit to rui-mo/velox that referenced this pull request Feb 24, 2023
* add date parsing

* support extract year

* support int32 return type

* apply pr_19

use setted pool

Parse and store the file format var into SubstraitVeloxPlanConverter
liujiayi771 pushed a commit to liujiayi771/velox that referenced this pull request Mar 3, 2023
* add date parsing

* support extract year

* support int32 return type

* apply pr_19

use setted pool

Parse and store the file format var into SubstraitVeloxPlanConverter
liujiayi771 pushed a commit to liujiayi771/velox that referenced this pull request Mar 9, 2023
* add date parsing

* support extract year

* support int32 return type

* apply pr_19

use setted pool

Parse and store the file format var into SubstraitVeloxPlanConverter
rui-mo added a commit to rui-mo/velox that referenced this pull request Mar 27, 2023
liujiayi771 pushed a commit to liujiayi771/velox that referenced this pull request Apr 1, 2023
* add date parsing

* support extract year

* support int32 return type

* apply pr_19

use setted pool

Parse and store the file format var into SubstraitVeloxPlanConverter
rui-mo added a commit to rui-mo/velox that referenced this pull request Apr 23, 2023
* add date parsing

* support extract year

* support int32 return type

* apply pr_19

use setted pool

Parse and store the file format var into SubstraitVeloxPlanConverter
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.

2 participants