0

I am using Template to run my job in dataflow, I pass filepath as argument to code through template, in dataflow code I want to get that filepath in STRING format. I used options.getInputFile().toString it's printing object not a actual filepath.

Could someone please help me out?

Thanks in advance...

1 Answer 1

1

Try using ValueProvider#get, as described in Using ValueProvider in your functions.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.