Skip to main content
Question

Reading files through Groovy

  • July 18, 2022
  • 3 replies
  • 123 views

Hi Team

I have a requirement to read files using groovy evaluator and join 2 files using groovy-code.

Can someone help me on syntax how to read files using groovy evaluator.?

3 replies

dima
StreamSets Employee
Forum|alt.badge.img
  • StreamSets Employee
  • 83 replies
  • July 18, 2022

The requirement strikes me as worrisome, but setting that aside, here's the first result that Google returns for “groovy read files."


abbeygad
Fan
  • Fan
  • 4 replies
  • July 25, 2022

Do you have a groovy script to address just reading file names with extension and date from a folder as a parameter? Similar to what we get from Header record in preview


  • Author
  • Fan
  • 4 replies
  • July 27, 2022

no filenames without any extension.