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

fix(function): fix incorrect return datatype of function if #5980

Merged
merged 10 commits into from
Jun 15, 2022

Conversation

sundy-li
Copy link
Member

@sundy-li sundy-li commented Jun 14, 2022

I hereby agree to the terms of the CLA available at: https://databend.rs/dev/policies/cla/

Summary

Summary about this PR

Changelog

  • Bug Fix

Related Issues

Part of #5959 #5972

@vercel
Copy link

vercel bot commented Jun 14, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Updated
databend ⬜️ Ignored (Inspect) Jun 15, 2022 at 5:47AM (UTC)

@mergify
Copy link
Contributor

mergify bot commented Jun 14, 2022

Thanks for the contribution!
I have applied any labels matching special text in your PR Changelog.

Please review the labels and make any necessary changes.

@mergify mergify bot added the pr-bugfix this PR patches a bug in codebase label Jun 14, 2022
@sundy-li
Copy link
Member Author

sundy-li commented Jun 14, 2022

So many bugs were detected by this debug_assert!

@leiysky
Copy link
Contributor

leiysky commented Jun 14, 2022

I'm pretty sure that my previous PR #5119 is way blocked by this issue...

@xudong963
Copy link
Member

As expected, they failed :D
image

@@ -34,6 +34,11 @@ pub struct DataBlock {
impl DataBlock {
#[inline]
pub fn create(schema: DataSchemaRef, columns: Vec<ColumnRef>) -> Self {
debug_assert!(schema.fields().iter().zip(columns.iter()).all(|(f, c)| f
Copy link
Member

Choose a reason for hiding this comment

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

Nice!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need-review pr-bugfix this PR patches a bug in codebase
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants