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 Table.generate_rows #12413

Draft
wants to merge 18 commits into
base: develop
Choose a base branch
from
Draft

Add Table.generate_rows #12413

wants to merge 18 commits into from

Conversation

AdRiley
Copy link
Member

@AdRiley AdRiley commented Mar 4, 2025

Pull Request Description

New Table.generate_rows component. Duplicates existing rows by constructing and expanding a range.

Example usage:

Create 2 instances of each existing row

image

Create a N instances of each row based on a integer column

image

Or a pair of integer columns

image

Can use expressions

image

And rename created id column

image

Also can use a date range

image

Important Notes

Checklist

Please ensure that the following checklist has been satisfied before submitting the PR:

  • The documentation has been updated, if necessary.
  • Screenshots/screencasts have been attached, if there are any visual changes. For interactive or animated visual changes, a screencast is preferred.
  • All code follows the
    Scala,
    Java,
    TypeScript,
    and
    Rust
    style guides. In case you are using a language not listed above, follow the Rust style guide.
  • Unit tests have been written where possible.
  • If meaningful changes were made to logic or tests affecting Enso Cloud integration in the libraries,
    or the Snowflake database integration, a run of the Extra Tests has been scheduled.
    • If applicable, it is suggested to paste a link to a successful run of the Extra Tests.

@AdRiley AdRiley force-pushed the wip/adr/add-duplicate-rows branch from 232c9bd to aeda01b Compare March 6, 2025 11:03
@AdRiley AdRiley changed the title Wip/adr/add duplicate rows Add Generate Rows Mar 6, 2025
@AdRiley AdRiley changed the title Add Generate Rows Add Table.generate_rows Mar 6, 2025
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