-
Notifications
You must be signed in to change notification settings - Fork 104
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
Issue/1863 mysql sink quote fields #1865
Issue/1863 mysql sink quote fields #1865
Conversation
@@ -338,7 +338,7 @@ protected NGSIGenericAggregator getAggregator(boolean rowAttrPersistence) { | |||
private void persistAggregation(NGSIGenericAggregator aggregator) |
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.
An entry in CHANGES_NEXT_RELEASE describing the fix and citing #1863 should be included, using the usual style.
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.
Fixed in 9010472
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.
LGTM
Passing the ball to other cygnuers for additional LGTM: @IvanHdzC @AlvaroVega @manucarrace
In advance to @IvanHdzC review ;)
Great @dmartinezgomez. In general I think everything is alright. I just realized that those SQL methods have no tests so, can you please add a couple of tests for this overloaded method. It would be easier to add them to NGSIUtilsTest class, not directly to the Sink. |
cygnus-ngsi/src/main/java/com/telefonica/iot/cygnus/sinks/NGSIMySQLSink.java
Outdated
Show resolved
Hide resolved
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.
LGTM
Update tests that @IvanHdzC requested
Merge with master
Remove unnecessary import
…into issue/1863_mysql_sink_quote_fields
Fixed a little missindent and add test
I see recent activity in the PR (auther by @FranGomezCiC on August 27th)... should we understand that the above point has been covered by the new modifications? |
We have added two tests for these SQL methods |
Great! Could you solve the conflict on CHANGES_NEXT_RELEASE so we can have a final look and eventually merge, please? |
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.
Please update your branch with current master before solving merge conflicts.
…sink_quote_fields
…ql_sink_quote_fields
Issue/1863 mysql sink quote fields
Done |
Done |
I apologise for the late |
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.
LGTM
Thanks for the contribution! |
Fix for Issue #1863