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
Apache kylin 3359 #138
Apache kylin 3359 #138
Conversation
Can one of the admins verify this patch? |
Codecov Report
@@ Coverage Diff @@
## master #138 +/- ##
============================================
+ Coverage 21.86% 22.13% +0.26%
- Complexity 3879 4003 +124
============================================
Files 985 1005 +20
Lines 59641 60719 +1078
Branches 8608 8765 +157
============================================
+ Hits 13041 13438 +397
- Misses 45398 45999 +601
- Partials 1202 1282 +80
Continue to review full report at Codecov.
|
2ae5ae0
to
9f027a2
Compare
e7fea71
to
12914b7
Compare
…lt value false for coprocessor backward compatibility
12914b7
to
dca4a9e
Compare
public SumDynamicFunctionDesc(ParameterDesc parameter, TupleExpression tupleExpression) { | ||
super(parameter, tupleExpression); | ||
setExpression(FUNC_SUM); | ||
setReturnType("decimal"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is "decimal" hard-coded?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, it's hard coded. For simplification, all of the datatype for the number expressions are changed to bigdecimal. Finally, the returned value will be converted in {{Tuple.setMeasureValue()}} according to the return type.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CI passed with "kylin.query.enable-dynamic-column=true" http://34.226.50.254:8081/job/kylin-full-regression/134/
package org.apache.kylin.metadata.expression; | ||
|
||
public interface ExpressionVisitor { | ||
public TupleExpression visitNumber(NumberTupleExpression numExpr); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doesn't need "public" for the method in an interface.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll remove the public.
…keep dynamicCols and tupleExpressionMap independent in GTScanRequest
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Passed auto test and manual test, don't see major issue now.
No description provided.