MADlib
0.7 A newer version is available
User Documentation
|
The compatibility module replicates standard SQL functionality that cannot be used on all platforms supported by MADlib -- be it due to incomplete implementation of the SQL standard or bugs.
This module contains workarounds for the following issues:
CREATE TABLE table_name AS query
statements where query contains certain MADlib functions fails with the error “function cannot execute on segment because it issues a non-SELECT statement” (Greenplum versions before version 4.2, and in rare special cases also later versions). The workaround is: SELECT create_table_as('table_name', $$ query $$, 'BY (column, [...]) | RANDOMLY');
INSERT INTO table_name query
where query contains certain MADlib functions fails with the error “function cannot execute on segment because it issues a non-SELECT statement” (Greenplum versions before version 4.2, and in rare special cases also later versions). The workaround is: SELECT insert_into('table_name', $$ query $$);
[1] Greenplum Admin Guide