You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We observe a silent error when database and namespace are used in the FROM component of a CREATE MODEL statement like this:
CREATE MODEL mindsdb.house_sales_model FROM mssql_datasource(SELECT * FROM mssql_datasource.dbo.house_sales) PREDICT price_moving_average ORDER BY sale_date GROUP BY bedrooms, building_type WINDOW 12 HORIZON 3 USING ENGINE = 'statsforecast';
Where the mssql_datasource is a connection to the MSSQL MindsDB test server.
One potential customer reports that model training hangs and never returns with the above syntax.
We have not recreated the hanging training, but we have verified that the above syntax does throw a server error that requests the user to inspect the server error logs (the error is opaque).
Additionally, we have observed that public in postgres throws a good verbose error.
The text was updated successfully, but these errors were encountered:
Just in case: In this syntax query in brackets is the raw query to database and should be without mindsdb datasource name: SELECT * FROM dbo.house_sales
CREATE MODEL mindsdb.house_sales_modelFROM mssql_datasource(SELECT*FROMdbo.house_sales)
PREDICT price_moving_average
ORDER BY sale_date
GROUP BY bedrooms, building_type
WINDOW 12
HORIZON 3
USING ENGINE ='statsforecast';
I can't replicate hanging, checked on alpha and cloud: in both cases this query:
CREATE MODEL mindsdb.house_sales_modelFROM mssql_datasource(SELECT*FROMmssql_datasource.dbo.house_sales)
PREDICT price_moving_average
ORDER BY sale_date
GROUP BY bedrooms, building_type
WINDOW 12 HORIZON 3
USING ENGINE ='statsforecast';
We observe a silent error when database and namespace are used in the FROM component of a CREATE MODEL statement like this:
CREATE MODEL mindsdb.house_sales_model FROM mssql_datasource(SELECT * FROM mssql_datasource.dbo.house_sales) PREDICT price_moving_average ORDER BY sale_date GROUP BY bedrooms, building_type WINDOW 12 HORIZON 3 USING ENGINE = 'statsforecast';
Where the mssql_datasource is a connection to the MSSQL MindsDB test server.
One potential customer reports that model training hangs and never returns with the above syntax.
We have not recreated the hanging training, but we have verified that the above syntax does throw a server error that requests the user to inspect the server error logs (the error is opaque).
Additionally, we have observed that
public
in postgres throws a good verbose error.The text was updated successfully, but these errors were encountered: