Re: PipelineOptions strict mode broken?

2018-03-20 Thread Romain Manni-Bucau
2018-03-20 17:53 GMT+01:00 Lukasz Cwik : > The only current validator is the @Required validator, there were some > ideas to integrate another system to perform validation on options like >=0 > for numbers. I'm not sure how much use this has gotten from users, I would > be for leaving it as is (if

Re: PipelineOptions strict mode broken?

2018-03-20 Thread Lukasz Cwik
The only current validator is the @Required validator, there were some ideas to integrate another system to perform validation on options like >=0 for numbers. I'm not sure how much use this has gotten from users, I would be for leaving it as is (if users get value out of it) or removing it and mar

PipelineOptions strict mode broken?

2018-03-20 Thread Romain Manni-Bucau
Hi guys, PipelineOptionsFactory has a nice strict mode validating the options you pass. Concretely if you pass --sudoMakeItWork you will ikely see: java.lang.IllegalArgumentException: Class interface org.apache.beam.sdk.options.PipelineOptions missing a property named ' sudoMakeItWork'. This is