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

Add support for datatables #201

Open
rpau opened this issue May 12, 2023 · 4 comments
Open

Add support for datatables #201

rpau opened this issue May 12, 2023 · 4 comments
Labels
enhancement New feature or request

Comments

@rpau
Copy link
Contributor

rpau commented May 12, 2023

Background

Datatables is a new openrewrite structure to produce tabular content. However, this is not consumable outside of the Moderne SaaS. This creates confusion in the community when they try to run those recipes and no results are generated.

Acceptance Criteria

The plugin produces a CSV with the datatables content.

@rpau rpau added the enhancement New feature or request label May 12, 2023
@shanman190
Copy link
Collaborator

@rpau, I could see this being useful for the community as well.

I can kinda see two possible ways to go about this: export all data tables from any active recipe or allow the user to export a set that they define. For the second it could possibly look something like this:

rewrite {
    activeDatatables(String...)
}

I could see a few ways that we could even potentially support both all and some (ie. Glob match or a boolean switch), if that was so desired.

@rpau
Copy link
Contributor Author

rpau commented May 12, 2023

I agree. The way that I see it is to export all data tables into different CSVs without any extra configuration. Then, if activeDatatables or datatables(Datatable(name:String, path: Path)...) is defined, the behavior is restricted to that configuration.

@timtebeek
Copy link
Contributor

Folks looking to export and analyze data tables are best off using the Moderne CLI. That then also allows running across multiple projects and aggregating the results, and producing reports with Jupyter through mod study. Have a look at the Moderne docs to get started there: https://docs.moderne.io/user-documentation/getting-started/data-tables

@timtebeek timtebeek reopened this May 1, 2024
@timtebeek
Copy link
Contributor

@ryan-hudson recently added data tables to the Maven plugin 🙏🏻

Might make sense to do the same for the Gradle plugin, based on the work Ryan had earlier done in

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Archived in project
Development

No branches or pull requests

3 participants