Troubleshooting Guide
SQL Cell Troubleshooting Guide
Section titled “SQL Cell Troubleshooting Guide”Welcome to the troubleshooting guide for SQL Cell, your go-to solution for running SQL queries directly in Google Sheets. If you encounter issues while using SQL Cell, follow the steps below to identify and resolve them.
Common Issues and Solutions
Section titled “Common Issues and Solutions”1. The SQL Cell sidebar doesn’t load
Section titled “1. The SQL Cell sidebar doesn’t load”- Cause: This can occur due to insufficient permissions or browser issues.
- Solutions:
- Ensure that you’ve granted the necessary permissions when installing the add-on.
- Reload Google Sheets or try opening the add-on in an incognito browser session.
- Check for browser extensions that might block scripts, such as ad blockers, and disable them temporarily.
2. SQL Queries return unexpected results
Section titled “2. SQL Queries return unexpected results”- Cause: Syntax errors or incorrect data references.
- Solutions:
- Double-check your query syntax. Use the SQL tab in the sidebar for syntax highlighting with the Monaco editor.
- Verify that the table or file you are querying is attached correctly in the Files tab.
- Ensure the column names in your query match those in your dataset. Column names are case-sensitive.
3. Files fail to attach
Section titled “3. Files fail to attach”- Cause: File size or format issues.
- Solutions:
- Ensure the file is in a supported format (CSV, Parquet, JSON, JSONL, XLSX).
- If the file is very large, confirm that it is properly formatted and not corrupted.
- Try re-uploading the file or splitting large files into smaller chunks.
4. Named ranges are not appearing in the Queries tab
Section titled “4. Named ranges are not appearing in the Queries tab”- Cause: Missing or incorrectly defined named ranges in your Google Sheet.
- Solutions:
- Go to Data > Named Ranges in the Google Sheets menu and verify that named ranges are defined correctly.
- Ensure that named ranges contain valid SQL queries.
- Reload the
SQL Cellsidebar to refresh the Queries tab.
5. Error: “DuckDB-WASM failed to initialize”
Section titled “5. Error: “DuckDB-WASM failed to initialize””- Cause: Browser compatibility or resource limitations.
- Solutions:
- Ensure you are using the latest version of a supported browser (e.g., Chrome, Edge, Firefox).
- Check if your system has sufficient memory to initialize the DuckDB-WASM engine.
- Reload the add-on and try again.
6. Performance issues with large datasets
Section titled “6. Performance issues with large datasets”- Cause: Limited system resources or file size exceeding browser limits.
- Solutions:
- Avoid querying the entire dataset at once. Use SQL
LIMITor filter conditions likeWHEREto work with smaller subsets of data. - Optimize your queries by selecting only the columns you need (
SELECT column_nameinstead ofSELECT *).
- Avoid querying the entire dataset at once. Use SQL
7. Unable to connect to remote databases
Section titled “7. Unable to connect to remote databases”- Cause: Network or configuration issues.
- Solutions:
- Verify the URL or credentials provided for the remote database.
- Ensure that the database is accessible over the internet and that no firewall rules are blocking the connection.
- Check that your database connection string is formatted correctly.
Advanced Debugging
Section titled “Advanced Debugging”Enable Developer Console Logs
Section titled “Enable Developer Console Logs”- Open your browser’s Developer Console:
- Chrome:
Ctrl+Shift+J(Windows/Linux) orCmd+Option+J(Mac) - Firefox:
Ctrl+Shift+K(Windows/Linux) orCmd+Option+K(Mac)
- Chrome:
- Reload Google Sheets and the
SQL Celladd-on. - Look for errors or warnings related to
SQL Celland note the details for troubleshooting.
Reinstall SQL Cell
Section titled “Reinstall SQL Cell”- Remove the
SQL Celladd-on:- Go to Extensions > Add-ons > Manage Add-ons.
- Find
SQL Celland select Remove.
- Reinstall
SQL Cellfrom the Google Workspace Marketplace.
Getting Help
Section titled “Getting Help”If the steps above do not resolve your issue:
- Check out the Getting Started Guide.
- Contact support by:
- Sending an email to support@sqlcell.com.
- Providing detailed information about the issue:
- A description of the problem.
- Steps to reproduce the issue.
- Screenshots or logs (if applicable).
Happy querying with SQL Cell!