Problem description
After you create a data delivery task for a data table by using the Tablestore console or an SDK, no data is found in the destination bucket in Object Storage Service (OSS).
A new data delivery task takes up to one minute to initialize. After creating the task, wait at least a minute before checking for data in OSS.
Possible cause
This occurs when the number of columns in a row does not match the definition in the delivery schema, or when a source column's data type is inconsistent with the destination's type.
Solution
The following steps demonstrate the process by using the Tablestore console.
Verify that the column count and data types in the delivery schema match the source data table. To do this, perform the following steps:
-
Navigate to the Instance Details page.
-
Log on to the Tablestore console.
-
On the Overview page, select a region and then click the instance name.
-
-
Check the schema configuration of the data delivery task.
NoteYou can also call the
DescribeDeliveryTaskAPI operation to query the task's description and confirm its configuration.-
On the Deliver Data to OSS tab, click View Details in the Schema column for the target data delivery task.
-
In the Details dialog box, view the schema configuration.
The Schema Configuration section contains a field mapping table with the following columns: Order, Source Table Field, Destination Field Name, and Destination Field Type. Verify that the field mappings are correct. For example, check that the
idfield is mapped to the destination fieldid(UTF8),Col_Keywordis mapped toCol_Keyword(UTF8), andCol_Longis mapped toCol_Long(INT64). You can also view other settings such as Delivery Type (Full & Incremental) and Delivery File Format (Parquet).
-
-
Check the data in a row of the source table.
-
On the Instance Details page, go to the Tables tab and click the name of the data table.
-
On the Query Data tab, click Details for a specific row.
-
In the Details dialog box, review the row's details.
The data is displayed in JSON format. The primaryKeys array contains information about primary keys, such as the
idfield with its type and value. The columns object contains information about attribute columns, such asCol_KeywordandCol_Longwith their corresponding values and timestamps. ClickCopyin the lower-right corner of the dialog box to copy the JSON content.
-
-
Compare the row's column count and data types with those in the delivery schema's configuration.
-
If the column count or data types do not match, that row cannot be delivered to OSS. You must then create a new data delivery task. For more information, see Create a data delivery task by using the console or Create a data delivery task by using an SDK.
-
If the column count and data types both match, submit a ticket to contact Tablestore technical support.
-