Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I have a dumb question. Could I use flow to import a text file into a postgresql database? The text file is not append-only.

There's a lot of tools to import logs into stuff like kafka but not to import whole files (that can change) to a database.



Yep. You can, for example, have it watch file(s) in S3, and every time a file changes it will flow its records through into a table it creates in your DB, keyed on your (arbitrary) primary key.


Any way to watch local files too? S3 might be fine, but just asking.


inotify?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: