Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix query params inclusion in Query::toAST #224

Closed
wants to merge 4 commits into from

Conversation

H-Plus-Time
Copy link

(Please excuse the PR re-lodge)

As far as I can tell, the Options type is incapable of using params, so I've elected not to pass opt to astOptions (or astTableRef for that matter)

At the moment, getParams is exclusive - so you either get table.params, OR {...t1.params, t2.params} OR query.params. Merging a table or constituent tables' params with those embedded in a query makes sense, though it's uncertain which should have higher precedence - I'm open to implementing this (it's a tiny change anyway), let me know which order you'd prefer.

Closes #222

…ethods<Type> -> parse, and pull out query params if opt.query is supplied, and add a test for it.
…(func) -> map(dummyVar => func(dummyVar, opt)) refactors)
@jheer
Copy link
Member

jheer commented Jul 11, 2024

Closing this out, as the Query serialization functionality is being removed from Arquero in v6.0.0. It appears to be rarely (if ever) used. For use cases such as performing data processing on a worker thread, DuckDB-WASM is a powerful alternative, and Arquero can be used to post-process DuckDB-WASM query results (which are Apache Arrow tables).

@jheer jheer closed this Jul 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Query.toAST invalid param reference
2 participants