typedb / typedb

TypeDB: the power of programming, in your database
https://typedb.com
Mozilla Public License 2.0
3.86k stars 340 forks source link

Compute count gives Exception UNKOWN #4122

Closed grabl closed 6 years ago

grabl commented 6 years ago

This issue was originally posted by @tomassabat on 2018-07-24 16:12.

Compute count gives error as shown in the screenshot. Attached is schema, the CSV file and the migrator that loads the data into grakn

grabl commented 6 years ago

This comment was originally posted by @haikalpribadi on 2018-08-27 17:05:37+02:00.

I think this bug may be related to this other bug: https://work.grakn.ai/entity/20569-graql-compute-queries-are-not-returning, @lolski. Am I right, @tomassabat ?

grabl commented 6 years ago

This comment was originally posted by @tomassabat on 2018-08-28 00:06:01+02:00.

@haikalpribadi Not really - in this bug it returned an exception (see the screenshot attached above) whereas in the other one it returned the wrong answer or nothing.

Exception in thread "main" io.grpc.StatusRuntimeException: UNKOWN"
grabl commented 6 years ago

This comment was originally posted by @lolski on 2018-09-03 21:21:54+02:00.

@tomassabat the issue has been fixed in 1.4.0-SNAPSHOT which I gave you. I would suggest using that together with the latest client-python package which uses gRPC.

There are differences in terms of syntax, therefore I've updated the migrator script for you. See attached "migrator-v3.py".