Permalink
Browse files

Address Caleb's comments. Change error message and remove the upper l…

…imit of 8000000.
  • Loading branch information...
1 parent 52d01a3 commit 8f750173bdfec361c8390d4c6b34c0a297482e8f @renyi533 committed May 25, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 methods/cart/src/pg_gp/dt.sql_in
@@ -2202,8 +2202,8 @@ BEGIN
RAISE INFO 'NUMBER OF CLASSES IN THE TRAINING SET %', num_classes;
END IF;
- IF(num_classes < 2 OR num_classes > 8000000)THEN
- RAISE EXCEPTION 'The number of classes must be in range 2 to 8,000,000!';
+ IF(num_classes < 2) THEN
+ RAISE EXCEPTION 'the number of classes must be greater than 2';
END IF;
EXECUTE 'SELECT count(*) FROM '|| training_table_name ||';' INTO total_size;

0 comments on commit 8f75017

Please sign in to comment.