Git Product home page Git Product logo

Comments (7)

grabl avatar grabl commented on August 17, 2024

This comment was originally posted by @haikalpribadi on 2017-04-24 13:33:48+02:00.

cc: Sheldon Hall
this might be relevant to the the "type inference upon query planning" thing that Sheldon was working on.

from typeql.

grabl avatar grabl commented on August 17, 2024

This comment was originally posted by Filipe Peliz Pinto Teixeira on 2017-11-02 12:21:19+01:00.

Felix Chapman this is done no?

from typeql.

grabl avatar grabl commented on August 17, 2024

This comment was originally posted by Felix Chapman on 2017-11-02 12:23:02+01:00.

Filipe Peliz Pinto Teixeira It depends what it means. In general we allow invalid queries, but we do check super-simple stuff like "is the type there". For example, Graql won't mind if you say match $r ($x, $y); $r isa person; $r isa dog; or whatever.

from typeql.

grabl avatar grabl commented on August 17, 2024

This comment was originally posted by Filipe Peliz Pinto Teixeira on 2017-11-02 12:24:28+01:00.

Felix Chapman I suppose then the goal of this task is to optimise around not executing queries which we know are invalid. Like the above having two types. So this is not done then I would say.

from typeql.

grabl avatar grabl commented on August 17, 2024

This comment was originally posted by @kasper-piskorski on 2018-04-13 11:05:10+02:00.

isn't that a feature?

from typeql.

grabl avatar grabl commented on August 17, 2024

This comment was originally posted by Jason Liu on 2018-04-13 13:23:35+02:00.

@kasper-piskorski I think this should be allowed

from typeql.

flyingsilverfin avatar flyingsilverfin commented on August 17, 2024

Generally, detecting invalid queries in the schema is now caught by type inference before the query is executed in TypeDB as of 2.x

from typeql.

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.