Github user samarthjain commented on a diff in the pull request:

    https://github.com/apache/phoenix/pull/89#discussion_r32764170
  
    --- Diff: 
phoenix-pherf/src/it/java/org/apache/phoenix/pherf/DataIngestIT.java ---
    @@ -18,70 +18,122 @@
     
     package org.apache.phoenix.pherf;
     
    -import org.apache.phoenix.pherf.configuration.Column;
    -import org.apache.phoenix.pherf.configuration.DataTypeMapping;
    -import org.apache.phoenix.pherf.configuration.Scenario;
    -import org.apache.phoenix.pherf.configuration.XMLConfigParser;
    -import org.apache.phoenix.pherf.loaddata.DataLoader;
    +import com.jcabi.jdbc.JdbcSession;
    +import com.jcabi.jdbc.Outcome;
    +import org.apache.phoenix.pherf.configuration.*;
     import org.apache.phoenix.pherf.rules.DataValue;
     import org.apache.phoenix.pherf.rules.RulesApplier;
    -import org.apache.phoenix.pherf.schema.SchemaReader;
    -import org.apache.phoenix.pherf.util.PhoenixUtil;
    +import org.apache.phoenix.pherf.workload.QueryExecutor;
    +import org.apache.phoenix.pherf.workload.WorkloadExecutor;
    +import org.apache.phoenix.pherf.workload.WriteWorkload;
     import org.junit.Test;
     
    -import java.nio.file.Path;
    +import java.sql.Connection;
    +import java.sql.ResultSet;
    +import java.sql.SQLException;
    +import java.sql.Statement;
     import java.util.ArrayList;
     import java.util.List;
     import java.util.Map;
     
    -import static org.junit.Assert.assertNotNull;
    -import static org.junit.Assert.assertTrue;
    -import static org.junit.Assert.fail;
    +import static org.junit.Assert.*;
     
     public class DataIngestIT extends ResultBaseTestIT {
    -    protected static PhoenixUtil util = new PhoenixUtil(true);
    -    static final String matcherScenario = ".*scenario/.*test.*xml";
    -    static final String matcherSchema = ".*datamodel/.*test.*sql";
     
    -    @Test
    -    public void generateData() throws Exception {
    -        util.setZookeeper("localhost");
    -        SchemaReader reader = new SchemaReader(util, matcherSchema);
    -        XMLConfigParser parser = new XMLConfigParser(matcherScenario);
    +    @org.junit.Before
    --- End diff --
    
    Extremely minor - do an import so this becomes @Before


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to