Replies: 1 comment 1 reply
-
There is not a very easy way to do that. The intension for such cases was to use the generator input source explained on this page: https://flatterer.opendata.coop/library.html#usage Your code will look something like the following if the input is an array of objects.
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I am using flatterer to flatten json files to parquet. My question is regarding the input of multiple files. The files all have the same format (and run through fine) but I need a way to distinguish which file each record in the result set came from. Is there any way to do this, ie. add a field with the filename or some other unique ID? I have tried a few different ways with parquet , dataframes, and even thought about using the fields.csv but I'm not seeing a straightforward way to do it.
Any help would be much appreciated!
Beta Was this translation helpful? Give feedback.
All reactions