Coder Social home page Coder Social logo

数据查询失败: 数据查询失败Scan vertices or edges need to specify a limit number, or limit number can not push down. about ngbatis HOT 9 CLOSED

nebula-contrib avatar nebula-contrib commented on June 14, 2024
数据查询失败: 数据查询失败Scan vertices or edges need to specify a limit number, or limit number can not push down.

from ngbatis.

Comments (9)

Bingai077 avatar Bingai077 commented on June 14, 2024 1

是索引少了,加了索引就好了,谢谢

from ngbatis.

wey-gu avatar wey-gu commented on June 14, 2024 1

感谢 @CorvusYe 帮忙试出来这个问题是在用 cypher param 的时候触发的,这是数据库的 bug,正常这个情况下是不需要创建索引的,非常抱歉。

参考 vesoft-inc/nebula#4781

from ngbatis.

wey-gu avatar wey-gu commented on June 14, 2024 1

是索引少了,加了索引就好了,谢谢

如果索引不是必须的,可以删掉索引更新包到最新 @CorvusYe 暂时绕过(#67 ) 了这个内核 bug 的触发,同时这种查询不通过索引的效率也更高一些。

from ngbatis.

CorvusYe avatar CorvusYe commented on June 14, 2024

方便提供下NebulaGraph版本跟Schema吗

from ngbatis.

CorvusYe avatar CorvusYe commented on June 14, 2024

可能是少索引了

CREATE TAG INDEX `person_idx` on `person`() 

from ngbatis.

wey-gu avatar wey-gu commented on June 14, 2024

奇怪,请问 @Bingai077 你在用什么版本的 NebulaGraph? 可以给执行一下

explain match(n:person) where id(n) IN  ["foo", "bar"] return n

么?这个查询按理说不需要索引的

from ngbatis.

CorvusYe avatar CorvusYe commented on June 14, 2024

@wey-gu

from ngbatis.

wey-gu avatar wey-gu commented on June 14, 2024

嗯嗯,内核合并了修复,我测试了已经可以了哈,不过还没包含在 release 里,咱们要不先保持不用参数一阵子?

from ngbatis.

CorvusYe avatar CorvusYe commented on June 14, 2024

嗯嗯,内核合并了修复,我测试了已经可以了哈,不过还没包含在 release 里,咱们要不先保持不用参数一阵子?

行,期待下个release

from ngbatis.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.