Skip to content

The value of last column is always null. #772

Closed
@neuroid

Description

Hi,

I'm testing InfluxDB 0.8.0-rc.2 (installed using the provided deb package). I'm using the default config provided in the deb. I have run into the following issue:

I'm creating a single point in an empty series:

[
    {
        "columns": [
            "column1", 
            "column2"
        ], 
        "name": "events", 
        "points": [
            [
                "value1", 
                "value2"
            ]
        ]
    }
]

After performing a select * from events; query I get the following result:

[
    {
        "columns": [
            "time", 
            "sequence_number", 
            "column1", 
            "column2"
        ], 
        "name": "events", 
        "points": [
            [
                1405956386426, 
                1118560001, 
                "value1", 
                null
            ]
        ]
    }
]

After adding another point with a third column, I get the following result for the same query:

[
    {
        "columns": [
            "time", 
            "sequence_number", 
            "column1", 
            "column2", 
            "column3"
        ], 
        "name": "events", 
        "points": [
            [
                1405957172332, 
                1118350001, 
                "value1", 
                "value2", 
                null
            ], 
            [
                1405956446265, 
                1118340001, 
                "value1", 
                "value2", 
                null
            ]
        ]
    }
]

It seems that the values for the last column are always null. Is this a know issue? This was working fine in 0.7.

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