Huygaa,

Not sure about existing options for WordCount specifically, but nothing
stops us from having it. In SQL we have a couple of tasks to simplify
launching the examples:

https://github.com/apache/beam/blob/master/sdks/java/extensions/sql/build.gradle#L149

https://github.com/apache/beam/blob/master/sdks/java/extensions/sql/src/main/java/org/apache/beam/sdk/extensions/sql/example/BeamSqlPojoExample.java#L41

Something like this can be easily generalized and parametrized if we need
it.

Regards,
Anton


On Wed, Aug 15, 2018 at 10:54 AM Robin Qiu <[email protected]> wrote:

> Hey Huygaa,
>
> If you have your Intellij set up, you can run it from there and edit
> program arguments in "Run Configuration".
>
> Best,
> Robin
>
> On Wed, Aug 15, 2018 at 10:50 AM Huygaa Batsaikhan <[email protected]>
> wrote:
>
>> When we run wordcount using maven, we pass "-P dataflow-runner" profile
>> to set the runner. What is the equivalent of this in gradle? In other
>> words, how can I run wordcount straight from my Beam repo code?
>>
>

Reply via email to