apache / apache/doris-website

Issue on docs: Guides Data>Table Design>Data Types

Open
#2,442 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
MDX
Stars
133
Forks
464
Avg merge
1d 1h
Merged PRs (30d)
50

Description

Path:/zh-CN/docs/table-design/data-type
Version: 2.1
Language: 中文, Enginsh

DATE/DATETIME 'Storeage (bytes)' was wrong.

correct:

DATE: 3 bytes(24bit)
DATETIME: 8bytes(64bit)

refer: https://github.com/apache/doris/blob/33df5ba180f25af140b332f491958c0c7a77337a/be/src/runtime/primitive_type.h#L186

Contributor guide

No contributing guide indexed for this repository

Research direction

Open zh-CN/docs/table-design/data-type and review the DATE and DATETIME storage entries against the referenced primitive_type.h line. Done means the page lists DATE as 3 bytes (24 bit) and DATETIME as 8 bytes (64 bit) in the relevant language versions.

Written by the indexing model from the issue text.

Assessment

Domain
databases, documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.