Data registration
After you prepare the user, item, and behavior tables, you must register them with PAI-Rec so that PAI-Rec can use them.
Prerequisites
Data registration currently supports only the following data types: STRING, INT, BIGINT, FLOAT, DOUBLE, BOOLEAN, and DATETIME.
Procedure
This topic provides an example of registering user, item, and behavior tables from MaxCompute. The procedure for registering DataHub tables is similar.
-
Log on to the PAI-Rec console. In the left-side navigation pane, choose .
-
On the MaxCompute table tab, click Add data table, configure the following parameters, and then click Start import.
Parameter
Description
MaxCompute project
Select the MaxCompute project that contains the user table.
MaxCompute table
Select the user table.
Data table name
Enter a custom name for the data table.
-
Repeat the previous step to register the item and behavior tables.
-
After the import succeeds, you can view the table on the Data registration page. You can also click View fields to re-import the table or edit its fields.