mindsdb / mindsdb_sql

SQL parser and planner used by MindsDB
https://mindsdb.com
GNU General Public License v3.0
55 stars 21 forks source link

CREATE ML_ENGINE Statements with JSON Parameters are Parsed Incorrectly #367

Closed MinuraPunchihewa closed 6 months ago

MinuraPunchihewa commented 6 months ago

When attempting to run a CREATE ML_ENGINE statement for the Vertex AI integration, the following error is being raised,

image

Note: I realize that the above is not a valid query, but I have left the sensitive information out of the service_account parameter.

This query is not reaching the handler, and the error is being raised during parsing. The following is a screenshot of the de-bugging console (when running MindsDB) to indicate where this is occuring,

image

MinuraPunchihewa commented 6 months ago

This error is not raised here, rather in the MindsDB command execution.