-
Notifications
You must be signed in to change notification settings - Fork 323
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.union
to the In-Memory Table.
#4052
Conversation
ce37c49
to
dcfabcd
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Generally looks good.
A few suggestions to clean up a little.
The union function is a little complicated to read so if we can break it up a little into helpers I think might be clearer but is good.
distribution/lib/Standard/Database/0.0.0-dev/src/Data/Table.enso
Outdated
Show resolved
Hide resolved
std-bits/table/src/main/java/org/enso/table/data/column/builder/object/TypedBuilderImpl.java
Show resolved
Hide resolved
distribution/lib/Standard/Table/0.0.0-dev/src/Data/Match_Columns.enso
Outdated
Show resolved
Hide resolved
distribution/lib/Standard/Table/0.0.0-dev/src/Data/Match_Columns.enso
Outdated
Show resolved
Hide resolved
is_everything_ok = tables_vector.all table-> | ||
if Table_Helpers.is_table table . not then Error.throw (Type_Error.Error Table table "tables") else |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd be tempted to put this into Table_Helpers to make this read clearer as a lot going on in this function.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Table Helpers are primarily backend-agnostic and this is a backend-specific check, so instead I moved it into a private method in the Table module.
34fc258
to
46432e2
Compare
3914dd5
to
474ecf9
Compare
Pull Request Description
Implements https://www.pivotaltracker.com/story/show/183854144
Important Notes
Checklist
Please include the following checklist in your PR:
Scala,
Java,
and
Rust
style guides.
./run ide build
and./run ide watch
.