Fork me on GitHub
#datomic
<
2020-11-23
>
onetom04:11:05

Our Datomic Cloud subcription is not showing up on the AWS Marketplace / Manage subscriptions https://console.aws.amazon.com/marketplace/home?region=ap-southeast-1#/subscriptions is that expected? I see other subscriptions though from Container / Machine Image and CloudFormation categories...

tatut06:11:39

the analytics doesn’t seem to work if db-name contains a dash - character, I’m getting Query 20201123_062629_00002_8pm43 failed: Expected string for :db-name when trying a query, but it works if db name contains only characters

tatut06:11:10

I had a test db that was named project-2020-11-13 with a date and it didn’t work but the db named just project worked fine

joshkh12:11:18

huh. for what it's worth, i'm running analytics on a db with a dash in its name without an issue

tatut13:11:23

good to know, maybe it has some other issue, or it was a presto cli problem

ivana09:11:34

I have relation when order has customet attribute and can access customer via: [?o :order/customer ?c] The same way I can access order if I have query of customers. Also I can use get-else when order has no customer. But how can I filter customers without orders? (not [?o :order/customer ?c]) gives an error

:db.error/insufficient-binding [?o] not bound in not clause: (not-join [?o ?c] [?o :order/customer ?c])

ivana09:11:00

Seems that this way works:

(not-join [?c]
[?o :order/customer ?c])

ivana10:11:02

And also seems that not is a sugar on not-join, allowing not to set bindings explicitly and manually

ivana10:11:31

Hmm, seems that (not [_ :order/customer ?c]) also works

kschltz12:11:28

@U0A6H3MFT it seems to me that issue lies entirely in the binding

henrik13:11:17

[Cloud/Ions] Does all deps have to be under :deps, or can aliases be specified when pushing?

souenzzo20:11:53

no, AFIK, you can specify an alias As I dig (not documented or explained by anyone): the datomic-cloud instance will download your code, open your deps.edn, take the :deps make and decide which deps it will use (something like, it do not use #tools-deps or at least, not as a simple command line)

henrik13:11:27

Ah, too bad. Had a good composable thing going, but I’m going to have to dump it all in :deps then. 🤷