zml1206 commented on PR #5636:
URL: https://github.com/apache/kyuubi/pull/5636#issuecomment-1798494223

   > Thank you, I'm OK to separated it. Would you mind to attach the plan for 
`OPTIMIZE '/path/to/delta/table'`?
   
   OPTIMIZE 'tmp/dt1'
   == Analyzed Logical Plan ==
   path: string, metrics: 
struct<numFilesAdded:bigint,numFilesRemoved:bigint,filesAdded:struct<min:bigint,max:bigint,avg:double,totalFiles:bigint,totalSize:bigint>,filesRemoved:struct<min:bigint,max:bigint,avg:double,totalFiles:bigint,totalSize:bigint>,partitionsOptimized:bigint,zOrderStats:struct<strategyName:string,inputCubeFiles:struct<num:bigint,size:bigint>,inputOtherFiles:struct<num:bigint,size:bigint>,inputNumCubes:bigint,mergedFiles:struct<num:bigint,size:bigint>,numOutputCubes:bigint,mergedNumCubes:bigint>,numBatches:bigint,totalConsideredFiles:bigint,totalFilesSkipped:bigint,preserveInsertionOrder:boolean,numFilesSkippedToReduceWriteAmplification:bigint,numBytesSkippedToReduceWriteAmplification:bigint,startTimeMs:bigint,endTimeMs:bigint,totalClusterParallelism:bigint,totalScheduledTasks:bigint,autoCompactParallelismStats:struct<maxClusterActiveParallelism:bigint,minClusterActiveParallelism:bigint,maxSessionActiveParallelism:bigint,minSessionActiveParallelism:bigint>,deletio
 
nVectorStats:struct<numDeletionVectorsRemoved:bigint,numDeletionVectorRowsRemoved:bigint>,numTableColumns:bigint,numTableColumnsWithStats:bigint>
   OptimizeTableCommand DeltaOptimizeContext(false,None,None,false)
   +- ResolvedTable org.apache.spark.sql.delta.catalog.DeltaCatalog@608e34bf, 
delta.`tmp/dt1`, 
DeltaTableV2(org.apache.spark.sql.SparkSession@3a4af228,tmp/dt1,None,None,None,Map(),org.apache.spark.sql.util.CaseInsensitiveStringMap@1f),
 [id#818L]
   


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to