q icon indicating copy to clipboard operation
q copied to clipboard

Feature request: REPL

Open yahelc opened this issue 9 years ago • 3 comments

First off, thanks for creating q. It's wonderful.

One thing that seems like it would be really useful is if there was a REPL that allowed you to pass the SQL directly, and not just as a quoted argument to the program:

e.g:

$  q
q version 1.5.0
Copyright (C) 2012-2014 Harel Ben-Attia ([email protected], @harelba on twitter)
http://harelba.github.io/q/

> SELECT count(*) FROM ./file.csv

yahelc avatar Apr 25 '15 23:04 yahelc

Thanks a lot! I'm glad you find q useful.

I've already started working on a REPL, and it will come out in the next version of q.

Part of its features is that it will be able to reuse already-loaded data, so multiple queries on the same data would be immediate. The underlying API for supporting that has already been implemented in version 1.5.0.

Any additional input would be most welcome, Harel

harelba avatar Apr 26 '15 04:04 harelba

Any update on this? :-) I'd love such a feature.

guludo avatar Sep 13 '18 13:09 guludo

no update unfortunately, i'll see if i can squeeze it in and package a new version

harelba avatar Sep 18 '18 07:09 harelba