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

Fix failed cases in regression test #299

Merged
merged 2 commits into from
Nov 12, 2018
Merged

Fix failed cases in regression test #299

merged 2 commits into from
Nov 12, 2018

Conversation

chenhao7253886
Copy link
Contributor

Analytic functions, Build-in functions with null or error params and Decimal cast fail in regression test.

@chenhao7253886 chenhao7253886 changed the title Fix regression test fail Fix failed cases in regression test Nov 12, 2018
@@ -58,14 +64,14 @@
public class FoldConstantsRule implements ExprRewriteRule {
public static ExprRewriteRule INSTANCE = new FoldConstantsRule();

private Multimap<String, FEFunctionInvoker> functions = ArrayListMultimap.create();
private ImmutableMultimap<String, FEFunctionInvoker> functions;
private ImmutableSet<String> nonNullResultWithNullParamFunctions;
Copy link
Contributor

Choose a reason for hiding this comment

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

Need more comment here. I'm not very clear about this attribute's purpose

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ok, i will add some comments.

Copy link
Contributor

@imay imay left a comment

Choose a reason for hiding this comment

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

LGTM

@imay imay merged commit ae8d16c into apache:master Nov 12, 2018
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