Github user jingyimei commented on a diff in the pull request:
https://github.com/apache/madlib/pull/326#discussion_r221714858
--- Diff: src/ports/postgres/modules/pmml/test/pmml.ic.sql_in ---
@@ -0,0 +1,119 @@
+/* ---
*//**
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ *
+ *//*
--- */
+DROP TABLE IF EXISTS abalone CASCADE;
+
+CREATE TABLE abalone (
+id integer,
+sex text,
+length double precision,
+diameter double precision,
+height double precision,
+whole double precision,
+shucked double precision,
+viscera double precision,
+shell double precision,
+rings integer
+);
+
+INSERT INTO abalone VALUES
+(3151, 'F', 0.655027, 0.505004,
0.165008, 1.36699, 0.583519,
0.351479, 0.396019, 10),
+(2026, 'F', 0.550044, 0.469973,
0.149994, 0.920485, 0.381005,
0.243494, 0.267516, 10),
+(3751, 'I', 0.434998, 0.375, 0.110001,
0.41548, 0.170012, 0.0759981,
0.14499, 8),
+(720, 'I', 0.149994, 0.16,
0.0250014, 0.0149994, 0.00449966,
0.0048, 0.0050001, 2),
+(1635, 'F', 0.574956, 0.469973,
0.154999, 1.1161, 0.509008,
0.237989, 0.340024, 10),
+(2648, 'I', 0.5, 0.390013, 0.125, 0.582963,
0.293984, 0.132006, 0.160504, 8),
+(1796, 'F', 0.57996, 0.429993,
0.170012, 1.47998, 0.65347,
0.32401, 0.41548, 10),
+(209, 'F', 0.525022, 0.41498,
0.170012, 0.832518, 0.275523,
0.168511, 0.309998, 13),
+(1451, 'I', 0.455016, 0.33502,
0.135009, 0.501001, 0.274021,
0.0995051, 0.106497, 7),
+(1108, 'I', 0.510009, 0.380004,
0.115005, 0.515458, 0.214997,
0.113504, 0.166009, 8),
+(3675, 'F', 0.594973, 0.450011,
0.165008, 1.08096, 0.489991,
0.252502, 0.279026, 12),
+(2108, 'F', 0.675044, 0.550044,
0.179993, 1.688499989, 0.562055,
0.370496, 0.599978, 15),
+(3312, 'F', 0.479982, 0.380004,
0.135009, 0.507006, 0.191504,
0.13651, 0.154999, 12),
+(882, 'M', 0.655027, 0.520018,
0.165008, 1.40948, 0.585965,
0.290981, 0.405027, 9),
+(3402, 'M', 0.479982, 0.395018,
0.149994, 0.681495, 0.214496,
0.140514, 0.2495, 18),
+(829, 'I', 0.409976, 0.325011,
0.16, 0.394017, 0.20799,
0.0655027, 0.105997, 6),
+(1305, 'M', 0.535031, 0.434998,
0.149994, 0.716971, 0.347476,
0.14449, 0.194006, 9),
+(3613, 'M', 0.599978, 0.46002,
0.179993, 1.1399, 0.422987,
0.257507, 0.364991, 10),
+(1068, 'I', 0.340024, 0.265013,
0.0800017, 0.201512, 0.0899967,
0.0475006,