zyxxoo commented on PR #2060: URL: https://github.com/apache/incubator-hugegraph/pull/2060#issuecomment-1366319110
这里 select count(*) 的结果,在解析的时候 count 被视为column,但是我们在 hugeKey 中没有定义 row2Entry:429, CassandraTable (org.apache.hugegraph.backend.store.cassandra) lambda$results2Entries$5:418, CassandraTable (org.apache.hugegraph.backend.store.cassandra) apply:-1, 646504864 (org.apache.hugegraph.backend.store.cassandra.CassandraTable$$Lambda$192) fetch:115, CassandraEntryIterator (org.apache.hugegraph.backend.store.cassandra) hasNext:62, BackendEntryIterator (org.apache.hugegraph.backend.store) fetch:86, ExtendableIterator (org.apache.hugegraph.iterator) hasNext:40, WrappedIterator (org.apache.hugegraph.iterator) lambda$flatMap$0:226, QueryResults (org.apache.hugegraph.backend.query) apply:-1, 253709867 (org.apache.hugegraph.backend.query.QueryResults$$Lambda$249) fetch:62, FlatMapperIterator (org.apache.hugegraph.iterator) hasNext:40, WrappedIterator (org.apache.hugegraph.iterator) fetch:42, MapperIterator (org.apache.hugegraph.iterator) hasNext:40, WrappedIterator (org.apache.hugegraph.iterator) keepInputOrderIfNeeded:103, QueryResults (org.apache.hugegraph.backend.query) queryVerticesFromBackend:821, GraphTransaction (org.apache.hugegraph.backend.tx) queryVerticesFromBackend:243, CachedGraphTransaction (org.apache.hugegraph.backend.cache) queryVertices:801, GraphTransaction (org.apache.hugegraph.backend.tx) lambda$queryNumber$1:583, GraphTransaction (org.apache.hugegraph.backend.tx) apply:-1, 984832924 (org.apache.hugegraph.backend.tx.GraphTransaction$$Lambda$266) iterator:161, QueryList$OptimizedQuery (org.apache.hugegraph.backend.page) apply:-1, 1055453694 (org.apache.hugegraph.backend.page.QueryList$$Lambda$248) lambda$flatMap$0:225, QueryResults (org.apache.hugegraph.backend.query) apply:-1, 253709867 (org.apache.hugegraph.backend.query.QueryResults$$Lambda$249) fetch:62, FlatMapperIterator (org.apache.hugegraph.iterator) hasNext:40, WrappedIterator (org.apache.hugegraph.iterator) reduce:93, Aggregate$AggregateFunc (org.apache.hugegraph.backend.query) reduce:50, Aggregate (org.apache.hugegraph.backend.query) queryNumber:593, GraphTransaction (org.apache.hugegraph.backend.tx) queryNumber:703, StandardHugeGraph (org.apache.hugegraph) verticesCount:91, HugeGraphStep (org.apache.hugegraph.traversal.optimize) count:80, HugeGraphStep (org.apache.hugegraph.traversal.optimize) processNextStart:77, HugeCountStep (org.apache.hugegraph.traversal.optimize) next:135, AbstractStep (org.apache.tinkerpop.gremlin.process.traversal.step.util) next:40, AbstractStep (org.apache.tinkerpop.gremlin.process.traversal.step.util) next:230, DefaultTraversal (org.apache.tinkerpop.gremlin.process.traversal.util) testQueryCountWithOptimizeByIndex:5793, VertexCoreTest (org.apache.hugegraph.core) invoke0:-1, NativeMethodAccessorImpl (jdk.internal.reflect) invoke:62, NativeMethodAccessorImpl (jdk.internal.reflect) invoke:43, DelegatingMethodAccessorImpl (jdk.internal.reflect) invoke:566, Method (java.lang.reflect) runReflectiveCall:50, FrameworkMethod$1 (org.junit.runners.model) run:12, ReflectiveCallable (org.junit.internal.runners.model) invokeExplosively:47, FrameworkMethod (org.junit.runners.model) evaluate:17, InvokeMethod (org.junit.internal.runners.statements) evaluate:26, RunBefores (org.junit.internal.runners.statements) evaluate:27, RunAfters (org.junit.internal.runners.statements) runLeaf:325, ParentRunner (org.junit.runners) runChild:78, BlockJUnit4ClassRunner (org.junit.runners) runChild:57, BlockJUnit4ClassRunner (org.junit.runners) run:290, ParentRunner$3 (org.junit.runners) schedule:71, ParentRunner$1 (org.junit.runners) runChildren:288, ParentRunner (org.junit.runners) access$000:58, ParentRunner (org.junit.runners) evaluate:268, ParentRunner$2 (org.junit.runners) evaluate:26, RunBefores (org.junit.internal.runners.statements) evaluate:27, RunAfters (org.junit.internal.runners.statements) run:363, ParentRunner (org.junit.runners) runChild:128, Suite (org.junit.runners) runChild:27, Suite (org.junit.runners) run:290, ParentRunner$3 (org.junit.runners) schedule:71, ParentRunner$1 (org.junit.runners) runChildren:288, ParentRunner (org.junit.runners) access$000:58, ParentRunner (org.junit.runners) evaluate:268, ParentRunner$2 (org.junit.runners) run:363, ParentRunner (org.junit.runners) run:137, JUnitCore (org.junit.runner) startRunnerWithArgs:69, JUnit4IdeaTestRunner (com.intellij.junit4) execute:38, IdeaTestRunner$Repeater$1 (com.intellij.rt.junit) repeat:11, TestsRepeater (com.intellij.rt.execution.junit) startRunnerWithArgs:35, IdeaTestRunner$Repeater (com.intellij.rt.junit) prepareStreamsAndStart:235, JUnitStarter (com.intellij.rt.junit) main:54, JUnitStarter (com.intellij.rt.junit) -- 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: dev-unsubscr...@hugegraph.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org