yuanoOo commented on code in PR #4061: URL: https://github.com/apache/flink-cdc/pull/4061#discussion_r2224818943
########## docs/content/docs/connectors/flink-sources/oceanbase-cdc.md: ########## @@ -433,434 +498,429 @@ Available Metadata The following format metadata can be exposed as read-only (VIRTUAL) columns in a table definition. <table class="colwidths-auto docutils"> - <thead> - <tr> - <th class="text-left" style="width: 15%">Key</th> - <th class="text-left" style="width: 30%">DataType</th> - <th class="text-left" style="width: 55%">Description</th> - </tr> - </thead> - <tbody> - <tr> - <td>tenant_name</td> - <td>STRING</td> - <td>Name of the tenant that contains the row.</td> - </tr> - <tr> - <td>database_name</td> - <td>STRING</td> - <td>Name of the database that contains the row.</td> - </tr> - <tr> - <td>schema_name</td> - <td>STRING</td> - <td>Name of the schema that contains the row.</td> - </tr> - <tr> - <td>table_name</td> - <td>STRING NOT NULL</td> - <td>Name of the table that contains the row.</td> - </tr> - <tr> - <td>op_ts</td> - <td>TIMESTAMP_LTZ(3) NOT NULL</td> - <td>It indicates the time that the change was made in the database. <br> - If the record is read from snapshot of the table instead of the change stream, the value is always 0.</td> - </tr> - </tbody> + <thead> + <tr> + <th class="text-left" style="width: 15%">Key</th> + <th class="text-left" style="width: 30%">DataType</th> + <th class="text-left" style="width: 55%">Description</th> + </tr> + </thead> + <tbody> + <tr> + <td>table_name</td> + <td>STRING NOT NULL</td> + <td>Name of the table that contain the row.</td> + </tr> + <tr> + <td>database_name</td> + <td>STRING NOT NULL</td> + <td>Name of the database that contain the row.</td> + </tr> + <tr> + <td>op_ts</td> + <td>TIMESTAMP_LTZ(3) NOT NULL</td> + <td>It indicates the time that the change was made in the database. <br>If the record is read from snapshot of the table instead of the binlog, the value is always 0.</td> Review Comment: This is copied from the mysql-cdc document. It is best to keep it consistent. ########## docs/content/docs/connectors/flink-sources/oceanbase-cdc.md: ########## @@ -433,434 +498,429 @@ Available Metadata The following format metadata can be exposed as read-only (VIRTUAL) columns in a table definition. <table class="colwidths-auto docutils"> - <thead> - <tr> - <th class="text-left" style="width: 15%">Key</th> - <th class="text-left" style="width: 30%">DataType</th> - <th class="text-left" style="width: 55%">Description</th> - </tr> - </thead> - <tbody> - <tr> - <td>tenant_name</td> - <td>STRING</td> - <td>Name of the tenant that contains the row.</td> - </tr> - <tr> - <td>database_name</td> - <td>STRING</td> - <td>Name of the database that contains the row.</td> - </tr> - <tr> - <td>schema_name</td> - <td>STRING</td> - <td>Name of the schema that contains the row.</td> - </tr> - <tr> - <td>table_name</td> - <td>STRING NOT NULL</td> - <td>Name of the table that contains the row.</td> - </tr> - <tr> - <td>op_ts</td> - <td>TIMESTAMP_LTZ(3) NOT NULL</td> - <td>It indicates the time that the change was made in the database. <br> - If the record is read from snapshot of the table instead of the change stream, the value is always 0.</td> - </tr> - </tbody> + <thead> + <tr> + <th class="text-left" style="width: 15%">Key</th> + <th class="text-left" style="width: 30%">DataType</th> + <th class="text-left" style="width: 55%">Description</th> + </tr> + </thead> + <tbody> + <tr> + <td>table_name</td> + <td>STRING NOT NULL</td> + <td>Name of the table that contain the row.</td> + </tr> + <tr> + <td>database_name</td> + <td>STRING NOT NULL</td> + <td>Name of the database that contain the row.</td> + </tr> + <tr> + <td>op_ts</td> + <td>TIMESTAMP_LTZ(3) NOT NULL</td> + <td>It indicates the time that the change was made in the database. <br>If the record is read from snapshot of the table instead of the binlog, the value is always 0.</td> + </tr> + <tr> + <td>row_kind</td> + <td>STRING NOT NULL</td> + <td>It indicates the row kind of the changelog,Note: The downstream SQL operator may fail to compare due to this new added column when processing the row retraction if +the source operator chooses to output the 'row_kind' column for each record. It is recommended to use this metadata column only in simple synchronization jobs. +<br>'+I' means INSERT message, '-D' means DELETE message, '-U' means UPDATE_BEFORE message and '+U' means UPDATE_AFTER message.</td> Review Comment: This is copied from the mysql-cdc document. It is best to keep it consistent. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
