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

query non-local shard with time range #820

Closed
wants to merge 1 commit into from
Closed

query non-local shard with time range #820

wants to merge 1 commit into from

Conversation

code0x9
Copy link

@code0x9 code0x9 commented Aug 13, 2014

on delegating query to remote server, queryString needs to be querySpec.GetQueryStringWithTimeCondition()

sample data

[
   {
      "name": "hello",
      "columns": [
         "time",
         "value"
      ],
      "points": [
         [
            6000,
            10
         ],
         [
            5000,
            20
         ],
         [
            4000,
            30
         ],
         [
            3000,
            20
         ],
         [
            2000,
            10
         ],
         [
            1000,
            0
         ]
      ]
   }
]

query to local server

select * from hello where time>4s

server returns 3 points

query to non-local server

select * from hello where time>4s

server returns 6(all) points

@jvshahid jvshahid added this to the 0.8.0 milestone Aug 13, 2014
@jvshahid jvshahid closed this in db9e0d7 Aug 13, 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

Successfully merging this pull request may close these issues.

None yet

2 participants