8000 Expose transformed table by mkfreeman · Pull Request #85 · SummerForeverCo/duck-plot · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Expose transformed table #85

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

Merged
merged 4 commits into from
Mar 31, 2025
Merged

Expose transformed table #85

merged 4 commits into from
Mar 31, 2025

Conversation

mkfreeman
Copy link
Collaborator

To support the case that a user wants to interact directly with the transformed data in the DuckDB instance, DuckPlot now creates or replaces a table with the final transformed values. The table is named chart_${instance.id}. This PR also:

  • Uses a more reliable unique ID generator "@paralleldrive/cuid2 for creating table names (and SVG ids)
  • Exposes the .id() method to users
  • Renames and cleans up the getAggregateInfo function and updates corresponding tests.

@mkfreeman mkfreeman merged commit 317f2d2 into main Mar 31, 2025
@mkfreeman mkfreeman deleted the mf-expose-table branch March 31, 2025 15:27
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.

1 participant
0