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

add a new blog #54

Merged
merged 4 commits into from
Jun 14, 2018
Merged

add a new blog #54

merged 4 commits into from
Jun 14, 2018

Conversation

siyu-hu
Copy link
Contributor

@siyu-hu siyu-hu commented Jun 14, 2018

@xuechunL PTAL

tidb source code reading 10
Copy link
Contributor

@xuechunL xuechunL left a comment

Choose a reason for hiding this comment

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

Inline code has back-ticks around it.


Column 的实现参考了Apache Arrow,Column 的代码在 [这里](https://github.com/pingcap/tidb/blob/source-code/util/chunk/chunk.go#L320)。根据所存储的数据类型,我们有两种Column:

* 定长 Column:存储定长类型的数据,比如:Double、Bigint、Decimal 等
Copy link
Contributor

Choose a reason for hiding this comment

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

Using Double Bigint Decimal is better. @Husiyu


* 定长 Column:存储定长类型的数据,比如:Double、Bigint、Decimal 等

* 变长 Column:存储变长类型的数据,比如:Char、Varchar 等
Copy link
Contributor

Choose a reason for hiding this comment

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

Using Char Varchar is better.

@zz-jason
Copy link
Member

LGTM

1 similar comment
@xuechunL
Copy link
Contributor

LGTM

@xuechunL xuechunL merged commit 5040faf into master Jun 14, 2018
@siyu-hu siyu-hu deleted the siyu-source-code-reading-10 branch June 14, 2018 10:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants