All Products
Search
Document Center

DataWorks:CreateQualityEntity

Last Updated:Nov 21, 2024

Creates a partition filter expression.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
ProjectNamestringYes

The name of the compute engine or data source.

autotest
TableNamestringYes

The name of the table.

dual
EnvTypestringYes

The type of the compute engine or data source.

Valid values:

  • odps
  • emr
  • hadoop
  • cdh
  • analyticdb_for_mysql
  • hybriddb_for_postgresql
  • holodb
ODPS
MatchExpressionstringYes

The partition filter expression.

dt=$[yyyymmdd]
EntityLevelintegerNo

This parameter is deprecated.

The value 0 indicates that the partition filter expression is at the SQL level, and the system checks data quality after each SQL statement is executed.

  • 0
  • 1
0
ProjectIdlongYes

The DataWorks workspace ID. You can log on to the DataWorks console to query the ID.

123

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

HttpStatusCodeinteger

The HTTP status code.

200
Datainteger

The partition filter expression ID.

12345
ErrorMessagestring

The error message.

Your project is not relative with your account.
RequestIdstring

The request ID.

011e1231u3****
Successboolean

Indicates whether the request was successful.

true
ErrorCodestring

The error code.

401

Examples

Sample success responses

JSONformat

{
  "HttpStatusCode": 200,
  "Data": 12345,
  "ErrorMessage": "Your project is not relative with your account.",
  "RequestId": "011e1231u3****",
  "Success": true,
  "ErrorCode": "401"
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2024-05-10The internal configuration of the API is changed, but the call is not affectedView Change Details
2023-03-08The request parameters of the API has changedView Change Details