You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@paimon.apache.org by lz...@apache.org on 2025/03/19 07:37:40 UTC

(paimon) branch master updated: [cdc] Provide the document for computed columns with kafka_sync_database (#5314)

This is an automated email from the ASF dual-hosted git repository.

lzljs3620320 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/paimon.git


The following commit(s) were added to refs/heads/master by this push:
     new e5636b48c6 [cdc] Provide the document for computed columns with kafka_sync_database (#5314)
e5636b48c6 is described below

commit e5636b48c620d8d3dd7c265f74bd45fe328fb474
Author: JackeyLee007 <Ja...@126.com>
AuthorDate: Wed Mar 19 15:37:34 2025 +0800

    [cdc] Provide the document for computed columns with kafka_sync_database (#5314)
---
 docs/layouts/shortcodes/generated/kafka_sync_database.html | 4 ++++
 docs/layouts/shortcodes/generated/temporal_functions.html  | 4 ++++
 2 files changed, 8 insertions(+)

diff --git a/docs/layouts/shortcodes/generated/kafka_sync_database.html b/docs/layouts/shortcodes/generated/kafka_sync_database.html
index efba21b8d9..d24b7cf25a 100644
--- a/docs/layouts/shortcodes/generated/kafka_sync_database.html
+++ b/docs/layouts/shortcodes/generated/kafka_sync_database.html
@@ -90,6 +90,10 @@ under the License.
             </ul>
         </td>
     </tr>
+    <tr>
+        <td><h5>--computed_column</h5></td>
+        <td>The definitions of computed columns. The argument field is from Kafka topic's table field name. See <a href="../overview/#computed-functions">here</a> for a complete list of configurations. </td>
+    </tr>
     <tr>
         <td><h5>--eager_init</h5></td>
         <td>It is default false. If true, all relevant tables commiter will be initialized eagerly, which means those tables could be forced to create snapshot.</td>
diff --git a/docs/layouts/shortcodes/generated/temporal_functions.html b/docs/layouts/shortcodes/generated/temporal_functions.html
index d652a5a0ef..f62b4fe099 100644
--- a/docs/layouts/shortcodes/generated/temporal_functions.html
+++ b/docs/layouts/shortcodes/generated/temporal_functions.html
@@ -53,5 +53,9 @@ under the License.
         <td><h5>date_format(temporal-column, format-string [, precision])</h5></td>
         <td>Convert the input to desired formatted string. Output type is STRING.</td>
     </tr>
+    <tr>
+        <td><h5>now()</h5></td>
+        <td>Get the timestamp when ingesting the record. Output type is TIMESTAMP_LTZ(3).</td>
+    </tr>
     </tbody>
 </table>
\ No newline at end of file