-
Notifications
You must be signed in to change notification settings - Fork 10
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
Added support for handling simple attribute expression #106
Conversation
Codecov Report
@@ Coverage Diff @@
## main #106 +/- ##
============================================
- Coverage 82.48% 82.22% -0.26%
- Complexity 421 428 +7
============================================
Files 37 37
Lines 1604 1615 +11
Branches 169 175 +6
============================================
+ Hits 1323 1328 +5
- Misses 207 208 +1
- Partials 74 79 +5
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
String logicalColumnName = expression.getColumnIdentifier().getColumnName(); | ||
String col = viewDefinition.getKeyColumnNameForMap(logicalColumnName); | ||
if ((expression.getValueCase() == COLUMNIDENTIFIER) | ||
|| (expression.getValueCase() == ATTRIBUTE_EXPRESSION && !isComplexAttribute(expression))) { |
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.
nit: (expression.getValueCase() == ATTRIBUTE_EXPRESSION && !isComplexAttribute(expression))
could be extracted into a method
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.
resolved
Ref issue : #104