wangbo commented on a change in pull request #4109:
URL: https://github.com/apache/incubator-doris/pull/4109#discussion_r459250963
##########
File path: fe/src/main/java/org/apache/doris/load/loadv2/LoadJobScheduler.java
##########
@@ -47,6 +51,10 @@
private LinkedBlockingQueue<LoadJob> needScheduleJobs =
Queues.newLinkedBlockingQueue();
+ // Used to implement a job granularity lock for update global dict table
serially
+ // The runningBitmapTables keeps the doris table id of the spark load job
which in state pending or etl
+ private Map<Long, Set<Long>> runningBitmapTableMap = new HashMap<>();
Review comment:
Maybe "runningTableWithBitmapColumns" is better ?
##########
File path: fe/src/main/java/org/apache/doris/load/loadv2/SparkLoadJob.java
##########
@@ -909,4 +949,30 @@ private void initTDescriptorTable(DescriptorTable
descTable) {
tDescriptorTable = descTable.toThrift();
}
}
+
+ public Set<Long> getTableWithBitmapColumn() {
+ if (tableWithBitmapColumn.size() != 0) {
Review comment:
👌
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]