Hello, I am getting :- negative length vectors are not allowed While working on Jupyter R labs.cognitiveclass.ai(Cognitive lab Coursera))
While I trying to retrieve data from database IBM Cloud using the below
query = "SELECT COUNT(FDID) FROM FARMPRICES"
sqlQuery(conn,query)
I am getting following error:
Error in odbcFetchRows(channel, max = max, buffsize = buffsize, nullstring = nullstring, : negative length vectors are not allowed
Traceback:
- sqlQuery(conn, query)
- sqlGetResults(channel, errors = errors, ...)
- odbcFetchRows(channel, max = max, buffsize = buffsize, nullstring = nullstring, . believeNRows = believeNRows)
4
votes

-
Mohamed Osama commented
+1
-
Pavan Itagi commented
Please help