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

Feat/array padding #3977

Closed
wants to merge 3 commits into from
Closed

Feat/array padding #3977

wants to merge 3 commits into from

Conversation

oh2024
Copy link
Collaborator

@oh2024 oh2024 commented Sep 2, 2024

  • What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

  • What is the current behavior? (You can also link to an open issue here)

  • What is the new behavior (if this is a feature change)?

@github-actions github-actions bot added the execute-engine hybridse sql engine label Sep 2, 2024
Copy link
Contributor

github-actions bot commented Sep 2, 2024

Linux Test Report

0 tests   0 ✅  0s ⏱️
0 suites  0 💤
0 files    0 ❌

Results for commit 58c4c8c.


template <typename T>
struct ArrayPadding {

Copy link
Contributor

Choose a reason for hiding this comment

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

[cpplint] reported by reviewdog 🐶
Redundant blank line at the start of a code block should be deleted. [whitespace/blank_line] [2]

}
}
}
};
Copy link
Contributor

Choose a reason for hiding this comment

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

[cpplint] reported by reviewdog 🐶
You don't need a ; after a } [readability/braces] [4]

out->raw = nullptr;
out->nullables = nullptr;
}
else if (arr->size >= target_size) {
Copy link
Contributor

Choose a reason for hiding this comment

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

[cpplint] reported by reviewdog 🐶
An else should appear on the same line as the preceding } [whitespace/newline] [4]

out->raw = nullptr;
out->nullables = nullptr;
}
else if (arr->size >= target_size) {
Copy link
Contributor

Choose a reason for hiding this comment

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

[cpplint] reported by reviewdog 🐶
If an else has a brace on one side, it should have it on both [readability/braces] [5]

else if (arr->size >= target_size) {
// v1::AllocManagedArray(out, arr->size);
out->size = arr->size;
for (int i=0; i<arr->size; ++i) {
Copy link
Contributor

Choose a reason for hiding this comment

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

[cpplint] reported by reviewdog 🐶
Missing spaces around < [whitespace/operators] [3]

out->nullables[i] = arr->nullables[i];
}
}
else {
Copy link
Contributor

Choose a reason for hiding this comment

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

[cpplint] reported by reviewdog 🐶
An else should appear on the same line as the preceding } [whitespace/newline] [4]

out->nullables[i] = arr->nullables[i];
}
}
else {
Copy link
Contributor

Choose a reason for hiding this comment

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

[cpplint] reported by reviewdog 🐶
If an else has a brace on one side, it should have it on both [readability/braces] [5]

Copy link
Contributor

github-actions bot commented Sep 2, 2024

HybridSE Linux Test Report

0 tests   0 ✅  0s ⏱️
0 suites  0 💤
0 files    0 ❌

Results for commit 58c4c8c.

Copy link
Contributor

github-actions bot commented Sep 2, 2024

SDK Test Report

0 tests   0 ✅  0s ⏱️
0 suites  0 💤
0 files    0 ❌

Results for commit 58c4c8c.

Copy link
Contributor

github-actions bot commented Sep 2, 2024

HybridSE Mac Test Report

0 tests   0 ✅  0s ⏱️
0 suites  0 💤
0 files    0 ❌

Results for commit 58c4c8c.

@oh2024 oh2024 closed this Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
execute-engine hybridse sql engine
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants