Export & Import
PondPilot supports exporting query results in multiple formats and importing SQL scripts from files.
Exporting Query Results
Section titled “Exporting Query Results”After running a query, export your results:
- Click the Export button in the results panel
- Select your desired format
- Configure format-specific options
- Click Export to download
Export Formats
Section titled “Export Formats”Comma-separated values for spreadsheet compatibility.
| Option | Description |
|---|---|
| Delimiter | Character separating values (, ; \t) |
| Include header | Add column names as first row |
name,age,cityAlice,30,New YorkBob,25,Los AngelesTab-separated values.
| Option | Description |
|---|---|
| Delimiter | Tab character (default) |
| Include header | Add column names as first row |
Excel (XLSX)
Section titled “Excel (XLSX)”Microsoft Excel spreadsheet format.
| Option | Description |
|---|---|
| Sheet name | Name of the worksheet |
| Include header | Add column names as first row |
Features:
- Proper data type formatting
- Auto-sized columns
- Excel-compatible dates and numbers
JSON array of objects.
[ {"name": "Alice", "age": 30, "city": "New York"}, {"name": "Bob", "age": 25, "city": "Los Angeles"}]| Option | Description |
|---|---|
| Pretty print | Formatted with indentation |
| Include nulls | Include null values in output |
Parquet
Section titled “Parquet”Apache Parquet columnar format.
Best for:
- Large datasets
- Preserving data types
- Interoperability with data tools
SQL INSERT statements.
| Option | Description |
|---|---|
| Table name | Name for CREATE TABLE |
| Include CREATE TABLE | Add table definition |
| Include data types | Type hints in INSERTs |
CREATE TABLE exported_data ( name VARCHAR, age INTEGER, city VARCHAR);
INSERT INTO exported_data VALUES ('Alice', 30, 'New York');INSERT INTO exported_data VALUES ('Bob', 25, 'Los Angeles');XML document format.
| Option | Description |
|---|---|
| Root element | Name of root element |
| Row element | Name of each row element |
<?xml version="1.0" encoding="UTF-8"?><data> <row> <name>Alice</name> <age>30</age> <city>New York</city> </row> <row> <name>Bob</name> <age>25</age> <city>Los Angeles</city> </row></data>Markdown
Section titled “Markdown”Markdown table format.
| Option | Description |
|---|---|
| GitHub-flavored | Use GFM table syntax |
| Column alignment | Left, center, or right |
| name | age | city ||-------|-----|-------------|| Alice | 30 | New York || Bob | 25 | Los Angeles |Large Dataset Export
Section titled “Large Dataset Export”For datasets over 1,000,000 rows, PondPilot shows a warning:
- Export may take significant time
- Consider filtering data first
- Browser may become unresponsive
Bulk Export
Section titled “Bulk Export”Export all your saved queries as a ZIP archive:
- Open Settings (Ctrl+K → Settings)
- Navigate to Saved Data
- Click Export All Queries
- Download the ZIP file
The archive contains:
- All SQL scripts as
.sqlfiles - Organized by script name
- UTF-8 encoded
Importing SQL Scripts
Section titled “Importing SQL Scripts”Import existing SQL files into PondPilot:
Method 1: Keyboard Shortcut
Section titled “Method 1: Keyboard Shortcut”- Press Ctrl+I (or ⌘+I on Mac)
- Select one or more
.sqlfiles - Each file opens as a new script tab
Method 2: Spotlight
Section titled “Method 2: Spotlight”- Press Ctrl+K to open Spotlight
- Search for “Import SQL”
- Select files to import
Method 3: Drag and Drop
Section titled “Method 3: Drag and Drop”- Drag
.sqlfiles into PondPilot - Files open as new script tabs
Copy to Clipboard
Section titled “Copy to Clipboard”Quickly copy results without downloading:
- Select cells in the results table
- Press Ctrl+C (or ⌘+C)
- Paste into any application
Or copy the entire result:
- Click Copy button in results panel
- Choose format (CSV, JSON, etc.)
- Paste anywhere
Export History
Section titled “Export History”PondPilot remembers your export preferences:
- Last used format
- Format-specific options
- These persist across sessions
Using Exports with DuckDB
Section titled “Using Exports with DuckDB”Export Parquet files for use with other DuckDB tools:
-- In PondPilot: export to Parquet
-- In another tool:SELECT * FROM 'exported_data.parquet';Troubleshooting
Section titled “Troubleshooting””Export failed”
Section titled “”Export failed””- Check available disk space
- Try a smaller dataset
- Use a different format
”File too large”
Section titled “”File too large””- Add filters to reduce data
- Export in chunks
- Use Parquet for compression
”Excel can’t open file”
Section titled “”Excel can’t open file””- Ensure file isn’t corrupted
- Check row count (Excel limit: ~1M rows)
- Try CSV format instead
”Import not working”
Section titled “”Import not working””- Verify file is valid SQL
- Check file encoding (UTF-8 recommended)
- Ensure file extension is
.sql