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
Copy link
Contributor Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant