-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/57137/
-----------------------------------------------------------

(Updated Feb. 28, 2017, 11:24 a.m.)


Review request for Ambari, DIPAYAN BHOWMICK, Gaurav Nagar, Pallav Kulshreshtha, 
Rohit Choudhary, and Ashwin Rajeev.


Bugs: AMBARI-20091
    https://issues.apache.org/jira/browse/AMBARI-20091


Repository: ambari


Description
-------

1) analyze table compute stats for columns
2) analyze table compute stats
 
First one is to collect column statistics and second one is to collect basic 
stats. numRows, dataSize etc. is computed via 2)
To get all stats one has to run both statements. 

Hence implemented in that way.


Diffs
-----

  
contrib/views/hive20/src/main/java/org/apache/ambari/view/hive20/internal/query/generators/AnalyzeTableQueryGenerator.java
 902d959 
  
contrib/views/hive20/src/test/java/org/apache/ambari/view/hive20/internal/query/generators/AnalyzeTableQueryGeneratorSpecTest.groovy
 PRE-CREATION 

Diff: https://reviews.apache.org/r/57137/diff/


Testing
-------

added spock test AnalyzeTableQueryGeneratorSpecTest.groovy


Thanks,

Nitiraj Rathore

Reply via email to