modeldb icon indicating copy to clipboard operation
modeldb copied to clipboard

modeldb::linear_regression_db invalid operation

Open callummcc7 opened this issue 5 years ago • 2 comments

I am trying to run a model remotely with the 'linear_regression_db' function from the modeldb package. but am getting the following error:

Screenshot 2020-04-20 at 17 40 34

This is being done via a connection to Amazon Redshift (which is based on postgresql 8.4) and maintained at the most up to date version. I have tried changing the JDBC driver to the latest version as well and still relieve the same error. I notice that it refers to the SQL count function - "(Amazon Invalid operation: function count() does not exist;)" , but am not sure what to make of this.

Thanks.

callummcc7 avatar Apr 20 '20 16:04 callummcc7

Could you please turn this into a self-contained reprex (short for reproducible example)? It will help us help you if we can be sure we're all working with/looking at the same stuff.

If you found a solution, could you share it with us ?

Thanks

mygeorgyboy avatar Jul 06 '20 16:07 mygeorgyboy

Check out this helpful article for tips on how to create a reprex for databases.

juliasilge avatar Jul 06 '20 17:07 juliasilge