mindsdb_sql icon indicating copy to clipboard operation
mindsdb_sql copied to clipboard

SQL parser and planner used by MindsDB

Results 11 mindsdb_sql issues
Sort by recently updated
recently updated
newest added

Do we use to_tree method for any purpose? For now it is additional code in every ASTNode class which looks like is not used

enhancement

Example: ``` SELECT * FROM items ORDER BY embedding '[3,1,2]' LIMIT 5; SELECT (embedding '[3,1,2]') * -1 AS inner_product FROM items; SELECT 1 - (embedding '[3,1,2]') AS cosine_similarity FROM items;...

enhancement

Let assume there are TS model created: ```sql CREATE MODEL mindsdb.house_sales_model FROM example_db (SELECT * FROM demo_data.house_sales) PREDICT ma ORDER BY saledate GROUP BY type WINDOW 8 HORIZON 4; ```...

enhancement
planner

Support multiple model calls in selecting from predictor with using IN statement. This select ```sql SELECT * FROM model WHERE a IN (100,101) ``` Should call model twice, with two...

planner

- support match/not match Fixes #388

Add to support by parser: - match (`~`) or not match operators (`!~`) - order with column index - `case when then ...` - at the moment supported is: `case...

At the moment creating model from view require a query to the view: ```sql CREATE or replace MODEL model_name FROM mindsdb (select * from view) PREDICT field_name ``` will be...

enhancement