-
Notifications
You must be signed in to change notification settings - Fork 174
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
[FEAT] connect: createDataFrame
(WIP) help needed
#3376
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. |
.map(|name| daft_dsl::col(name)) | ||
.collect(); | ||
|
||
let plan = plan.with_columns(column_names)? |
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.
Missing semicolon at the end of plan.with_columns(column_names)?
. This will cause a compilation error.
Spotted by Graphite Reviewer
Is this helpful? React 👍 or 👎 to let us know.
pub fn local_relation( | ||
local_relation: spark_connect::LocalRelation, | ||
) -> eyre::Result<LogicalPlanBuilder> { | ||
let spark_connect::LocalRelation { | ||
data, | ||
schema, | ||
} = local_relation; | ||
} |
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.
This function needs to be completed - it currently lacks a return value and implementation. The function should process the data
and schema
parameters to construct and return a LogicalPlanBuilder
. Consider adding error handling for invalid data or schema formats.
Spotted by Graphite Reviewer
Is this helpful? React 👍 or 👎 to let us know.
use eyre::{bail, WrapErr}; | ||
use daft_logical_plan::LogicalPlanBuilder; | ||
use crate::translation::to_logical_plan; |
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 daft_dsl
crate needs to be imported to support the col()
function call on line 20. Consider adding use daft_dsl;
to the imports section.
Spotted by Graphite Reviewer
Is this helpful? React 👍 or 👎 to let us know.
844a0b1
to
dc3c34e
Compare
aeebe17
to
5fa8e8f
Compare
dc3c34e
to
693574c
Compare
Graphite Automations"Warn authors when publishing large PRs" took an action on this PR • (11/21/24)1 teammate was notified to this PR based on Andrew Gazelka's automation. |
5fa8e8f
to
427db3c
Compare
693574c
to
c7f60fd
Compare
427db3c
to
ef7a0bb
Compare
c7f60fd
to
3a8c076
Compare
ef7a0bb
to
f88c39c
Compare
3a8c076
to
4d50b1d
Compare
8f7a067
to
54468cc
Compare
f88c39c
to
b3ab393
Compare
54468cc
to
28173ab
Compare
b3ab393
to
411958a
Compare
28173ab
to
cdca2e2
Compare
411958a
to
6ff164c
Compare
cdca2e2
to
fbc5c6e
Compare
6ff164c
to
9457c8e
Compare
fbc5c6e
to
a2e0beb
Compare
9457c8e
to
ffc5efc
Compare
b9a7f70
to
3ee5757
Compare
7f6b1e3
to
464f6f5
Compare
464f6f5
to
5108778
Compare
No description provided.