Nandor Kollar has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/24614 )

Change subject: IMPALA-12587: Respect MAX_FS_WRITERS for Iceberg 
DELETE/UPDATE/MERGE
......................................................................


Patch Set 23:

(1 comment)

http://gerrit.cloudera.org:8080/#/c/24614/20/fe/src/main/java/org/apache/impala/planner/IcebergBufferedDeleteSink.java
File fe/src/main/java/org/apache/impala/planner/IcebergBufferedDeleteSink.java:

http://gerrit.cloudera.org:8080/#/c/24614/20/fe/src/main/java/org/apache/impala/planner/IcebergBufferedDeleteSink.java@66
PS20, Line 66:
             :   @Override
             :   public void computeResourceProfile(TQueryOptions queryOptions) 
{
             :     PlanNode inputNode = fragment_.getPlanRoot();
             :     final int numInstances = fragment_.getNumInstances();
             :     // For regular Parquet files we estimate 1GB memory 
consumption which is already
             :     // a conservative, i.e. probably too high memory estimate.
             :     // Writing out position delete files means we are writing 
filenames and positions
             :     // per partition. So assuming 0.5 GB per position delete 
file writer can be still
             :     // considered a very conservative estimate.
             :     final long perPartitionMemReq = 512L * ByteUnits.MEGABYTE;
             :     // The writer also buffers the file paths and positions 
before it can start writing
             :     // out files. Let's assume it needs to buffer 20K file paths 
and 1M positions
             :     // per sink, that is around 20K * 200 byte + 1M * 8 bytes = 
12 megabytes. Let's
             :     // make it 16 MBs.
             :     final long bufferedData = 16 * ByteUnits.MEGABYTE;
             :
             :     long perInstanceMemEstimate;
             :
> We can put all of these methods and dependent state variables (maxTableSink
Done



--
To view, visit http://gerrit.cloudera.org:8080/24614
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ice7362cecb8b43fbff43b8ad82827e31e2b4eea3
Gerrit-Change-Number: 24614
Gerrit-PatchSet: 23
Gerrit-Owner: Nandor Kollar <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Nandor Kollar <[email protected]>
Gerrit-Reviewer: Noemi Pap-Takacs <[email protected]>
Gerrit-Reviewer: Peter Rozsa <[email protected]>
Gerrit-Comment-Date: Tue, 20 Oct 2026 13:30:54 +0000
Gerrit-HasComments: Yes

Reply via email to