Repository navigation
docs: adding documentation about sql-blocks - #84
Conversation
|
Warning Rate limit exceeded@jamesbhobbs has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 0 minutes and 3 seconds before requesting another review. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughAdds docs/sql-blocks.md documenting SQL blocks: concepts, structure, required and optional metadata fields, generated Python code for variable-assigned and non-assigned SQL blocks, DataFrame vs QueryPreview behaviors, common use cases, result handling, integration with code blocks, environment variable conventions, and local execution prerequisites. Also updates cspell.json word list with "groupby" and "tolist". No code or public API changes. Possibly related PRs
Suggested reviewers
Pre-merge checks❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## filipzitny/mar-344-write-new-oss-docs-vscode-extension #84 +/- ##
=======================================================================================
Coverage 92.11% 92.11%
=======================================================================================
Files 20 20
Lines 431 431
Branches 116 119 +3
=======================================================================================
Hits 397 397
Misses 34 34 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Actionable comments posted: 2
📜 Review details
Configuration used: CodeRabbit UI
Review profile: ASSERTIVE
Plan: Pro
Disabled knowledge base sources:
- Linear integration is disabled by default for public repositories
You can enable these sources in your CodeRabbit configuration.
📒 Files selected for processing (1)
docs/sql-blocks.md(1 hunks)
🧰 Additional context used
📓 Path-based instructions (1)
**/*.{md,yml,yaml}
📄 CodeRabbit inference engine (CLAUDE.md)
Use Prettier formatting for Markdown and YAML files
Files:
docs/sql-blocks.md
🪛 markdownlint-cli2 (0.18.1)
docs/sql-blocks.md
316-316: Fenced code blocks should have a language specified
(MD040, fenced-code-language)
364-364: Fenced code blocks should be surrounded by blank lines
(MD031, blanks-around-fences)
0b40156 to
7c678ef
Compare
7c678ef to
7649f04
Compare
There was a problem hiding this comment.
Actionable comments posted: 1
📜 Review details
Configuration used: CodeRabbit UI
Review profile: ASSERTIVE
Plan: Pro
Disabled knowledge base sources:
- Linear integration is disabled by default for public repositories
You can enable these sources in your CodeRabbit configuration.
📒 Files selected for processing (2)
cspell.json(1 hunks)docs/sql-blocks.md(1 hunks)
🧰 Additional context used
📓 Path-based instructions (1)
**/*.{md,yml,yaml}
📄 CodeRabbit inference engine (CLAUDE.md)
Use Prettier formatting for Markdown and YAML files
Files:
docs/sql-blocks.md
🪛 markdownlint-cli2 (0.18.1)
docs/sql-blocks.md
364-364: Fenced code blocks should be surrounded by blank lines
(MD031, blanks-around-fences)
🔇 Additional comments (2)
cspell.json (1)
75-77: Spellcheck additions support new documentation terms.Adding
groupbyandtolistto the dictionary aligns with pandas method usage in the SQL blocks documentation.docs/sql-blocks.md (1)
1-366: Comprehensive and well-structured SQL blocks documentation.Excellent coverage of concepts, metadata fields, code generation, use cases, result handling, and local execution. Technical accuracy is solid, examples are realistic, and the content flows logically. Table comparison of DataFrame vs QueryPreview is particularly helpful.
| 3. **Environment variables** set with connection details: | ||
| ```bash | ||
| export SQL_POSTGRES_PROD='{"host":"localhost","port":5432,...}' | ||
| ``` |
There was a problem hiding this comment.
Add blank line before code block to comply with Markdown formatting.
Line 364 list item requires a blank line before the code block fence at line 365 per MD031 (blanks-around-fences) and Prettier standards, even when the block is indented within a list.
3. **Environment variables** set with connection details:
+
```bash
export SQL_POSTGRES_PROD='{"host":"localhost","port":5432,...}'
```🧰 Tools
🪛 markdownlint-cli2 (0.18.1)
364-364: Fenced code blocks should be surrounded by blank lines
(MD031, blanks-around-fences)
🤖 Prompt for AI Agents
In docs/sql-blocks.md around lines 363 to 366, the fenced code block inside the
list item needs a blank line before the opening ``` to comply with MD031 and
Prettier; insert a single blank line between the list text ("3. **Environment
variables** set with connection details:") and the indented code fence so the
block remains indented within the list but is separated by one empty line.
… into filipzitny/mar-344-write-new-oss-docs-sql-blocks
|
AFAIK this is only relevant in the VSCode docs, so merging into that PR for consideration together. |
c923b30
into
filipzitny/mar-344-write-new-oss-docs-vscode-extension
* docs: wiriting docs about vscode extension * chore: adding venv and reexecuted to cspell * docs: conent update * chore: fix checks * docs: adding documentation about sql-blocks (#84) * docs: adding documentation about sql-blocks * chore: adding groupby and tolist into cspell * docs: adding code block type into md * chore: fix checks --------- Co-authored-by: James Hobbs <15235276+jamesbhobbs@users.noreply.github.com> * chore: rm dupe line * docs: cut blocks add curosr and windsurf * docs: del docs on sql blocks, more suitable for general comparison table than oss docs * docs: fix links to extensions * docs: fix all issues raised in cr * docs: shortcuts that are validated to fully work --------- Co-authored-by: James Hobbs <15235276+jamesbhobbs@users.noreply.github.com> Co-authored-by: James Hobbs <bjhobbs06@gmail.com>
* docs: fix punctuation * docs: adding documentation about converting notebook (#78) * docs: adding doc about converting notebook * docs: adding doc about converting notebook * docs: update * docs: update of content and add example of programatic usage * docs: update conversion * Rename convert-programaticaly.md to convert-programmatically.md * Fix typo in link to converter examples * docs: update after converting * docs: update * docs: clarify sentence's scope ambiguity * docs: add link to the package * docs: fix links * docs: call docs docs, examples would be runnable code * docs: correct new link --------- Co-authored-by: James Hobbs <15235276+jamesbhobbs@users.noreply.github.com> Co-authored-by: James Hobbs <bjhobbs06@gmail.com> * docs: adding documentation about migrating to ipynb (#82) * docs: adding documentation about migrating to ipynb * chore: adding kernelspec nbconvert papermill and Jupytext * docs: replace link with documentation link * docs: .d 2 .i --------- Co-authored-by: James Hobbs <15235276+jamesbhobbs@users.noreply.github.com> Co-authored-by: James Hobbs <bjhobbs06@gmail.com> * docs: adding documentation about local set-up (#81) * docs: adding documentation about local set-up * docs: fix duplicate links Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> * chore: adding words into cspell * docs: fix with prittier * docs: update table with comparison features * chore: fix checks * docs: update vsc v * docs: add cursor * docs: we do way more than initially claimed here --------- Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> Co-authored-by: James Hobbs <15235276+jamesbhobbs@users.noreply.github.com> Co-authored-by: James Hobbs <bjhobbs06@gmail.com> * docs: adding documentation about deepnote format (#79) * docs: adding documentation about deepnote format * chore: adding kernelspec to cspell * docs: adding documentation about organizing notebook into projects (#83) * docs: adding documentation about organizing notebook into projects * chore: adding isnull dropna and pyplot to cspell --------- Co-authored-by: James Hobbs <15235276+jamesbhobbs@users.noreply.github.com> * chore: fix checks * docs: rm duplicative content --------- Co-authored-by: James Hobbs <15235276+jamesbhobbs@users.noreply.github.com> Co-authored-by: James Hobbs <bjhobbs06@gmail.com> * docs: fix typo Co-authored-by: Dino Hamzić <dino@subtlebits.com> * docs: delete redundant line Co-authored-by: Dino Hamzić <dino@subtlebits.com> * docs: simplify toolkit inst * docs: clarify loc of export Co-authored-by: Dino Hamzić <dino@subtlebits.com> * docs: clarify conversion Co-authored-by: Dino Hamzić <dino@subtlebits.com> * docs: rm add sec * docs: fix heading heirarchy * docs: fix heading heirarchy 2 * chore: lint fix * docs: how to open deepnote file instructions * docs: colon * docs: point to other doc rather than repeat * docs: adding documentation about running deepnote in jupyterlab (#80) * docs: adding documentation about deepnote format * docs: adding documentation about running deepnote in jupyterlab * chore: adding kernelspec to cspell * chore: adding ipywidgets into cspell * docs: fix grammar Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> * docs: adding link about migrating to ipynb * docs: adding documentation about organizing notebook into projects (#83) * docs: adding documentation about organizing notebook into projects * chore: adding isnull dropna and pyplot to cspell --------- Co-authored-by: James Hobbs <15235276+jamesbhobbs@users.noreply.github.com> * chore: fix checks * docs: updates * chore: lint --------- Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> Co-authored-by: James Hobbs <15235276+jamesbhobbs@users.noreply.github.com> Co-authored-by: James Hobbs <bjhobbs06@gmail.com> Co-authored-by: dinohamzic <dino@subtlebits.com> * docs: writing docs about vs-code extension (#85) * docs: wiriting docs about vscode extension * chore: adding venv and reexecuted to cspell * docs: conent update * chore: fix checks * docs: adding documentation about sql-blocks (#84) * docs: adding documentation about sql-blocks * chore: adding groupby and tolist into cspell * docs: adding code block type into md * chore: fix checks --------- Co-authored-by: James Hobbs <15235276+jamesbhobbs@users.noreply.github.com> * chore: rm dupe line * docs: cut blocks add curosr and windsurf * docs: del docs on sql blocks, more suitable for general comparison table than oss docs * docs: fix links to extensions * docs: fix all issues raised in cr * docs: shortcuts that are validated to fully work --------- Co-authored-by: James Hobbs <15235276+jamesbhobbs@users.noreply.github.com> Co-authored-by: James Hobbs <bjhobbs06@gmail.com> * docs: fix link Co-authored-by: Dino Hamzić <dino@subtlebits.com> * docs: fix link 2 Co-authored-by: Dino Hamzić <dino@subtlebits.com> * docs: fix link 3 Co-authored-by: Dino Hamzić <dino@subtlebits.com> * docs: fix link 4 Co-authored-by: Dino Hamzić <dino@subtlebits.com> * docs: venv through ui only --------- Co-authored-by: Filip Zitny <88278380+Yggdrasill501@users.noreply.github.com> Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> Co-authored-by: Dino Hamzić <dino@subtlebits.com>
Summary by CodeRabbit