[ 
https://issues.apache.org/jira/browse/BEAM-5817?focusedWorklogId=159045&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-159045
 ]

ASF GitHub Bot logged work on BEAM-5817:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 26/Oct/18 09:11
            Start Date: 26/Oct/18 09:11
    Worklog Time Spent: 10m 
      Work Description: echauchot commented on a change in pull request #6780: 
[BEAM-5817] Use an explicit enum for naming Nexmark benchmarks
URL: https://github.com/apache/beam/pull/6780#discussion_r228453719
 
 

 ##########
 File path: 
sdks/java/nexmark/src/main/java/org/apache/beam/sdk/nexmark/NexmarkConfiguration.java
 ##########
 @@ -186,7 +186,14 @@ public void overrideFromOptions(NexmarkOptions options) {
       debug = options.getDebug();
     }
     if (options.getQuery() != null) {
-      query = options.getQuery();
+      try {
+        query = NexmarkQueryName.valueOf(options.getQuery());
+      } catch (IllegalArgumentException exc) {
 
 Review comment:
   Yes you were right to keep the numbers also because, as you mentioned, all 
the dashboards use them and some scripts and docs also. Besides it is also 
easier from to CLI to specify `--query=0` instead of `--query=PASSTHROUGH`

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 159045)
    Time Spent: 2h  (was: 1h 50m)

> Nexmark test of joining stream to files
> ---------------------------------------
>
>                 Key: BEAM-5817
>                 URL: https://issues.apache.org/jira/browse/BEAM-5817
>             Project: Beam
>          Issue Type: New Feature
>          Components: examples-nexmark
>            Reporter: Kenneth Knowles
>            Assignee: Kenneth Knowles
>            Priority: Major
>          Time Spent: 2h
>  Remaining Estimate: 0h
>
> Nexmark is a convenient framework for testing the use case of large scale 
> stream enrichment. One way is joining a stream to files, and it can be tested 
> via any source that Nexmark supports.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to