greenplum-db / PivotalR-archive

An convenient R tool for manipulating tables in PostgreSQL type databases and a wrapper of Apache MADlib.
https://pivotalsoftware.github.io/gp-r/
125 stars 53 forks source link

Avoid using /tmp in 'crossprod' #24

Closed walkingsparrow closed 10 years ago

walkingsparrow commented 10 years ago

For older versions of MADlib (<= 1.4.1), crossprod creates a temporary plpgsql function in database. During this process, /tmp directory is used. However, if the user does not have the permission to write in /tmp, the function fails.

The straightforward fix is to completely avoid using /tmp at all.

This has been done in v0.1.15.24.

walkingsparrow commented 10 years ago

This is done.