8000 Spaces in a dataframe column names breaks the line protocol · Issue #583 · influxdata/influxdb-python · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Oct 29, 2024. It is now read-only.
This repository was archived by the owner on Oct 29, 2024. It is now read-only.
Spaces in a dataframe column names breaks the line protocol #583
Closed
@dmuiruri

Description

@dmuiruri

An issue has been observed where a received dataframe contains un-escaped spaces in the column names (fields or tag keys), this results in a broken line protocol.

To reproduce:

data = pd.DataFrame(np.random.random((10, 4)), columns=['a', 'b', 'First Entry', 'Second Entry'], index=pd.date_range(start='01/01/2000', periods=10))
client = DataFrameClient(database_name)
client.write_points(data, 'sample', protocol=line)

Other solved issues related to this one: #520 #542

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

      0