All Products
Search
Document Center

Lindorm:DESCRIBE

Last Updated:Mar 28, 2026

Use DESCRIBE (or DESC) to display the details of a Flink job, including its status, runtime duration, and full SQL definition.

Engine and version

DESCRIBE applies to the stream engine only and requires version 3.1.8 or later.

To check the current engine version or upgrade, use the console. For upgrade steps, see Upgrade the minor engine version of an ApsaraDB for Lindorm instance.

Syntax

{ DESCRIBE | DESC } name

name is the name of the Flink job. To list all jobs in the current resource group, run SHOW JOBS.

Example

Display the details of the datagen_job job:

DESC datagen_job \G;

Output:

*************************** 1. row ***************************
       Query ID: datagen_job
         Job ID: 0021dcbf7633ed1b4c5a64a59591****
         Status: RUNNING
   Is Stoppable: false
     Start time: 1753952195254
       End time: -1
       Duration: 61348039
Max Parallelism: -1
        DelayMs: -1.0
            Sql:
  SET 'parallelism.default' = '6';
  CREATE TABLE datagen (
    f_sequence INT,
    f_random INT,
    f_random_str STRING,
    ts AS localtimestamp,
    WATERMARK FOR ts AS ts
  ) WITH (
    'connector' = 'datagen',

    'rows-per-second'='5',
    'fields.f_sequence.kind'='sequence',
    'fields.f_sequence.start'='1',
    'fields.f_sequence.end'='50000000',
    'fields.f_random.min'='1',
    'fields.f_random.max'='500',
    'fields.f_random_str.length'='10'
  );

  CREATE TABLE print_table (
    f_sequence INT,
    f_random INT,
    f_random_str STRING
    ) WITH (
    'connector' = 'print'
  );

  INSERT INTO print_table select f_sequence,f_random,f_random_str from datagen;
Append \G to display results in vertical format for easier reading.

Output fields

FieldDescription
Query IDThe name of the Flink job, as specified in the DESCRIBE statement.
Job IDThe unique identifier assigned to the job by the stream engine.
StatusThe current job status. Common values: RUNNING, FINISHED, FAILED, CANCELED.
Is StoppableWhether the job can be stopped with a savepoint. false means the job does not support savepoint-based stops.
Start timeThe time the job started, as a Unix timestamp in milliseconds.
End timeThe time the job ended, as a Unix timestamp in milliseconds. -1 means the job is still running.
DurationHow long the job has been running, in milliseconds.
Max ParallelismThe maximum parallelism configured for the job. -1 means no explicit limit is set.
DelayMsThe processing delay in milliseconds. -1.0 means no delay data is available.
SqlThe full SQL definition submitted with the job.

What's next

  • To view job details without SQL, navigate to the Jobs page in the Lindorm console.

  • To list all jobs in the current resource group, use SHOW JOBS.