Skip to content

Commit

Permalink
tmp fix txn insert + bitmap_empty()
Browse files Browse the repository at this point in the history
  • Loading branch information
bobhan1 committed Sep 20, 2024
1 parent 31facab commit 7ca92ac
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,13 @@ public void run(ConnectContext ctx, StmtExecutor executor) throws Exception {
}
}
} else {
targetSchema = fullSchema;
if (((OlapTable) targetTable).hasSkipBitmapColumn()) {
List<Column> schemaWithoutSkipBitmapColumn = fullSchema.stream()
.filter(col -> !col.isSkipBitmapColumn()).collect(Collectors.toList());
targetSchema = schemaWithoutSkipBitmapColumn;
} else {
targetSchema = fullSchema;
}
}
// check auth
if (!Env.getCurrentEnv().getAccessManager()
Expand Down

0 comments on commit 7ca92ac

Please sign in to comment.