Skip to content

feat: add JSON lines, Arrow IPC stream, and Parquet output formats - #26

Open
esadek wants to merge 1 commit into
mainfrom
output-formats
Open

feat: add JSON lines, Arrow IPC stream, and Parquet output formats#26
esadek wants to merge 1 commit into
mainfrom
output-formats

Conversation

@esadek

@esadek esadek commented Jul 14, 2026

Copy link
Copy Markdown
Collaborator

Closes #5
Closes #12

@esadek
esadek requested a review from ianmcook August 5, 2026 23:56
Comment thread docs/reference.md
| `.json` | JSON |
| `.jsonl` | JSON lines |
| `.csv` | CSV |
| `.arrow`, `.ipc`| Arrow IPC (file) |

@ianmcook ianmcook Aug 6, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The naming conventions of the Rust library might have you believing otherwise, but unmodified "Arrow IPC" does not imply the file format, so I'd recommend dropping the parens here

Suggested change
| `.arrow`, `.ipc`| Arrow IPC (file) |
| `.arrow`, `.ipc`| Arrow IPC file |

Comment thread docs/tutorial.md
```

Instead of printing query results to stdout, the [`--output` argument](/reference/#-output) can be used to write results to JSON, CSV, or Arrow IPC files:
Instead of printing query results to stdout, the [`--output` argument](/reference/#-output) can be used to write results to JSON, JSON lines, CSV, Arrow IPC, Arrow IPC stream, or Parquet files:

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Instead of printing query results to stdout, the [`--output` argument](/reference/#-output) can be used to write results to JSON, JSON lines, CSV, Arrow IPC, Arrow IPC stream, or Parquet files:
Instead of printing query results to stdout, the [`--output` argument](/reference/#-output) can be used to write results to JSON, JSON lines, CSV, Arrow IPC file, Arrow IPC stream, or Parquet files:

Comment thread README.md
- **Syntax highlighting** - SQL queries highlighted for improved readability
- **Formatted output** - Results displayed in clean, aligned tables with dynamic column width
- **File export** - Export query results to JSON, CSV, or Arrow IPC files
- **File export** - Export query results to JSON, JSON lines, CSV, Arrow IPC, Arrow IPC stream, or Parquet files

@ianmcook ianmcook Aug 6, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- **File export** - Export query results to JSON, JSON lines, CSV, Arrow IPC, Arrow IPC stream, or Parquet files
- **File export** - Export query results to JSON, JSON lines, CSV, Arrow IPC, or Parquet files

Comment thread docs/index.md
- **Syntax highlighting** - SQL queries highlighted for improved readability
- **Formatted output** - Results displayed in clean, aligned tables with dynamic column width
- **File export** - Export query results to JSON, CSV, or Arrow IPC files
- **File export** - Export query results to JSON, JSON lines, CSV, Arrow IPC, Arrow IPC stream, or Parquet files

@ianmcook ianmcook Aug 6, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's OK to be less pedantic about IPC stream vs. IPC file here and in the README

Suggested change
- **File export** - Export query results to JSON, JSON lines, CSV, Arrow IPC, Arrow IPC stream, or Parquet files
- **File export** - Export query results to JSON, JSON lines, CSV, Arrow IPC, or Parquet files

@ianmcook

ianmcook commented Aug 6, 2026

Copy link
Copy Markdown
Member

If there's an unrecognized file extension, databow connects to the database before erroring. Is it possible to error earlier?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support JSONL output Write files with extension .arrows in Arrow IPC stream format

2 participants