You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
My task requires outputting a part of a dataset as JSON and currently I use qsv slice for this, however I need to convert the sliced data to a valid JSON format which is an extra step.
Describe the solution you'd like
A --json flag for qsv slice with the output formatted like sqlp's --format json flag. No need for pretty-printing the output (could be another flag).
Describe alternatives you've considered
Potentially combining commands or if sqlp has a way to slice data based on start and end row number. Though for my purposes a --json flag would likely be the easiest to work with.
The text was updated successfully, but these errors were encountered:
After tweaking it a bit, the implementation is much better now. The only thing it doesn't do is infer JSON types with everything as a JSON string, which for your use case, may not be required.
Is your feature request related to a problem? Please describe.
My task requires outputting a part of a dataset as JSON and currently I use
qsv slice
for this, however I need to convert the sliced data to a valid JSON format which is an extra step.Describe the solution you'd like
A
--json
flag forqsv slice
with the output formatted likesqlp
's--format json
flag. No need for pretty-printing the output (could be another flag).Describe alternatives you've considered
Potentially combining commands or if
sqlp
has a way to slice data based on start and end row number. Though for my purposes a--json
flag would likely be the easiest to work with.The text was updated successfully, but these errors were encountered: