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 ignored bitmap of attribute in writeTablet #13858

Merged
merged 3 commits into from
Oct 22, 2024

Conversation

jt2594838
Copy link
Contributor

No description provided.

Copy link

codecov bot commented Oct 22, 2024

Codecov Report

Attention: Patch coverage is 85.71429% with 4 lines in your changes missing coverage. Please review.

Project coverage is 39.83%. Comparing base (be49909) to head (8243eb5).
Report is 11 commits behind head on master.

Files with missing lines Patch % Lines
...ine/plan/statement/crud/InsertTabletStatement.java 85.71% 3 Missing ⚠️
.../statement/PipeConvertedInsertTabletStatement.java 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master   #13858      +/-   ##
============================================
- Coverage     39.84%   39.83%   -0.02%     
  Complexity       71       71              
============================================
  Files          4149     4153       +4     
  Lines        262796   262868      +72     
  Branches      31998    32008      +10     
============================================
- Hits         104720   104711       -9     
- Misses       158076   158157      +81     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -82,7 +82,9 @@ public List<Object[]> getAttributeValueList() {
Object[] attrValues = new Object[attrColumnIndices.size()];
for (int j = 0; j < attrColumnIndices.size(); j++) {
final int columnIndex = attrColumnIndices.get(j);
attrValues[j] = ((Object[]) insertTabletStatement.getColumns()[columnIndex])[i];
if (!insertTabletStatement.isNull(i, j)) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

isNull(i, columnIndex)?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed

Copy link

@jt2594838 jt2594838 merged commit aea9f3a into master Oct 22, 2024
28 of 29 checks passed
@HTHou HTHou deleted the fix_ignored_bitmap_in_attr_write branch November 13, 2024 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants