Hi, how can I read a file larger than 10 MB in a M...
# suitescript
s
Hi, how can I read a file larger than 10 MB in a MapReduce script?
a
In your getInputData entry point simply:
Copy code
return file.load({id: sFileId});
Each line of the file is passed to the map stage as a separate invocation. There is no guaranteed execution order, and no automatic deserialization or CSV parsing; each line is provided as a raw string and must be parsed or handled explicitly by the script.
☝️ 1