-
Notifications
You must be signed in to change notification settings - Fork 170
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: add alias support #3342
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. |
f4273d8
to
6790b74
Compare
6790b74
to
1188970
Compare
1188970
to
45be7ee
Compare
45be7ee
to
1c7d6f5
Compare
9b3bf4e
to
12087cb
Compare
CodSpeed Performance ReportMerging #3342 will degrade performances by 18.45%Comparing Summary
Benchmarks breakdown
|
12087cb
to
f9d9dee
Compare
f9d9dee
to
074f460
Compare
074f460
to
7d970c1
Compare
pub fn handle_count(arguments: Vec<daft_dsl::ExprRef>) -> eyre::Result<daft_dsl::ExprRef> { | ||
let arguments: [daft_dsl::ExprRef; 1] = match arguments.try_into() { | ||
Ok(arguments) => arguments, | ||
Err(arguments) => { | ||
bail!("requires exactly one argument; got {arguments:?}"); | ||
} | ||
}; | ||
|
||
let [arg] = arguments; | ||
|
||
let count = arg.count(CountMode::All); | ||
|
||
Ok(count) | ||
} |
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 handle_count
function needs to support both count(*)
and count(expr)
cases. Currently it only handles the single argument case. For zero arguments (i.e. count(*)
), it should return a count of all rows. For one argument (i.e. count(expr)
), it should count non-null values of that expression.
Spotted by Graphite Reviewer
Is this helpful? React 👍 or 👎 to let us know.
7d970c1
to
62c976f
Compare
Graphite Automations"Notify author when CI fails" took an action on this PR • (11/21/24)1 teammate was notified to this PR based on Andrew Gazelka's automation. |
Merge activity
|
62c976f
to
3402dc6
Compare
To be "fully" 1:1 will need