What SDK are you using? There are FileIO transforms that should help you do this. We can help you with a snippet if you share the SDK you're using.
On Thu, Apr 11, 2019 at 2:16 PM [email protected] < [email protected]> wrote: > Hi > > I am new to Apache Beam, and have been trying to access the CSV headers > from a csv file I referenced as input. > > Is there a way to collect the headers in a CSV using Apache Beam so that > the following records can be processed and compared as columns and rows to > another csv file? > > Please advise. > > Thanks in advance. >
