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

Pull queries to use same output table format as push #3643

Closed
big-andy-coates opened this issue Oct 22, 2019 · 1 comment
Closed

Pull queries to use same output table format as push #3643

big-andy-coates opened this issue Oct 22, 2019 · 1 comment

Comments

@big-andy-coates
Copy link
Contributor

Pull and push queries use different logic for handling headers. Would be good to combine.

Currently output looks like:

-- Push query:
SELECT * FROM FOO EMIT CHANGES;
+---------------+-------+-------+
|ROWTIME        |ROWKEY |COUNT  |
+---------------+-------+-------+
|1571769443063  |42     |1      |
|1571769543463  |42     |1      |

-- Pull query:
SELECT * FROM FOO WHERE ROWKEY='42';
 ROWKEY STRING KEY | COUNT BIGINT 
 42                | 2   

The output from push queries is much nicer - lets go with that.

cc. @agavra who might fancy picking this up ;)

@big-andy-coates big-andy-coates mentioned this issue Oct 22, 2019
27 tasks
@big-andy-coates big-andy-coates added this to To do in Pull Queries via automation Oct 25, 2019
@big-andy-coates
Copy link
Contributor Author

This has been resolved by moving pull queries to the /query endpint

Pull Queries automation moved this from To do to Done Nov 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Pull Queries
  
Done
Development

No branches or pull requests

1 participant