Fork me on GitHub
#xtdb
<
2021-11-16
>
sheluchin17:11:29

Is there a way to handle fixture data with xtdb?

lgessler21:11:04

there aren't amenities in xtdb as far as i'm aware, if that's what you're asking. I've just been writing my fixture code by hand and it hasn't been too bad

refset21:11:17

the tests are filled with various fixture patterns, a lot of them depending on this file https://github.com/xtdb/xtdb/blob/master/test/src/xtdb/fixtures.clj

sheluchin15:11:00

Thanks, that lead me to https://github.com/xtdb/xtdb/blob/master/test/test/xtdb/bench_test.clj#L44, which looks like what I should try. I need to load a few hundred thousand records and they need to be generally available between restarts and stuff. Just looking for ways to expedite that process so my dev workflow isn't too impeded by the time it takes to load that data.

☺️ 1