Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docs](dbt)add dbt doc example #1403

Closed
wants to merge 2 commits into from

Conversation

catpineapple
Copy link
Contributor

@catpineapple catpineapple commented Nov 25, 2024

Versions

  • dev
  • 3.0
  • 2.1
  • 2.0

Languages

  • Chinese
  • English

@KassieZ
Copy link
Contributor

KassieZ commented Nov 28, 2024

image 此处元素不建议使用代码块

另外文档中 英文字母大小写不统一,如 CSV , 请确认


1. view

2. table

3. incremental

**View**
**View**

使用`view`作为物化模式,在 Models 每次运行时都会通过 create view as 语句重新构建为视图。(默认情况下,dbt 的物化方式为 view)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

语句建议加行内代码

@@ -88,7 +88,7 @@ dbt-doris Materialization support three:
2. table
3. incremental

#### View
#### View

Using `view` as the materialization, Models will be rebuilt as views each time they are run through the create view as statement. (By default, the materialization method of dbt is view)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

models will be rebuilt, model should be lowercase

@@ -236,7 +236,7 @@ The details of the above configuration items are as follows:

[`seed`](https://docs.getdbt.com/faqs/seeds/build-one-seed) is a functional module used to load data files such as csv. It is a way to load files into the library and participate in model building, but there are the following precautions:
1. Seeds should not be used to load raw data (for example, large CSV exports from a production database).
2. Since seeds are version controlled, they are best suited to files that contain business-specific logic, for example a list of country codes or user IDs of employees.
2. Since seeds are version controlled, they are best suited to files that contain business-specific logic, for example a list of country codes or user IDs of employees.
3. Loading CSVs using dbt's seed functionality is not performant for large files. Consider using `streamload` to load these CSVs into doris.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CSV(Comma-Separated Values). It is common to use "CSV files" or "CSV format" to refer to this file format instead of "CSVs".

@KassieZ KassieZ added request review has comments Some comments not resolved yet labels Nov 28, 2024
@KassieZ
Copy link
Contributor

KassieZ commented Nov 28, 2024

request review @wangtianyi2004

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
has comments Some comments not resolved yet request review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants