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

test(clickhouse): test all functions #952

Merged
merged 5 commits into from
Nov 28, 2024

Conversation

grieve54706
Copy link
Contributor

We added a test case and moved out some functions that need to be revised.

#951

@github-actions github-actions bot added ibis python Pull requests that update Python code labels Nov 26, 2024
window,lastValue,Same as input,"Returns last value in window frame."
window,nthValue,Same as input,"Returns nth value in window frame."
function_type,name,return_type,param_names,param_types,description
aggregate,min,Same as input,,Any,"Returns the minimum value."
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
aggregate,min,Same as input,,Any,"Returns the minimum value."
aggregate,min,Same as input,,Any,"Returns the minimum value."

The return type is weird 🤔. I think they're duplicated with the datafusion default functions. Maybe we can just remove them.

Comment on lines 4 to 6
scalar,round,Same as input,,Float64, "Rounds number to specified decimal places."
scalar,floor,Same as input,,Numeric,"Rounds down to nearest integer."
scalar,ceil,Same as input,,Numeric,"Rounds up to nearest integer."
Copy link
Contributor

Choose a reason for hiding this comment

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

Same issue. The return types aren't valid.

@goldmedal goldmedal merged commit ccda553 into test/all-functions Nov 28, 2024
4 checks passed
@goldmedal goldmedal deleted the test/all-functions-for-clickhouse branch November 28, 2024 09:10
@grieve54706 grieve54706 added this to the 0.12.3 milestone Nov 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ibis python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants