Comments (9)
How would you like the behaviour to be?. like how to exit and stuff.
from dsq.
Control-D to exit for now.
And have dsq >
be the prompt for each line
from dsq.
When you're in interactive mode the pretty flag should probably also be turned on automatically
from dsq.
How should the test be written?
from dsq.
Hmm I'm OK with there not being tests for just the interactive part for now.
from dsq.
Oh yeah I realize now you can't just wrap lines 469-503 in a loop. But you can pull them out into a runQuery helper and then call that helper within a repl loop if interactive mode is on
from dsq.
Okay on it
from dsq.
Are you comfortable with adding a dependency for reading the input.
I was able to implement basic REPL by using the built in bufio package but this doesnt support moving the cursor around with the arrow keys.
from dsq.
Yup, I mentioned a suggested dependency in the original message for this issue
from dsq.
Related Issues (20)
- Running dsq in interactive modes more than once on the same file results in an error
- quick aside and pointer to new benchmark
- `GLIBC_2.28' not foun on Ubuntu 16.04 HOT 1
- table "t_0" already exists on Windows 10 HOT 3
- Support CSV format output HOT 1
- Search multiple files HOT 1
- UserError Path enters non-object
- can't install dsp. HOT 1
- dsq failed to recognize nested field, if its parent object absents in some records HOT 3
- dsq --schema missing array in 11GB file HOT 2
- deprecated INT96 timestamp not supported for older Parquet files
- support csv files with no header HOT 1
- Can't run SQL on log files. HOT 5
- Excel sheet2 also show sheet1 data, not only sheet2 HOT 1
- add https://github.com/liquidaty/zsv to the benchmark comparison
- Issue with pretty print HOT 1
- dsq-win32-x64-v0.22.0.zip is virus infected ? HOT 1
- The result is wrong when I loading a JSON file with path specified
- Error querying empty json file
- panic: runtime error: index out of range [2] with length 2 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dsq.