You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by "e-mhui (via GitHub)" <gi...@apache.org> on 2023/06/27 11:23:44 UTC

[GitHub] [inlong-website] e-mhui opened a new pull request, #788: [INLONG-784][Doc][Hive] Describe tables using MarkDown

e-mhui opened a new pull request, #788:
URL: https://github.com/apache/inlong-website/pull/788

   ### Prepare a Pull Request
   *(Change the title refer to the following example)*
   
   - Title Example: [INLONG-XYZ][Component] Title of the pull request
   
   *(The following *XYZ* should be replaced by the actual [GitHub Issue](https://github.com/apache/inlong/issues) number)*
   
   - Fixes #784
   
   ### Motivation
   
   *Explain here the context, and why you're making that change. What is the problem you're trying to solve.*
   
   ### Modifications
   
   *Describe the modifications you've done.*
   
   ### Verifying this change
   
   - [ ] Make sure that the change passes the CI checks.
   
   *(Please pick either of the following options)*
   
   This change is a trivial rework / code cleanup without any test coverage.
   
   *(or)*
   
   This change is already covered by existing tests, such as *(please describe tests)*.
   
   *(or)*
   
   This change added tests and can be verified as follows:
   
   *(example:)*
     - *Added integration tests for end-to-end deployment with large payloads (10MB)*
     - *Extended integration test for recovery after broker failure*
   
   ### Documentation
   
     - Does this pull request introduce a new feature? (yes / no)
     - If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)
     - If a feature is not applicable for documentation, explain why?
     - If a feature is not documented yet in this PR, please create a followup issue for adding the documentation
   


-- 
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: commits-unsubscribe@inlong.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [inlong-website] yunqingmoswu commented on a diff in pull request #788: [INLONG-784][Doc][Hive] Describe tables using MarkDown

Posted by "yunqingmoswu (via GitHub)" <gi...@apache.org>.
yunqingmoswu commented on code in PR #788:
URL: https://github.com/apache/inlong-website/pull/788#discussion_r1244631037


##########
i18n/zh-CN/docusaurus-plugin-content-docs/current/data_node/load_node/hive.md:
##########
@@ -61,160 +61,35 @@ CREATE TABLE hiveTableName (
 TODO: 未来版本支持
 
 ## Hive 加载节点参数信息
-<table class="table table-bordered">
-    <thead>
-      <tr>
-              <th class="text-left" style={{width: '10%'}}>参数</th>
-              <th class="text-left" style={{width: '8%'}}>是否必须</th>
-              <th class="text-left" style={{width: '7%'}}>默认值</th>
-              <th class="text-left" style={{width: '10%'}}>数据类型</th>
-              <th class="text-left" style={{width: '65%'}}>描述</th>
-      </tr>
-    </thead>
-    <tbody>
-    <tr>
-        <td><h5>connector</h5></td>
-        <td>必须</td>
-        <td style={{wordWrap: 'break-word'}}>(none)</td>
-        <td>String</td>
-        <td>指定使用什么连接器,这里应该是  'hive'。</td>
-    </tr>
-    <tr>
-      <td><h5>default-database</h5></td>
-      <td>必须</td>
-      <td style={{wordWrap: 'break-word'}}>(none)</td>
-      <td>String</td>
-      <td>指定数据库名称。</td>
-    </tr>
-    <tr>
-      <td><h5>hive-conf-dir</h5></td>
-      <td>必须</td>
-      <td style={{wordWrap: 'break-word'}}>(none)</td>
-      <td>String</td>
-      <td>本地构建项目可以将hive-site.xml构建到 classpath 中,未来 Dashboard 将支持本地上传能力。
-      目前通用方式只支持配置已经上传文件后的 HDFS 路径。</td>
-    </tr>
-    <tr>
-      <td><h5>sink.partition-commit.trigger</h5></td>
-      <td>可选</td>
-      <td style={{wordWrap: 'break-word'}}>(none)</td>
-      <td>String</td>
-      <td>如果表是分区表,可以配置触发模式。如:(process-time)</td>
-    </tr>
-    <tr>
-      <td><h5>partition.time-extractor.timestamp-pattern</h5></td>
-      <td>可选</td>
-      <td style={{wordWrap: 'break-word'}}>(none)</td>
-      <td>String</td>
-      <td>如果表是分区表,可以配置时间戳。如:(yyyy-MM-dd)</td>
-    </tr>
-    <tr>
-      <td><h5>sink.partition-commit.delay</h5></td>
-      <td>可选</td>
-      <td style={{wordWrap: 'break-word'}}>(none)</td>
-      <td>String</td>
-      <td>如果表是分区表,可以配置延迟时间。如:(10s,20s,1m...)</td>
-    </tr>
-    <tr>
-      <td><h5>sink.partition-commit.policy.kind</h5></td>
-      <td>可选</td>
-      <td style={{wordWrap: 'break-word'}}>(none)</td>
-      <td>String</td>
-      <td>分区提交策略通知下游某个分区已经写完毕可以被读取了。 
-      metastore:向 metadata 增加分区。仅 hive 支持 metastore 策略,文件系统通过目录结构管理分区; 
-      success-file:在目录中增加 '_success' 文件; 
-      上述两个策略可以同时指定:'metastore,success-file'。 
-      custom:通过指定的类来创建提交策略, 
-      支持同时指定多个提交策略:'metastore,success-file'。</td>
-    </tr>
-    <tr>
-      <td>inlong.metric.labels</td>
-      <td>可选</td>
-      <td style={{wordWrap: 'break-word'}}>(none)</td>
-      <td>String</td>
-      <td>inlong metric 的标签值,该值的构成为groupId=[groupId]&streamId=[streamId]&nodeId=[nodeId]。</td> 
-     </tr>
-    </tbody>
-</table>
+
+| 参数  | 是否必须 | 默认值 | 数据类型 | 描述  |
+| --- | --- | --- | --- | --- |
+|  connector | 必须  | (none) | String | 指定使用什么连接器,这里应该是 'hive'。 |
+|  default-database | 必须  | (none) | String | 指定数据库名称。 |
+|  hive-conf-dir | 必须  | (none) | String | 本地构建项目可以将hive-site.xml构建到 classpath 中,未来 Dashboard 将支持本地上传能力。 目前通用方式只支持配置已经上传文件后的 HDFS 路径。 |
+|  sink.partition-commit.trigger | 可选  | (none) | String | 如果表是分区表,可以配置触发模式。如:(process-time) |
+|  partition.time-extractor.timestamp-pattern | 可选  | (none) | String | 如果表是分区表,可以配置时间戳。如:(yyyy-MM-dd) |
+|  sink.partition-commit.delay | 可选  | (none) | String | 如果表是分区表,可以配置延迟时间。如:(10s,20s,1m...) |
+|  sink.partition-commit.policy.kind | 可选  | (none) | String | 分区提交策略通知下游某个分区已经写完毕可以被读取了。 metastore:向 metadata 增加分区。仅 hive 支持 metastore 策略,文件系统通过目录结构管理分区; success-file:在目录中增加 '_success' 文件; 上述两个策略可以同时指定:'metastore,success-file'。 custom:通过指定的类来创建提交策略, 支持同时指定多个提交策略:'metastore,success-file'。 |
+| inlong.metric.labels | 可选  | (none) | String | inlong metric 的标签值,该值的构成为groupId=[groupId]&streamId=[streamId]&nodeId=[nodeId]。 |

Review Comment:
   Add a space for `groupId=...` between chinese words.



##########
i18n/zh-CN/docusaurus-plugin-content-docs/current/data_node/load_node/hive.md:
##########
@@ -61,160 +61,35 @@ CREATE TABLE hiveTableName (
 TODO: 未来版本支持
 
 ## Hive 加载节点参数信息
-<table class="table table-bordered">
-    <thead>
-      <tr>
-              <th class="text-left" style={{width: '10%'}}>参数</th>
-              <th class="text-left" style={{width: '8%'}}>是否必须</th>
-              <th class="text-left" style={{width: '7%'}}>默认值</th>
-              <th class="text-left" style={{width: '10%'}}>数据类型</th>
-              <th class="text-left" style={{width: '65%'}}>描述</th>
-      </tr>
-    </thead>
-    <tbody>
-    <tr>
-        <td><h5>connector</h5></td>
-        <td>必须</td>
-        <td style={{wordWrap: 'break-word'}}>(none)</td>
-        <td>String</td>
-        <td>指定使用什么连接器,这里应该是  'hive'。</td>
-    </tr>
-    <tr>
-      <td><h5>default-database</h5></td>
-      <td>必须</td>
-      <td style={{wordWrap: 'break-word'}}>(none)</td>
-      <td>String</td>
-      <td>指定数据库名称。</td>
-    </tr>
-    <tr>
-      <td><h5>hive-conf-dir</h5></td>
-      <td>必须</td>
-      <td style={{wordWrap: 'break-word'}}>(none)</td>
-      <td>String</td>
-      <td>本地构建项目可以将hive-site.xml构建到 classpath 中,未来 Dashboard 将支持本地上传能力。
-      目前通用方式只支持配置已经上传文件后的 HDFS 路径。</td>
-    </tr>
-    <tr>
-      <td><h5>sink.partition-commit.trigger</h5></td>
-      <td>可选</td>
-      <td style={{wordWrap: 'break-word'}}>(none)</td>
-      <td>String</td>
-      <td>如果表是分区表,可以配置触发模式。如:(process-time)</td>
-    </tr>
-    <tr>
-      <td><h5>partition.time-extractor.timestamp-pattern</h5></td>
-      <td>可选</td>
-      <td style={{wordWrap: 'break-word'}}>(none)</td>
-      <td>String</td>
-      <td>如果表是分区表,可以配置时间戳。如:(yyyy-MM-dd)</td>
-    </tr>
-    <tr>
-      <td><h5>sink.partition-commit.delay</h5></td>
-      <td>可选</td>
-      <td style={{wordWrap: 'break-word'}}>(none)</td>
-      <td>String</td>
-      <td>如果表是分区表,可以配置延迟时间。如:(10s,20s,1m...)</td>
-    </tr>
-    <tr>
-      <td><h5>sink.partition-commit.policy.kind</h5></td>
-      <td>可选</td>
-      <td style={{wordWrap: 'break-word'}}>(none)</td>
-      <td>String</td>
-      <td>分区提交策略通知下游某个分区已经写完毕可以被读取了。 
-      metastore:向 metadata 增加分区。仅 hive 支持 metastore 策略,文件系统通过目录结构管理分区; 
-      success-file:在目录中增加 '_success' 文件; 
-      上述两个策略可以同时指定:'metastore,success-file'。 
-      custom:通过指定的类来创建提交策略, 
-      支持同时指定多个提交策略:'metastore,success-file'。</td>
-    </tr>
-    <tr>
-      <td>inlong.metric.labels</td>
-      <td>可选</td>
-      <td style={{wordWrap: 'break-word'}}>(none)</td>
-      <td>String</td>
-      <td>inlong metric 的标签值,该值的构成为groupId=[groupId]&streamId=[streamId]&nodeId=[nodeId]。</td> 
-     </tr>
-    </tbody>
-</table>
+
+| 参数  | 是否必须 | 默认值 | 数据类型 | 描述  |
+| --- | --- | --- | --- | --- |
+|  connector | 必须  | (none) | String | 指定使用什么连接器,这里应该是 'hive'。 |
+|  default-database | 必须  | (none) | String | 指定数据库名称。 |
+|  hive-conf-dir | 必须  | (none) | String | 本地构建项目可以将hive-site.xml构建到 classpath 中,未来 Dashboard 将支持本地上传能力。 目前通用方式只支持配置已经上传文件后的 HDFS 路径。 |

Review Comment:
   Add a space for `hive-site.xml` between chinese words.



-- 
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: commits-unsubscribe@inlong.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [inlong-website] dockerzhang merged pull request #788: [INLONG-784][Doc][Hive] Describe tables using MarkDown

Posted by "dockerzhang (via GitHub)" <gi...@apache.org>.
dockerzhang merged PR #788:
URL: https://github.com/apache/inlong-website/pull/788


-- 
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: commits-unsubscribe@inlong.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [inlong-website] e-mhui commented on a diff in pull request #788: [INLONG-784][Doc][Hive] Describe tables using MarkDown

Posted by "e-mhui (via GitHub)" <gi...@apache.org>.
e-mhui commented on code in PR #788:
URL: https://github.com/apache/inlong-website/pull/788#discussion_r1244677232


##########
i18n/zh-CN/docusaurus-plugin-content-docs/current/data_node/load_node/hive.md:
##########
@@ -61,160 +61,35 @@ CREATE TABLE hiveTableName (
 TODO: 未来版本支持
 
 ## Hive 加载节点参数信息
-<table class="table table-bordered">
-    <thead>
-      <tr>
-              <th class="text-left" style={{width: '10%'}}>参数</th>
-              <th class="text-left" style={{width: '8%'}}>是否必须</th>
-              <th class="text-left" style={{width: '7%'}}>默认值</th>
-              <th class="text-left" style={{width: '10%'}}>数据类型</th>
-              <th class="text-left" style={{width: '65%'}}>描述</th>
-      </tr>
-    </thead>
-    <tbody>
-    <tr>
-        <td><h5>connector</h5></td>
-        <td>必须</td>
-        <td style={{wordWrap: 'break-word'}}>(none)</td>
-        <td>String</td>
-        <td>指定使用什么连接器,这里应该是  'hive'。</td>
-    </tr>
-    <tr>
-      <td><h5>default-database</h5></td>
-      <td>必须</td>
-      <td style={{wordWrap: 'break-word'}}>(none)</td>
-      <td>String</td>
-      <td>指定数据库名称。</td>
-    </tr>
-    <tr>
-      <td><h5>hive-conf-dir</h5></td>
-      <td>必须</td>
-      <td style={{wordWrap: 'break-word'}}>(none)</td>
-      <td>String</td>
-      <td>本地构建项目可以将hive-site.xml构建到 classpath 中,未来 Dashboard 将支持本地上传能力。
-      目前通用方式只支持配置已经上传文件后的 HDFS 路径。</td>
-    </tr>
-    <tr>
-      <td><h5>sink.partition-commit.trigger</h5></td>
-      <td>可选</td>
-      <td style={{wordWrap: 'break-word'}}>(none)</td>
-      <td>String</td>
-      <td>如果表是分区表,可以配置触发模式。如:(process-time)</td>
-    </tr>
-    <tr>
-      <td><h5>partition.time-extractor.timestamp-pattern</h5></td>
-      <td>可选</td>
-      <td style={{wordWrap: 'break-word'}}>(none)</td>
-      <td>String</td>
-      <td>如果表是分区表,可以配置时间戳。如:(yyyy-MM-dd)</td>
-    </tr>
-    <tr>
-      <td><h5>sink.partition-commit.delay</h5></td>
-      <td>可选</td>
-      <td style={{wordWrap: 'break-word'}}>(none)</td>
-      <td>String</td>
-      <td>如果表是分区表,可以配置延迟时间。如:(10s,20s,1m...)</td>
-    </tr>
-    <tr>
-      <td><h5>sink.partition-commit.policy.kind</h5></td>
-      <td>可选</td>
-      <td style={{wordWrap: 'break-word'}}>(none)</td>
-      <td>String</td>
-      <td>分区提交策略通知下游某个分区已经写完毕可以被读取了。 
-      metastore:向 metadata 增加分区。仅 hive 支持 metastore 策略,文件系统通过目录结构管理分区; 
-      success-file:在目录中增加 '_success' 文件; 
-      上述两个策略可以同时指定:'metastore,success-file'。 
-      custom:通过指定的类来创建提交策略, 
-      支持同时指定多个提交策略:'metastore,success-file'。</td>
-    </tr>
-    <tr>
-      <td>inlong.metric.labels</td>
-      <td>可选</td>
-      <td style={{wordWrap: 'break-word'}}>(none)</td>
-      <td>String</td>
-      <td>inlong metric 的标签值,该值的构成为groupId=[groupId]&streamId=[streamId]&nodeId=[nodeId]。</td> 
-     </tr>
-    </tbody>
-</table>
+
+| 参数  | 是否必须 | 默认值 | 数据类型 | 描述  |
+| --- | --- | --- | --- | --- |
+|  connector | 必须  | (none) | String | 指定使用什么连接器,这里应该是 'hive'。 |
+|  default-database | 必须  | (none) | String | 指定数据库名称。 |
+|  hive-conf-dir | 必须  | (none) | String | 本地构建项目可以将hive-site.xml构建到 classpath 中,未来 Dashboard 将支持本地上传能力。 目前通用方式只支持配置已经上传文件后的 HDFS 路径。 |

Review Comment:
   Done.



##########
i18n/zh-CN/docusaurus-plugin-content-docs/current/data_node/load_node/hive.md:
##########
@@ -61,160 +61,35 @@ CREATE TABLE hiveTableName (
 TODO: 未来版本支持
 
 ## Hive 加载节点参数信息
-<table class="table table-bordered">
-    <thead>
-      <tr>
-              <th class="text-left" style={{width: '10%'}}>参数</th>
-              <th class="text-left" style={{width: '8%'}}>是否必须</th>
-              <th class="text-left" style={{width: '7%'}}>默认值</th>
-              <th class="text-left" style={{width: '10%'}}>数据类型</th>
-              <th class="text-left" style={{width: '65%'}}>描述</th>
-      </tr>
-    </thead>
-    <tbody>
-    <tr>
-        <td><h5>connector</h5></td>
-        <td>必须</td>
-        <td style={{wordWrap: 'break-word'}}>(none)</td>
-        <td>String</td>
-        <td>指定使用什么连接器,这里应该是  'hive'。</td>
-    </tr>
-    <tr>
-      <td><h5>default-database</h5></td>
-      <td>必须</td>
-      <td style={{wordWrap: 'break-word'}}>(none)</td>
-      <td>String</td>
-      <td>指定数据库名称。</td>
-    </tr>
-    <tr>
-      <td><h5>hive-conf-dir</h5></td>
-      <td>必须</td>
-      <td style={{wordWrap: 'break-word'}}>(none)</td>
-      <td>String</td>
-      <td>本地构建项目可以将hive-site.xml构建到 classpath 中,未来 Dashboard 将支持本地上传能力。
-      目前通用方式只支持配置已经上传文件后的 HDFS 路径。</td>
-    </tr>
-    <tr>
-      <td><h5>sink.partition-commit.trigger</h5></td>
-      <td>可选</td>
-      <td style={{wordWrap: 'break-word'}}>(none)</td>
-      <td>String</td>
-      <td>如果表是分区表,可以配置触发模式。如:(process-time)</td>
-    </tr>
-    <tr>
-      <td><h5>partition.time-extractor.timestamp-pattern</h5></td>
-      <td>可选</td>
-      <td style={{wordWrap: 'break-word'}}>(none)</td>
-      <td>String</td>
-      <td>如果表是分区表,可以配置时间戳。如:(yyyy-MM-dd)</td>
-    </tr>
-    <tr>
-      <td><h5>sink.partition-commit.delay</h5></td>
-      <td>可选</td>
-      <td style={{wordWrap: 'break-word'}}>(none)</td>
-      <td>String</td>
-      <td>如果表是分区表,可以配置延迟时间。如:(10s,20s,1m...)</td>
-    </tr>
-    <tr>
-      <td><h5>sink.partition-commit.policy.kind</h5></td>
-      <td>可选</td>
-      <td style={{wordWrap: 'break-word'}}>(none)</td>
-      <td>String</td>
-      <td>分区提交策略通知下游某个分区已经写完毕可以被读取了。 
-      metastore:向 metadata 增加分区。仅 hive 支持 metastore 策略,文件系统通过目录结构管理分区; 
-      success-file:在目录中增加 '_success' 文件; 
-      上述两个策略可以同时指定:'metastore,success-file'。 
-      custom:通过指定的类来创建提交策略, 
-      支持同时指定多个提交策略:'metastore,success-file'。</td>
-    </tr>
-    <tr>
-      <td>inlong.metric.labels</td>
-      <td>可选</td>
-      <td style={{wordWrap: 'break-word'}}>(none)</td>
-      <td>String</td>
-      <td>inlong metric 的标签值,该值的构成为groupId=[groupId]&streamId=[streamId]&nodeId=[nodeId]。</td> 
-     </tr>
-    </tbody>
-</table>
+
+| 参数  | 是否必须 | 默认值 | 数据类型 | 描述  |
+| --- | --- | --- | --- | --- |
+|  connector | 必须  | (none) | String | 指定使用什么连接器,这里应该是 'hive'。 |
+|  default-database | 必须  | (none) | String | 指定数据库名称。 |
+|  hive-conf-dir | 必须  | (none) | String | 本地构建项目可以将hive-site.xml构建到 classpath 中,未来 Dashboard 将支持本地上传能力。 目前通用方式只支持配置已经上传文件后的 HDFS 路径。 |
+|  sink.partition-commit.trigger | 可选  | (none) | String | 如果表是分区表,可以配置触发模式。如:(process-time) |
+|  partition.time-extractor.timestamp-pattern | 可选  | (none) | String | 如果表是分区表,可以配置时间戳。如:(yyyy-MM-dd) |
+|  sink.partition-commit.delay | 可选  | (none) | String | 如果表是分区表,可以配置延迟时间。如:(10s,20s,1m...) |
+|  sink.partition-commit.policy.kind | 可选  | (none) | String | 分区提交策略通知下游某个分区已经写完毕可以被读取了。 metastore:向 metadata 增加分区。仅 hive 支持 metastore 策略,文件系统通过目录结构管理分区; success-file:在目录中增加 '_success' 文件; 上述两个策略可以同时指定:'metastore,success-file'。 custom:通过指定的类来创建提交策略, 支持同时指定多个提交策略:'metastore,success-file'。 |
+| inlong.metric.labels | 可选  | (none) | String | inlong metric 的标签值,该值的构成为groupId=[groupId]&streamId=[streamId]&nodeId=[nodeId]。 |

Review Comment:
   Done.



-- 
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: commits-unsubscribe@inlong.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org