Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Multiple chromadb handler commands not executing in mindsdb editor, throwing parsing error #9925

Open
divyakhatiyan opened this issue Oct 17, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@divyakhatiyan
Copy link
Contributor

Short description of current behavior

When we are executing multiple commands for chromadb handler in the mindsdb editor. It is throwing parsing error.

Command Executed:

Drop Database chroma_test

CREATE DATABASE chroma_test
WITH ENGINE = "chromadb",
PARAMETERS = {
"host": "localhost",
"port": "8000"
}

Error:
SQL statement cannot be parsed by mindsdb_sql - Drop Database chroma_test

CREATE DATABASE chroma_test
WITH ENGINE = "chromadb",
PARAMETERS = {
"host": "localhost",
"port": "8000"
}: Syntax error, unknown input:

Drop Database chroma_test
CREATE DATABASE chroma_test
-----^^^^^^

Video or screenshots

Mo.

ChromaDb_Parsing_multiplecommands.mp4

re details in the attached video

Expected behavior

It should parse the commands properly.

How to reproduce the error

Execute these commands in mindsdb editor

Drop Database chroma_test

CREATE DATABASE chroma_test
WITH ENGINE = "chromadb",
PARAMETERS = {
"host": "localhost",
"port": "8000"
}

Anything else?

No response

@ritwickrajmakhal
Copy link
Contributor

I think this problem will occur for every handler. Currently Mindsdb Studio editor doesn't support executing multiple queries.

@ZoranPandovski
Copy link
Member

Thanks for reporting this @divyakhatiyan, currently you can only execute one command in the editor. @zac-mindsDB Maybe something we can consider supporting in the future?

@ZoranPandovski ZoranPandovski added enhancement New feature or request and removed bug Something isn't working labels Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants