Skip to content

Commit 66811fc

Browse files
authored
Chores: remove unnecessary comments
Signed-off-by: Yuanchun Shen <yuanchu@amazon.com>
1 parent b783531 commit 66811fc

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

opensearch/src/main/java/org/opensearch/sql/opensearch/request/PredicateAnalyzer.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1845,10 +1845,9 @@ private static String resolveNestedPath(String name, Map<String, ExprType> field
18451845
if (fieldTypes == null || fieldTypes.isEmpty()) {
18461846
return "";
18471847
}
1848-
// Check if the field is part of a nested structure
1849-
// For a field like "a.b.c.d", we check "a.b.c" first, then "a.b", then "a"
18501848
if (name.contains(".")) {
18511849
String[] parts = name.split("\\.");
1850+
// Check if the field is part of a nested structure
18521851
// Start from the deepest parent path and work backwards
18531852
// For "a.b.c.d", check "a.b.c" first, then "a.b", then "a"
18541853
for (int depth = parts.length - 1; depth > 0; depth--) {

0 commit comments

Comments
 (0)