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

Refactor type unification code #4131

Closed
wants to merge 1 commit into from
Closed

Conversation

haozhun
Copy link
Contributor

@haozhun haozhun commented Dec 9, 2015

This prepares Presto for lambda support which requires more powerful type unification.

This prepares Presto for lambda support which requires more powerful type
unification.
@losipiuk
Copy link
Contributor

losipiuk commented Jan 4, 2016

It would be nice if this one gets in after #4005 and Teradata#88.
Those PRs touch same code and are very painful to rebase as each PR contain multiple commits.

cc: @pnowojski

import static com.google.common.collect.Iterables.getOnlyElement;
import static java.util.Objects.requireNonNull;

public final class TypeUnification
Copy link
Contributor

Choose a reason for hiding this comment

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

I would very much like to see tests here.
This code support more usecases than currently accessible using SQL query syntax.
And without UT it is hard to be sure those usecases actually work.

@martint
Copy link
Contributor

martint commented Jan 4, 2016

@losipiuk yes, that's my current plan. I'm working my way through the other pull requests now.

@ghost ghost added the CLA Signed label Jul 12, 2016
@martint
Copy link
Contributor

martint commented Aug 15, 2016

Closing for now, since @haozhun is working a new implementation.

@martint martint closed this Aug 15, 2016
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.

4 participants