Jens Christian Hillerup
09/25/2024, 9:31 AMutility
in Meltano parlance, but would such a "heavy" operation be suited for the stream mapping API? If not, then what is the alternative? I suppose I could have the utility output something adhering to the Singer spec but what is it then, if not a tap? Is meltano run foo_utility target-postgres
a well-defined operation?Jens Christian Hillerup
09/25/2024, 9:33 AMEdgar Ramírez (Arch.dev)
09/25/2024, 10:43 PMbut would such a "heavy" operation be suited for the stream mapping API? If not, then what is the alternative? I suppose I could have the utility output something adhering to the Singer spec but what is it then, if not a tap?The stream maps interface is really meant for lightweight on-the-fly transformations, but a mapper can be really anything, though it would of course have be to custom and tightly coupled to the output of the accounting software.
Jens Christian Hillerup
09/26/2024, 6:35 AMtarget-postgres
pretty easily I supposeJens Christian Hillerup
09/26/2024, 12:50 PMSimpleSingerWriter
from the Meltano SDK to have my utility write something coherent that I can then pipe into a target, but somehow it also feels a little "dirty".Jens Christian Hillerup
09/26/2024, 12:52 PMStream
but I cannot do that unless I have a Tap
which I don't think is correct since I'm not tapping anything, I'm producing data with this utility. However Tap
implements the SimpleSingerWriter
interface which sounds handyJens Christian Hillerup
09/26/2024, 12:57 PMSELECT
query targeting a dbt view, call an API and make a few `INSERT`s subsequently. Could be I'm making my life more miserable than it needs to be by trying to adhere to the Singer spec for this uncommon use case...Jens Christian Hillerup
09/26/2024, 1:13 PMAndy Carter
10/08/2024, 12:05 PMJens Christian Hillerup
10/08/2024, 9:25 PMocr_results
table, such that the same PDF files don't get handled twice.
At the end of the day it's not pretty and it's not failsafe but I also have some work to do 😉dominic_parry
10/31/2024, 1:50 PMJens Christian Hillerup
11/01/2024, 8:53 AM