Fork me on GitHub
#datomic
<
2018-08-05
>
Desmond03:08:54

I'm finding pull syntax dramatically slower (4x) than binding all the return values i want with where clauses. Any ideas why that might happen?

rhansen12:08:41

Anyone experienced this error? No implementation of method: :value-size of protocol: #'datomic.cloud.tx-limits/ValueSize found for class: java.lang.Integer It only happens in cloud during a specific transaction. I cannot reproduce this localy šŸ˜•

Joe Lane14:08:41

I ran into this exact thing and it cost me a day of confusion not understanding what I was doing wrong. I think maybe we should aggregate these into a Common Error Messages FAQ?

marshall14:08:22

@rhansen that's a known issue with transacting a java Integer. Fix pending.

rhansen17:08:50

Ahh, ok. Should be an easy fix šŸ˜Š

rhansen18:08:03

I realize now that the previous statement can sound a bit rude. I ment it should be easy to work around on my end, not that it should be an easy bug for you to fix on your end šŸ˜…

austinbirch19:08:13

Hello all, Hopefully simple question about Datomic Cloud. If Iā€™m understanding the Datomic Cloud documentation on pricing correctly, you can run Datomic Solo Topology for $1/day, but if you want to scale (for either performance/capacity or HA) the next step would be to switch to Datomic Production Topology which would start at about $15/day (two i3.large instances). Is that reading correct?

Desmond22:08:46

So I want to pass a pattern to a pull using :in $ pattern and the pattern has a list of attributes like [:input/name :input/value] except only the first attribute is coming back. If i hardcode the pattern with pull ?e [:input/name :input/value] everything works as expected. I just upgraded to version 0.9.5703 after reading @marshall's comments in this thread: https://clojurians-log.clojureverse.org/datomic/2018-03-15

Desmond22:08:19

ultimately my goal is to pull using an om-next ast sent from the client. not sure if there are workarounds here but i'm surprised that passing the pattern as an argument works differently than hardcoding the pattern.

rhansen23:08:37

@austinbirch yes. But if you use reserved instances that price goes down by a noticable amount.