javeme commented on code in PR #1847:
URL: 
https://github.com/apache/incubator-hugegraph/pull/1847#discussion_r867429590


##########
hugegraph-scylladb/src/main/java/com/baidu/hugegraph/backend/store/scylladb/ScyllaDBTablesWithMV.java:
##########
@@ -263,15 +263,15 @@ protected void createIndex(CassandraSessionPool.Session 
session,
                          "  SELECT * FROM %s " +
                          "  WHERE %s IS NOT NULL AND %s IS NOT NULL " +
                          "  PRIMARY KEY(%s, %s)",
-                         MV_LABEL2EDGE, this.table(),
-                         this.LABEL, this.PRKEYS_NN,
-                         this.LABEL, this.PRKEYS);
+                    mvLabel2Edge, this.table(),

Review Comment:
   align with` "`



##########
hugegraph-cassandra/src/main/java/com/baidu/hugegraph/backend/store/cassandra/CassandraTable.java:
##########
@@ -107,12 +107,12 @@ public Number queryNumber(CassandraSessionPool.Session 
session,
             statement.setReadTimeoutMillis(timeout * 1000);
             return session.query(statement);
         }, (q, rs) -> {
-            Row row = rs.one();
-            if (row == null) {
-                return IteratorUtils.of(aggregate.defaultValue());
-            }
-            return IteratorUtils.of(row.getLong(0));
-        });
+                Row row = rs.one();

Review Comment:
   according to the latest conclusion, we can keep the original style lambda 
alignment



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to