Skip to content

Add hyper write support #12900

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

Open
wants to merge 57 commits into
base: develop
Choose a base branch
from
Open

Add hyper write support #12900

wants to merge 57 commits into from

Conversation

AdRiley
Copy link
Member

@AdRiley AdRiley commented Apr 17, 2025

Pull Request Description

Adds support for writing to tableau hyper files.

Defaults to Extract Extract

image

Or can set schema and table name by using explicit format

image

Appending currently not supported, but will be added as follow on.

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-hyper-write branch from 3120fe9 to 9e1af90 Compare April 22, 2025 13:12
@AdRiley AdRiley changed the title Wip/adr/add hyper write Add hyper write support Apr 24, 2025
@AdRiley AdRiley marked this pull request as ready for review April 24, 2025 09:34
Implements the `Table.write` for this `File_Format`.
write_table self file:Writable_File table:Table on_existing_file match_columns:Match_Columns on_problems:Problem_Behavior =
_ = [match_columns, on_problems]
if (on_existing_file == Existing_File_Behavior.Append) then Error.throw (Illegal_Argument.Error "Writing to hyper files is not yet supported.") else
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
if (on_existing_file == Existing_File_Behavior.Append) then Error.throw (Illegal_Argument.Error "Writing to hyper files is not yet supported.") else
if (on_existing_file == Existing_File_Behavior.Append) then Error.throw (Illegal_Argument.Error "Appending to hyper files is not yet supported.") else

?

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.

2 participants