BinShi-SecularBird commented on a change in pull request #433: PHOENIX-4009 Run 
UPDATE STATISTICS command by using MR integration on…
URL: https://github.com/apache/phoenix/pull/433#discussion_r252085017
 
 

 ##########
 File path: 
phoenix-core/src/main/java/org/apache/phoenix/schema/stats/StatsCollectionDisabledOnServerException.java
 ##########
 @@ -0,0 +1,18 @@
+package org.apache.phoenix.schema.stats;
+
+import org.apache.phoenix.exception.SQLExceptionCode;
+import org.apache.phoenix.exception.SQLExceptionInfo;
+
+import java.sql.SQLException;
+
+public class StatsCollectionDisabledOnServerException extends SQLException {
+
+    private static final long serialVersionUID = 1L;
+    private static SQLExceptionCode code = 
SQLExceptionCode.STATS_COLLECTION_DISABLED_ON_SERVER;
+
+    public StatsCollectionDisabledOnServerException() {
 
 Review comment:
   It's better to pass table name and call setTableNae in 
SQLExceptionInfo.Builder.

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to