Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge fails with different timestamps #602

Closed
mastor opened this issue May 30, 2014 · 0 comments
Closed

Merge fails with different timestamps #602

mastor opened this issue May 30, 2014 · 0 comments
Milestone

Comments

@mastor
Copy link

mastor commented May 30, 2014

Hi, I just noticed a problem with the merging of two series with different timestamps (maybe an issue due to the shards?)

This is the data:

[
  {
    "name": "test_merge_1",
    "columns": ["time", "value"],
    "points": [
      [315532800000, "a value"]
    ]
  },
  {
    "name": "test_merge_2",
    "columns": ["time", "value"],
    "points": [
      [1401321600000, "another value"]
    ]
  }
]

The select:

select * from /test_merge_*/

returns:

[
   {
      "name":"test_merge_2",
      "columns":[
         "time",
         "sequence_number",
         "value"
      ],
      "points":[
         [
            1401321600000,
            10001,
            "another value"
         ]
      ]
   },
   {
      "name":"test_merge_1",
      "columns":[
         "time",
         "sequence_number",
         "value"
      ],
      "points":[
         [
            315532800000,
            10001,
            "a value"
         ]
      ]
   }
]

While the select:

select * from test_merge_1 merge test_merge_2

returns:

[]
@jvshahid jvshahid added this to the Next release milestone May 30, 2014
@jvshahid jvshahid modified the milestones: 0.7.2, Next release May 30, 2014
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

No branches or pull requests

2 participants