"If you know that all of the files are in the same format, change find-inputs to generate a string like this: {/path/file1,/path/file2,/path/file3} and pass that to a single load-clj command."
Is this how I load multiple files? I can't get it to work, at least not using load-json.
--You received this message because you are subscribed to the Google Groups "PigPen Support" group.To unsubscribe from this group and stop receiving emails from it, send an email to pigpen-suppor...@googlegroups.com.For more options, visit https://groups.google.com/d/optout.
```
(->> (pig/load-json "etc/test.jsonl.gz")
(pig/dump)
count)
=> 10
(->> (pig/load-json "etc/test2.jsonl.gz")
(pig/dump)
count)
=> 10
(->> (pig/load-json "{etc/test.jsonl.gz,etc/test2.jsonl.gz}")
(pig/dump)
count)
=> 0
```
But I might have misunderstood the meaning of "change find-inputs to generate a string like this: {/path/file1,/path/file2,/path/file3} and pass that to a single load-clj command".
No luck with any of those.
In all cases, the output also fails. Is that an obvious consequence of input failure, or is there something wrong with the output configuration?
I don't actually use OUTPUT anywhere. Is it implicit, or do I need to refer to it somewhere?
(pig/store-clj "s3://mybucket/output/output.clj"))
(pig/store-clj "$OUTPUToutput.clj"))