When applying the new 6.5 "format" feature in the N1QL query editor complex queries are sometimes not indented correctly to the proper level.
The two example N1QL files ( indents_fine.n1ql and indents_bad.n1ql ) are almost identical.
BUT the format differently WRT indenting see attached image where the last three lines are incorrectly indented and additional level.
|For Gerrit Dashboard: MB-36577|
|121681,5||MB-36577 - N1QL formatter fails on certain queries||mad-hatter||ns_server||Status: MERGED||+2||+1|
|122288,1||Merge branch 'couchbase/mad-hatter' into master||master||ns_server||Status: MERGED||+2||+1|