- Make sure you have followed the instructions in Build and Package the SQL-MapReduce Function or Prepare C Executables for Installation.
- Make sure the SQL user account that you will use to install the function has the INSTALL FILE, CREATE FUNCTION, and EXECUTE privileges in the schema where you will install the function. See User Permissions for Installed Files and Functions.
- Make sure your file is not too large to install. There is a limit of 238MB on the size of the file to be installed. If you try to install a larger file, you will see an error like:
ERROR: row text exceeds limit of 238MB ...
When installing larger files, the queen may run out of memory. The queen needs available memory of approximately eight times the size of the file to be installed, in order to encode, buffer, and copy the file.