Coder Social home page Coder Social logo

cottontaildb-proto's People

Contributors

gabuzi avatar lucaro avatar ppanopticon avatar sauterl avatar silvanheller avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

cottontaildb-proto's Issues

SimpleClient: Set Query ID

Ideally, the SimpleClient should have the functionality to set the queryID which is currently used for logging in Cottontail.

CreateIndex should be more explicit about its parameters

Currently, the CreateIndex message simply takes an indexName as parameter. That name is however expected to be formatted including schema and entity name. It would be better to explicitly add those parameters to the index-creation message.

Return types

Some return types for methods of the CottonDDL service are not optimal:

  • ListSchemas returns a single schema and not multiple
  • CreateSchema and DropSchema don't return a status regarding the operations
  • CreateEntity returns a single entity rather than multiple
  • DropEntity, OptimizeEntity and TruncateEntity don't return a status regarding the operations

Handle failure without StatusRuntimeExceptions

Currently, if you're trying to create an entity which already exists or trying to drop an entity which not exists (among other things), cottontaildb throws a StatusRuntimeException over the channel. This is because the .proto-definition does not allow for transparent failure.

One solution would be to include a Success Flag in the SuccessStatus Message or return a StatusMessage which can include information about unsuccessfull operations without throwing exceptions.

Cannot insert vectors

An InsertMessage has a list of Tuples which in turn has a map of Data. All vectors are capsuled in a Vector message, which can not be part of a Tuple.

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.