Skip to content

IGNITE-12261 - Issue with adding nested index dynamically#6947

Closed
kotari4u wants to merge 1 commit intoapache:masterfrom
kotari4u:patch-1
Closed

IGNITE-12261 - Issue with adding nested index dynamically#6947
kotari4u wants to merge 1 commit intoapache:masterfrom
kotari4u:patch-1

Conversation

@kotari4u
Copy link
Copy Markdown

@kotari4u kotari4u commented Oct 8, 2019

http://apache-ignite-users.70518.x6.nabble.com/Issue-with-adding-nested-index-dynamically-tt29571.html

As discussed in the user group ( please check the link ), I have added fix in this class, please let me know if it can be merged and new version can be released. Please let me know for any issue with this commit. Thank you

http://apache-ignite-users.70518.x6.nabble.com/Issue-with-adding-nested-index-dynamically-tt29571.html

As discussed in the user group ( please check the link ), I have added fix in this class, please let me know if it can be merged and new version can be released. Please let me know for any issue with this commit. Thank you
@kotari4u
Copy link
Copy Markdown
Author

kotari4u commented Oct 8, 2019

Can you please check this pull request. Thanks

fullName.append(prop);

String alias = aliases.get(fullName.toString());
String alias = aliases.get(fullName.toString()) == null ? fullName.toString() : aliases.get(fullName.toString());
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Why do aliases.get(fullName.toString()); twice?
Suggestion:

String alias = aliases.get(fullName.toString());
if (alias == null) {
            alias = fullName.toString();
}

@kotari4u
Copy link
Copy Markdown
Author

kotari4u commented Oct 8, 2019

Creatdd another pull request with comment
Closing this so that we can look at other
#6949

@kotari4u kotari4u closed this Oct 8, 2019
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