title: how to get input file name of a record in spark dataframe?
body: <p>I am creating a dataframe in spark by loading tab separated files from s3. I need to get the input file name information of each record in the dataframe for further processing. I tried </p>
  
  <pre><code>dataframe.select(inputFileName())
  </code></pre>
  
  <p>But I am getting null value for input_file_name. somebody please help me to solve this issue.</p>