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

    https://github.com/apache/phoenix/pull/12#discussion_r17617365
  
    --- Diff: 
phoenix-core/src/it/java/org/apache/phoenix/end2end/KeyOnlyIT.java ---
    @@ -142,5 +147,10 @@ protected static void initTableValues(long ts) throws 
Exception {
             conn.commit();
             conn.close();
         }
    +
    +    private void analyzeTable(Connection conn, String tableName) throws 
IOException, SQLException {
    +        String query = "ANALYZE " + tableName;
    +        conn.createStatement().execute(query);
    --- End diff --
    
    This is a definite improvement, but what we really want to do is assert the 
values of the guideposts. Or alternatively (maybe better), assert the values of 
the splits on our ParallelIterators (which you can access through QueryPlan 
when you do a PhoenixStatement.compileQuery()).


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to