Fork me on GitHub
#datomic
<
2022-11-13
>
Victor Inacio17:11:30

I’m trying to use Datomic analytics on Metabase, but after loading forever I’m checking schema and tables with presto CLI. When getting columns from this table using small dev db I’m getting results but from a larger database with same schema I’m getting this error about ‘db must support tuples’ And I have no :db.type/tuple in my schema.

DESCRIBE Tenant;
Query 20221113_173617_00004_a7wmw failed: Assert failed: db must support tuples - see 
(:db/tupleTypes ret)
My metaschema.edn is:
{:tables {:tenant/name {:name Tenant}}
 :joins {}}
Any clues why?

danieroux14:11:13

The small dev db has the latest base schema, and the larger database does not. You need to upgrade the larger database's base schema with: https://docs.datomic.com/cloud/operation/howto.html#upgrade-base-schema

👍 1
Victor Inacio08:11:29

Ow, thanks @U9E8C7QRJ that was exactly the case, after upgrading the large one it worked normally.

👍 1