You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by "Weiqing Yang (JIRA)" <ji...@apache.org> on 2018/10/17 00:17:00 UTC

[jira] [Updated] (SAMZA-1960) Refactor QueryTranslator unit tests

     [ https://issues.apache.org/jira/browse/SAMZA-1960?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Weiqing Yang updated SAMZA-1960:
--------------------------------
    Description: 
This Jira is to tracking the follow issues:
 # Currently, the unit tests about QueryTranslator are using their own version of [translate()| [https://github.com/apache/samza/blob/master/samza-sql/src/main/java/org/apache/samza/sql/translator/QueryTranslator.java#L107] ], whose logic is a little messy. We should either use the translate() [here|https://github.com/apache/samza/blob/master/samza-sql/src/main/java/org/apache/samza/sql/translator/QueryTranslator.java#L126] or refactor it and its related unit tests.
 # We should rename the package name of "[testutil|https://github.com/apache/samza/tree/master/samza-sql/src/main/java/org/apache/samza/sql/testutil]" to "util". 

  was:
This Jira is to tracking the follow issues:
 # Currently, the unit tests about QueryTranslator are using their own version of [translate()|[https://github.com/apache/samza/blob/master/samza-sql/src/main/java/org/apache/samza/sql/translator/QueryTranslator.java#L107]|https://github.com/apache/samza/blob/master/samza-sql/src/main/java/org/apache/samza/sql/translator/QueryTranslator.java#L107],], whose logic is a little messy. We should either use the translate() [here|https://github.com/apache/samza/blob/master/samza-sql/src/main/java/org/apache/samza/sql/translator/QueryTranslator.java#L126] or refactor it and its related unit tests.
 # We should rename the package name of "[testutil|https://github.com/apache/samza/tree/master/samza-sql/src/main/java/org/apache/samza/sql/testutil]" to "util". 


> Refactor QueryTranslator unit tests
> -----------------------------------
>
>                 Key: SAMZA-1960
>                 URL: https://issues.apache.org/jira/browse/SAMZA-1960
>             Project: Samza
>          Issue Type: Bug
>          Components: sql
>            Reporter: Weiqing Yang
>            Priority: Major
>             Fix For: 0.15.0
>
>
> This Jira is to tracking the follow issues:
>  # Currently, the unit tests about QueryTranslator are using their own version of [translate()| [https://github.com/apache/samza/blob/master/samza-sql/src/main/java/org/apache/samza/sql/translator/QueryTranslator.java#L107] ], whose logic is a little messy. We should either use the translate() [here|https://github.com/apache/samza/blob/master/samza-sql/src/main/java/org/apache/samza/sql/translator/QueryTranslator.java#L126] or refactor it and its related unit tests.
>  # We should rename the package name of "[testutil|https://github.com/apache/samza/tree/master/samza-sql/src/main/java/org/apache/samza/sql/testutil]" to "util". 



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