flambo

sorenmacbeth 2016-04-21T18:11:47.000003Z

boom

sorenmacbeth 2016-04-21T18:11:57.000004Z

great idea

jrotenberg 2016-04-21T18:12:47.000005Z

let the discussion begin

jrotenberg 2016-04-21T18:50:54.000006Z

heh

sorenmacbeth 2016-04-21T19:03:54.000008Z

hmm, what’s happening there?

jrotenberg 2016-04-21T19:10:06.000009Z

i think cider is telling me the argument options for CassandraJavaUtil/mapTupleToRow

jrotenberg 2016-04-21T19:10:32.000010Z

and since it takes a bunch of TupleN args

jrotenberg 2016-04-21T19:10:37.000011Z

etc

sorenmacbeth 2016-04-21T19:28:11.000012Z

ahh

sorenmacbeth 2016-04-21T19:28:11.000013Z

haha

sorenmacbeth 2016-04-21T19:28:15.000014Z

make sense

jrotenberg 2016-04-21T19:38:00.000015Z

the saveToCassandra stuff is starting to make a little more sense

jrotenberg 2016-04-21T19:38:07.000016Z

i think it could be wrapped up pretty well

sorenmacbeth 2016-04-21T19:49:24.000017Z

cool cool

jrotenberg 2016-04-21T20:26:50.000019Z

thats the “tested in my cider-scratch buffer” version of saving the word count results in cassandra

jrotenberg 2016-04-21T20:27:10.000020Z

that interop ain’t so pretty, though

jrotenberg 2016-04-21T20:30:24.000021Z

this old repo was using mapToRow which needs a bean

jrotenberg 2016-04-21T20:30:32.000022Z

which is probably why it wasn’t working

jrotenberg 2016-04-21T20:30:47.000023Z

i think the mapTupleToRow stuff is newer

sorenmacbeth 2016-04-21T21:58:14.000024Z

nice! that’s not bad at all

jrotenberg 2016-04-21T22:09:40.000025Z

yeah

jrotenberg 2016-04-21T22:09:53.000026Z

you could easily wrap those lines into a save-to-cassandra function

jrotenberg 2016-04-21T22:10:22.000027Z

mainly comes down to how to handle mapping the data into a row

jrotenberg 2016-04-21T22:10:33.000028Z

and whether you do it automatically somehow

jrotenberg 2016-04-21T22:17:07.000029Z

could do multi-arity

jrotenberg 2016-04-21T22:17:24.000030Z

(save-to-cassandra rdd) which just tries to figure it out

jrotenberg 2016-04-21T22:17:53.000031Z

(save-to-cassandra rdd {“column-name” column-class})

sorenmacbeth 2016-04-21T22:21:23.000032Z

yeah that sounds reasonable

jrotenberg 2016-04-21T22:44:49.000033Z

i’m writing a little test/verification app for our new cluster

jrotenberg 2016-04-21T22:45:03.000034Z

i’ll try it out there first