clojure-uk

A place for people in the UK, near the UK, visiting the UK, planning to visit the UK or just vaguely interested to randomly chat about things (often vi and emacs, occasionally clojure). More general the #ldnclj
jiriknesl 2020-11-11T06:29:21.422700Z

Morning

1
dharrigan 2020-11-11T06:43:07.423100Z

Good Morning!

thomas 2020-11-11T08:15:16.423400Z

mogge

dominicm 2020-11-11T08:20:18.423500Z

We had a few queries that just broke it (nullpointer exception or something). And then we had to wait for aws support to tell us what was broken so we could stop doing that... But we kinda needed to do that.

alexlynham 2020-11-11T08:25:45.423700Z

morning

mccraigmccraig 2020-11-11T08:52:31.423800Z

@joetague was it getting expensive with plain csv or json, or with parquet ?

mccraigmccraig 2020-11-11T08:55:59.424300Z

i guess i'll try it out and see... i've got a kafka topic with telemetry data - it looks easy enough to dump that to parquet on s3 with kafka-connect, and if that turns out to lead to criminally expensive queries then i'll dump it to CSV and load into redshift

2020-11-11T09:00:09.424600Z

Bore da

Russ Anderson 2020-11-11T09:06:05.424800Z

Morning morning

mccraigmccraig 2020-11-11T09:14:21.425Z

månmån

agile_geek 2020-11-11T09:16:49.425300Z

Bore da :welsh_flag:

rlj 2020-11-11T09:21:28.426100Z

Mornin

dominicm 2020-11-11T09:22:07.426300Z

Morning

2020-11-11T09:24:10.426500Z

Morning

2020-11-11T11:07:36.426800Z

Good morning

joetague 2020-11-11T15:33:08.426900Z

Just had a peek in the S3 bucket, we were coping GA/BigQuery data from GCS -> S3 as json and left it in Standard-IA class

joetague 2020-11-11T15:34:36.427100Z

Guesstimate/ballpark most of the files were about 600-800mb in size, they weren't well partitioned so we ended up having to load in a few GB of data a day

dharrigan 2020-11-11T16:50:32.427600Z

Do people perfer this:

dharrigan 2020-11-11T16:50:45.428Z

(str "foo bar" baz "wibble")

1👌
dharrigan 2020-11-11T16:50:47.428200Z

or

dharrigan 2020-11-11T16:50:59.428600Z

(format "foo bar %s wibble" baz)

alexlynham 2020-11-11T16:53:59.428700Z

i do the former :woman-shrugging:

1➕
alexlynham 2020-11-11T16:54:26.428800Z

..mostly

mccraigmccraig 2020-11-11T16:57:34.430300Z

+1 str... i find format quite hard to read as soon as there are a few args

Russ Anderson 2020-11-11T16:57:53.430600Z

I do the former, probably only out of habits formed many moons ago in other languages

2020-11-11T17:28:54.431300Z

I guess syntax highlighting will help with the first option

dharrigan 2020-11-11T17:47:15.431500Z

thanks 🙂

dominicm 2020-11-11T18:53:17.432200Z

I would use format for that. But mostly I use str. I seem to keep answering questions against the grain.

jasonbell 2020-11-11T22:05:21.432600Z

Morning

Hugh Powell 2020-11-11T22:05:56.433Z

I use the later, my eye finds it easier to find the variables being used.