SQL extensions and compatibility: rewrite and move to top of Query reference#455
Merged
Conversation
Expands the existing page to cover both QuestDB additions and standard SQL gaps in one canonical reference. New structure: time-series clauses (SAMPLE BY with FILL, LATEST ON, TICK), time-series joins (ASOF, LT, SPLICE, WINDOW, HORIZON), storage and table extensions (matviews with refresh strategies and chaining, parameterized views, arrays, covering indices, DECLARE), query conveniences, PIVOT vs SQL Server, JSON/UNNEST, lifecycle and security pointers, function library pointers, and a table of standard SQL features that QuestDB does not support with the QuestDB equivalent for each. Moves the sidebar entry from Concepts > Deep Dive to the top of Query & SQL Reference, right after the overview, where readers actually need it. URL stays at /docs/concepts/deep-dive/sql-extensions/ for SEO. Replaces the one-paragraph SQL-dialect-differences punt on the pgwire overview page with a concise summary that links here.
- ASOF JOIN example fixed to use fx_trades + core_price with real columns - HORIZON JOIN example made demoable using the markout pattern from the HORIZON JOIN reference page - TICK exchange-hours example uses the actual exchange calendar syntax (XNYS MIC), with a note that it is Enterprise-only - DISTINCT ON cell clarified: LATEST ON only covers the latest-per-group case; other orderings use row_number() in a CTE - FK/CHECK explanation no longer implies append-only storage; reasons reframed around high-throughput write paths - DECLARE moved from storage extensions to query syntax conveniences; Query syntax conveniences now precede Storage and table extensions - Added "Implicit timestamp ordering and negative LIMIT" subsection - JSON UNNEST example added alongside the array UNNEST example - Visualization functions blurb corrected (web console and psql, not Grafana) - Meta functions blurb notes the small pg_catalog subset - "Learn by example" expanded with web console URL and psql command, including the default password
|
🚀 Build success! Latest successful preview: https://preview-455--questdb-documentation.netlify.app/docs/ Commit SHA: 87547b2
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Rewrites the previous `/docs/concepts/deep-dive/sql-extensions/` page to be the canonical SQL dialect reference, covering both QuestDB extensions and standard-SQL gaps. URL preserved for SEO; sidebar entry moved from Concepts > Deep Dive to the top of Query & SQL Reference where readers actually need it.
Pgwire overview page: the one-paragraph "SQL dialect differences" punt is replaced by a concise summary linking here.