Skip to content

tsbs_load_clickhouse: Import 100 devices but the tags table has 10,000 rows. #275

@cocobond

Description

@cocobond

Test steps:

./tsbs_generate_data --use-case="cpu-only"
--format="clickhouse"
--log-interval="10s"
--scale=100
--timestamp-start="2024-01-01T00:00:00Z"
--timestamp-end="2024-02-01T00:00:00Z"
--file="ck_cpu_data_100_devices.csv"

生成100devices的预备导入数据
Image

After the import is complete, the tags table has 10,000 device IDs, of which the first 9,900 rows are imported incorrectly, and only the last 100 are valid device IDs (referring to the corresponding tags_id in the cpu table)
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions