Open
Conversation
severo
approved these changes
Feb 18, 2026
Contributor
severo
left a comment
There was a problem hiding this comment.
Add something like this to the root README.md:
## Squirreling Demo :chipmunk:
Squirreling is a streaming async SQL engine in pure JavaScript.
Demo: https://hyparam.github.io/demos/squirreling/
Squirreling: https://github.com/hyparam/squirreling
Example project showing how to use squirreling.
Provides a simple SQL editor interface for running queries against a parquet file.
Uses vite for running client-side react.Also: add a GitHub action to deploy the demo
Comment on lines
+1
to
+3
| # Hyparquet demo | ||
|
|
||
| This is an example project showing how to use [hyparquet](https://github.com/hyparam/hyparquet). |
Contributor
There was a problem hiding this comment.
Suggested change
| # Hyparquet demo | |
| This is an example project showing how to use [hyparquet](https://github.com/hyparam/hyparquet). | |
| # Squirreling demo | |
| This is an example project showing how to use [squirreling](https://github.com/hyparam/squirreling). |
| const setAsyncBuffer = useCallback(async function setAsyncBuffer(name: string, from: AsyncBufferFrom) { | ||
| const asyncBuffer = await asyncBufferFrom(from) | ||
| const metadata = await parquetMetadataAsync(asyncBuffer) | ||
| const df = sortableDataFrame(parquetDataFrame(from, metadata)) |
Contributor
There was a problem hiding this comment.
no need for sortableDataFrame, if I understand well
| } | ||
|
|
||
| /** | ||
| * Squireeling demo page |
Contributor
There was a problem hiding this comment.
Suggested change
| * Squireeling demo page | |
| * Squirreling demo page |
| * @returns {ReactNode} | ||
| */ | ||
| export default function Page({ metadata, df, name, from, byteLength, setError }: PageProps): ReactNode { | ||
| const [query, setQuery] = useState<string>('SELECT * FROM table LIMIT 500') |
Contributor
There was a problem hiding this comment.
at some point it would be nice to have it as a URL search param to be able to share a query
Contributor
There was a problem hiding this comment.
also: add throttle to setQuery?
| </span> | ||
| </div> | ||
| </div> | ||
| <ParquetGridMini metadata={metadata} downloadedRanges={downloadedRanges} /> |
Contributor
There was a problem hiding this comment.
Nice idea!
I think it would benefit from some more context, e.g.
- a title attribute
- a tooltip / modal
- or even click -> opens a fullsize view
Contributor
There was a problem hiding this comment.
this file might go to a library, no?
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.
No description provided.