Pular para o conteúdo
FastBI Docs Documentação
Exemplos de preços Abrir aplicativo

Troubleshoot SQL

Este conteúdo não está disponível em sua língua ainda.

Confirm the selected organization, connection, and schema. Inspect the catalog for the exact name and casing. For Lake, use the logical name shown in FastBI, such as uploads.orders, and wait for ingestion to complete.

Check the connection’s dialect. In Lake, use SUM(CASE WHEN ... THEN 1 ELSE 0 END) for conditional counts, TRY_CAST for tolerant conversion, and COALESCE for null fallback. Do not paste BigQuery-specific functions into Lake unchanged.

Inspect the column type and sample values. A numeric-looking imported field may be text. Use explicit casts and inspect conversion failures before aggregating. For string operations on numeric IDs, cast to VARCHAR first.

Check the row granularity and join cardinality. Joining orders to several customer-history records or order lines can multiply rows. Aggregate at the intended level and use a unique dimension key.

Check source freshness, ingestion status, and the date filter. Verify whether timestamps are stored in UTC and whether your question uses a different reporting timezone. A filter ending at midnight can exclude the rest of that day.

Filter on a date or partition column, select fewer fields, and avoid unnecessary joins. A low LIMIT caps returned rows but may still require a large scan. If FastBI pauses for scan confirmation, review the estimate before continuing.

Lake analysis accepts read-only queries. Use supported upload or ingestion workflows to change data instead of UPDATE, DELETE, or schema changes in an analysis query.

Workbench function rejected before execution

Section titled “Workbench function rejected before execution”

The workbench uses an explicit function supported list plus SQL functions. A function supported by a connected database can still be unavailable through this workbench. Check workbench compatibility instead of repeatedly renaming the function.

Qualify the table as connection.dataset.table using the exact Data explorer name. If several connections expose public.customers, writing only customers is not enough to select one.

The workbench refuses to join a result that is known to be incomplete. Inspect source or proxy row limits and retry with source-side filters or aggregation in independent CTEs. A smaller final LIMIT alone may not reduce transfer. See cross-source examples.

Temporary workbench results expire after 24 hours. Rerun an expired query before saving. Save to Lake creates a new private table; it does not overwrite an existing destination. Choose a new dataset/table name if the destination already exists.