Skip to content

DOCSUP-921 - #113

Merged
BayoNet merged 19 commits into
BayoNet:docs/CLICKHOUSEDOCS-573-data_type_familiesfrom
pewit-nk:pewit-DOCSUP-921
Jun 1, 2020
Merged

BayoNet merged 19 commits into
BayoNet:docs/CLICKHOUSEDOCS-573-data_type_familiesfrom
pewit-nk:pewit-DOCSUP-921

Conversation

@pewit-nk

Copy link
Copy Markdown

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en

Changelog category (leave one):

  • New Feature
  • Bug Fix
  • Improvement
  • Performance Improvement
  • Backward Incompatible Change
  • Build/Testing/Packaging Improvement
  • Documentation (changelog entry is not required)
  • Other
  • Non-significant (changelog entry is not required)

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):

...

Detailed description / Documentation draft:

...

By adding documentation, you'll allow users to try your new feature immediately, not when someone else will have time to document it later. Documentation is necessary for all features that affect user experience in any way. You can add brief documentation draft above, or add documentation right into your patch as Markdown files in docs folder.

If you are doing this for the first time, it's recommended to read the lightweight Contributing to ClickHouse Documentation guide first.

Comment thread docs/en/operations/system-tables.md Outdated
Each database that the server knows about has a corresponding entry in the table.
This system table is used for implementing the `SHOW DATABASES` query.

## system.data\_type-families {#system_tables-data_type_families}

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Suggested change
## system.data\_type-families {#system_tables-data_type_families}
## system.data_type_families {#system_tables-data_type_families}

Comment thread docs/en/operations/system-tables.md Outdated

## system.data\_type-families {#system_tables-data_type_families}

Contains information about properties of SQL data types.

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Suggested change
Contains information about properties of SQL data types.
Contains information about suported data types.

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Here must be a link to data types introduction.

Comment thread docs/en/operations/system-tables.md Outdated
Columns:

- `name` ([String](../sql-reference/data-types/string.md)) — Data type name.
- `case_insensitive` ([UInt8](../sql-reference/data-types/int-uint.md)) — Shows whether a data type is case sensetive.

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Suggested change
- `case_insensitive` ([UInt8](../sql-reference/data-types/int-uint.md)) — Shows whether a data type is case sensetive.
- `case_insensitive` ([UInt8](../sql-reference/data-types/int-uint.md)) — Property that shows whether you can use a data type name in a query in case insensitive manner or not. For example, `Date` and `date` are valid both.

Comment thread docs/en/operations/system-tables.md Outdated

- `name` ([String](../sql-reference/data-types/string.md)) — Data type name.
- `case_insensitive` ([UInt8](../sql-reference/data-types/int-uint.md)) — Shows whether a data type is case sensetive.
- `alias_to` ([String](../sql-reference/data-types/string.md)) — Equivalents to data types of C.

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Suggested change
- `alias_to` ([String](../sql-reference/data-types/string.md)) — Equivalents to data types of C.
- `alias_to` ([String](../sql-reference/data-types/string.md)) — Data type name for which `name` is an alias.

SELECT * FROM system.data_type_families
```

``` text

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Too long output. I'd use more interesting example SELECT * FROM system.data_type_families WHERE alias_to = 'String' with shorter output.

@BayoNet

BayoNet commented May 15, 2020

Copy link
Copy Markdown
Owner

Also, I didn't find links from another articles of docs. They certainly exist.

@BayoNet BayoNet closed this May 15, 2020
@BayoNet BayoNet reopened this May 15, 2020
Comment thread docs/en/sql-reference/syntax.md Outdated
- Implementation in some popular DBMS (MySQL or Postgres). For example, `DateTime` is the same as `datetime`.

Whether data type name is case-sensitive can be checked in the `system.data_type_families` table.
Whether data type name is case-sensitive can be checked in the [`system.data_type_families`](../operations/system-tables.md#system_tables-data_type_families) table.

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Suggested change
Whether data type name is case-sensitive can be checked in the [`system.data_type_families`](../operations/system-tables.md#system_tables-data_type_families) table.
Whether data type name is case-sensitive can be checked in the [system.data_type_families](../operations/system-tables.md#system_tables-data_type_families) table.

Comment thread docs/en/operations/system-tables.md Outdated

## system.data_type-families {#system_tables-data_type_families}

Contains information about supported ([data types](../sql-reference/data-types/)).

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Suggested change
Contains information about supported ([data types](../sql-reference/data-types/)).
Contains information about supported [data types](../sql-reference/data-types/index.md).

@BayoNet
BayoNet merged commit 01f2e9d into BayoNet:docs/CLICKHOUSEDOCS-573-data_type_families Jun 1, 2020
qoega pushed a commit that referenced this pull request Jun 2, 2020
* DOCSUP-921 (#113)

* add the description of data_type_families system table

* add related link, change output example, correct columns description

* fix typos add links

* add russian description of data_type_families system table

* fix links to data_type_families system table

Co-authored-by: Sergei Shtykov <[email protected]>

* CLICKHOUSEDOCS-573: system.data_type_families

* CLICKHOUSEDOCS-573: Corrected the wording.

Co-authored-by: pewit-nk <[email protected]>
Co-authored-by: Sergei Shtykov <[email protected]>
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.

2 participants