{"Event":"SparkListenerLogStart","Spark Version":"3.5.1"} {"Event":"SparkListenerResourceProfileAdded","Resource Profile Id":0,"Executor Resource Requests":{"memory":{"Resource Name":"memory","Amount":1024,"Discovery Script":"","Vendor":""},"offHeap":{"Resource Name":"offHeap","Amount":0,"Discovery Script":"","Vendor":""}},"Task Resource Requests":{"cpus":{"Resource Name":"cpus","Amount":1.0}}} {"Event":"SparkListenerBlockManagerAdded","Block Manager ID":{"Executor ID":"driver","Host":"73850a3d530b","Port":32857},"Maximum Memory":455501414,"Timestamp":1784546380956,"Maximum Onheap Memory":455501414,"Maximum Offheap Memory":0} {"Event":"SparkListenerEnvironmentUpdate","JVM Information":{"Java Home":"/usr/lib/jvm/java-17-openjdk-amd64","Java Version":"17.0.19 (Debian)","Scala Version":"version 2.12.18"},"Spark Properties":{"spark.hadoop.fs.s3a.connection.ssl.enabled":"false","spark.executor.extraJavaOptions":"-Djava.net.preferIPv6Addresses=false -XX:+IgnoreUnrecognizedVMOptions --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.base/sun.nio.cs=ALL-UNNAMED --add-opens=java.base/sun.security.action=ALL-UNNAMED --add-opens=java.base/sun.util.calendar=ALL-UNNAMED --add-opens=java.security.jgss/sun.security.krb5=ALL-UNNAMED -Djdk.reflect.useDirectMethodHandle=false","spark.driver.host":"73850a3d530b","spark.serializer.objectStreamReset":"100","spark.eventLog.enabled":"true","spark.driver.port":"34351","spark.rdd.compress":"True","spark.hadoop.fs.s3a.path.style.access":"true","spark.app.name":"dm_user_cohort_analysis","spark.hadoop.fs.s3a.aws.credentials.provider":"org.apache.hadoop.fs.s3a.SimpleAWSCredentialsProvider","spark.hadoop.fs.s3a.secret.key":"*********(redacted)","spark.scheduler.mode":"FIFO","spark.hadoop.fs.s3a.access.key":"*********(redacted)","spark.submit.pyFiles":"","spark.app.submitTime":"1784546378209","spark.app.startTime":"1784546379461","spark.executor.id":"driver","spark.driver.extraJavaOptions":"-Djava.net.preferIPv6Addresses=false -XX:+IgnoreUnrecognizedVMOptions --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.base/sun.nio.cs=ALL-UNNAMED --add-opens=java.base/sun.security.action=ALL-UNNAMED --add-opens=java.base/sun.util.calendar=ALL-UNNAMED --add-opens=java.security.jgss/sun.security.krb5=ALL-UNNAMED -Djdk.reflect.useDirectMethodHandle=false","spark.submit.deployMode":"client","spark.master":"spark://spark-master:7077","spark.eventLog.dir":"file:/opt/spark-events","spark.eventLog.compress":"true","spark.hadoop.fs.s3a.endpoint":"http://minio:9000","spark.hadoop.fs.s3a.impl":"org.apache.hadoop.fs.s3a.S3AFileSystem","spark.app.id":"app-20260720151940-0099"},"Hadoop Properties":{"hadoop.service.shutdown.timeout":"30s","yarn.resourcemanager.amlauncher.thread-count":"50","yarn.sharedcache.enabled":"false","fs.s3a.connection.maximum":"96","yarn.nodemanager.numa-awareness.numactl.cmd":"/usr/bin/numactl","fs.viewfs.overload.scheme.target.o3fs.impl":"org.apache.hadoop.fs.ozone.OzoneFileSystem","fs.s3a.impl":"org.apache.hadoop.fs.s3a.S3AFileSystem","yarn.app.mapreduce.am.scheduler.heartbeat.interval-ms":"1000","yarn.timeline-service.timeline-client.number-of-async-entities-to-merge":"10","hadoop.security.kms.client.timeout":"60","hadoop.http.authentication.kerberos.principal":"HTTP/_HOST@LOCALHOST","mapreduce.jobhistory.loadedjob.tasks.max":"-1","yarn.resourcemanager.application-tag-based-placement.enable":"false","mapreduce.framework.name":"local","yarn.sharedcache.uploader.server.thread-count":"50","yarn.nodemanager.log-aggregation.roll-monitoring-interval-seconds.min":"3600","yarn.nodemanager.linux-container-executor.nonsecure-mode.user-pattern":"^[_.A-Za-z0-9][-@_.A-Za-z0-9]{0,255}?[$]?$","tfile.fs.output.buffer.size":"262144","yarn.app.mapreduce.am.job.task.listener.thread-count":"30","yarn.nodemanager.node-attributes.resync-interval-ms":"120000","fs.s3a.secret.key":"*********(redacted)","yarn.nodemanager.container-log-monitor.interval-ms":"60000","hadoop.security.groups.cache.background.reload.threads":"3","yarn.resourcemanager.webapp.cross-origin.enabled":"false","fs.AbstractFileSystem.ftp.impl":"org.apache.hadoop.fs.ftp.FtpFs","fs.viewfs.overload.scheme.target.gs.impl":"com.google.cloud.hadoop.fs.gcs.GoogleHadoopFS","hadoop.registry.secure":"false","hadoop.shell.safely.delete.limit.num.files":"100","mapreduce.job.acl-view-job":" ","fs.s3a.s3guard.ddb.background.sleep":"25ms","fs.s3a.retry.limit":"7","mapreduce.jobhistory.loadedjobs.cache.size":"5","fs.s3a.s3guard.ddb.table.create":"false","fs.viewfs.overload.scheme.target.s3a.impl":"org.apache.hadoop.fs.s3a.S3AFileSystem","yarn.nodemanager.amrmproxy.enabled":"false","yarn.timeline-service.entity-group-fs-store.with-user-dir":"false","mapreduce.shuffle.pathcache.expire-after-access-minutes":"5","mapreduce.input.fileinputformat.split.minsize":"0","yarn.resourcemanager.container.liveness-monitor.interval-ms":"600000","yarn.resourcemanager.client.thread-count":"50","io.seqfile.compress.blocksize":"1000000","yarn.nodemanager.runtime.linux.docker.allowed-container-runtimes":"runc","fs.viewfs.overload.scheme.target.http.impl":"org.apache.hadoop.fs.http.HttpFileSystem","yarn.resourcemanager.nodemanagers.heartbeat-interval-slowdown-factor":"1.0","yarn.sharedcache.checksum.algo.impl":"org.apache.hadoop.yarn.sharedcache.ChecksumSHA256Impl","yarn.nodemanager.amrmproxy.interceptor-class.pipeline":"org.apache.hadoop.yarn.server.nodemanager.amrmproxy.DefaultRequestInterceptor","yarn.timeline-service.entity-group-fs-store.leveldb-cache-read-cache-size":"10485760","mapreduce.reduce.shuffle.fetch.retry.interval-ms":"1000","mapreduce.task.profile.maps":"0-2","yarn.scheduler.include-port-in-node-name":"false","yarn.nodemanager.admin-env":"MALLOC_ARENA_MAX=$MALLOC_ARENA_MAX","yarn.resourcemanager.node-removal-untracked.timeout-ms":"60000","mapreduce.am.max-attempts":"2","hadoop.security.kms.client.failover.sleep.base.millis":"100","mapreduce.jobhistory.webapp.https.address":"0.0.0.0:19890","yarn.node-labels.fs-store.impl.class":"org.apache.hadoop.yarn.nodelabels.FileSystemNodeLabelsStore","yarn.nodemanager.collector-service.address":"${yarn.nodemanager.hostname}:8048","fs.trash.checkpoint.interval":"0","mapreduce.job.map.output.collector.class":"org.apache.hadoop.mapred.MapTask$MapOutputBuffer","yarn.resourcemanager.node-ip-cache.expiry-interval-secs":"-1","hadoop.http.authentication.signature.secret.file":"*********(redacted)","hadoop.jetty.logs.serve.aliases":"true","yarn.resourcemanager.placement-constraints.handler":"disabled","yarn.timeline-service.handler-thread-count":"10","yarn.resourcemanager.max-completed-applications":"1000","yarn.nodemanager.aux-services.manifest.enabled":"false","yarn.resourcemanager.system-metrics-publisher.enabled":"false","yarn.resourcemanager.placement-constraints.algorithm.class":"org.apache.hadoop.yarn.server.resourcemanager.scheduler.constraint.algorithm.DefaultPlacementAlgorithm","yarn.sharedcache.webapp.address":"0.0.0.0:8788","fs.s3a.select.input.csv.quote.escape.character":"\\\\","yarn.resourcemanager.delegation.token.renew-interval":"*********(redacted)","yarn.sharedcache.nm.uploader.replication.factor":"10","hadoop.security.groups.negative-cache.secs":"30","yarn.app.mapreduce.task.container.log.backups":"0","mapreduce.reduce.skip.proc-count.auto-incr":"true","fs.viewfs.overload.scheme.target.swift.impl":"org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystem","hadoop.security.group.mapping.ldap.posix.attr.gid.name":"gidNumber","ipc.client.fallback-to-simple-auth-allowed":"false","yarn.nodemanager.resource.memory.enforced":"true","yarn.resourcemanager.system-metrics-publisher.timeline-server-v1.enable-batch":"false","yarn.client.failover-proxy-provider":"org.apache.hadoop.yarn.client.ConfiguredRMFailoverProxyProvider","yarn.timeline-service.http-authentication.simple.anonymous.allowed":"true","ha.health-monitor.check-interval.ms":"1000","yarn.nodemanager.runtime.linux.runc.host-pid-namespace.allowed":"false","hadoop.metrics.jvm.use-thread-mxbean":"false","ipc.[port_number].faircallqueue.multiplexer.weights":"8,4,2,1","yarn.acl.reservation-enable":"false","yarn.resourcemanager.store.class":"org.apache.hadoop.yarn.server.resourcemanager.recovery.FileSystemRMStateStore","yarn.app.mapreduce.am.hard-kill-timeout-ms":"10000","fs.s3a.etag.checksum.enabled":"false","yarn.nodemanager.container-metrics.enable":"true","ha.health-monitor.rpc.connect.max.retries":"1","yarn.timeline-service.client.fd-clean-interval-secs":"60","yarn.resourcemanager.nodemanagers.heartbeat-interval-scaling-enable":"false","yarn.resourcemanager.nodemanagers.heartbeat-interval-ms":"1000","hadoop.common.configuration.version":"3.0.0","fs.s3a.s3guard.ddb.table.capacity.read":"0","yarn.nodemanager.remote-app-log-dir-suffix":"logs","yarn.nodemanager.container-log-monitor.dir-size-limit-bytes":"1000000000","yarn.nodemanager.windows-container.cpu-limit.enabled":"false","yarn.nodemanager.runtime.linux.docker.privileged-containers.allowed":"false","file.blocksize":"67108864","hadoop.http.idle_timeout.ms":"60000","hadoop.registry.zk.retry.ceiling.ms":"60000","yarn.scheduler.configuration.leveldb-store.path":"${hadoop.tmp.dir}/yarn/system/confstore","yarn.sharedcache.store.in-memory.initial-delay-mins":"10","mapreduce.jobhistory.principal":"jhs/_HOST@REALM.TLD","mapreduce.map.skip.proc-count.auto-incr":"true","fs.s3a.committer.name":"file","mapreduce.task.profile.reduces":"0-2","hadoop.zk.num-retries":"1000","yarn.webapp.xfs-filter.enabled":"true","fs.viewfs.overload.scheme.target.hdfs.impl":"org.apache.hadoop.hdfs.DistributedFileSystem","seq.io.sort.mb":"100","yarn.scheduler.configuration.max.version":"100","yarn.timeline-service.webapp.https.address":"${yarn.timeline-service.hostname}:8190","yarn.resourcemanager.scheduler.address":"${yarn.resourcemanager.hostname}:8030","yarn.node-labels.enabled":"false","yarn.resourcemanager.webapp.ui-actions.enabled":"true","mapreduce.task.timeout":"600000","yarn.sharedcache.client-server.thread-count":"50","hadoop.security.groups.shell.command.timeout":"0s","hadoop.security.crypto.cipher.suite":"AES/CTR/NoPadding","yarn.nodemanager.elastic-memory-control.oom-handler":"org.apache.hadoop.yarn.server.nodemanager.containermanager.linux.resources.DefaultOOMHandler","yarn.resourcemanager.connect.max-wait.ms":"900000","fs.defaultFS":"file:///","yarn.minicluster.use-rpc":"false","ipc.[port_number].decay-scheduler.decay-factor":"0.5","fs.har.impl.disable.cache":"true","yarn.webapp.ui2.enable":"false","io.compression.codec.bzip2.library":"system-native","yarn.webapp.filter-invalid-xml-chars":"false","yarn.nodemanager.runtime.linux.runc.layer-mounts-interval-secs":"600","fs.s3a.select.input.csv.record.delimiter":"\\n","fs.s3a.change.detection.source":"etag","ipc.[port_number].backoff.enable":"false","yarn.nodemanager.distributed-scheduling.enabled":"false","mapreduce.shuffle.connection-keep-alive.timeout":"5","yarn.resourcemanager.webapp.https.address":"${yarn.resourcemanager.hostname}:8090","yarn.webapp.enable-rest-app-submissions":"true","mapreduce.jobhistory.address":"0.0.0.0:10020","yarn.resourcemanager.nm-tokens.master-key-rolling-interval-secs":"*********(redacted)","yarn.is.minicluster":"false","yarn.nodemanager.address":"${yarn.nodemanager.hostname}:0","fs.abfss.impl":"org.apache.hadoop.fs.azurebfs.SecureAzureBlobFileSystem","fs.AbstractFileSystem.s3a.impl":"org.apache.hadoop.fs.s3a.S3A","mapreduce.task.combine.progress.records":"10000","yarn.resourcemanager.epoch.range":"0","yarn.resourcemanager.am.max-attempts":"2","yarn.nodemanager.runtime.linux.runc.image-toplevel-dir":"/runc-root","yarn.nodemanager.linux-container-executor.cgroups.hierarchy":"/hadoop-yarn","fs.AbstractFileSystem.wasbs.impl":"org.apache.hadoop.fs.azure.Wasbs","yarn.timeline-service.entity-group-fs-store.cache-store-class":"org.apache.hadoop.yarn.server.timeline.MemoryTimelineStore","yarn.nodemanager.runtime.linux.runc.allowed-container-networks":"host,none,bridge","fs.ftp.transfer.mode":"BLOCK_TRANSFER_MODE","ipc.server.log.slow.rpc":"false","ipc.server.reuseaddr":"true","fs.ftp.timeout":"0","yarn.resourcemanager.node-labels.provider.fetch-interval-ms":"1800000","yarn.router.webapp.https.address":"0.0.0.0:8091","yarn.nodemanager.webapp.cross-origin.enabled":"false","fs.wasb.impl":"org.apache.hadoop.fs.azure.NativeAzureFileSystem","yarn.resourcemanager.auto-update.containers":"false","yarn.app.mapreduce.am.job.committer.cancel-timeout":"60000","yarn.scheduler.configuration.zk-store.parent-path":"/confstore","yarn.nodemanager.default-container-executor.log-dirs.permissions":"710","yarn.app.attempt.diagnostics.limit.kc":"64","fs.viewfs.overload.scheme.target.swebhdfs.impl":"org.apache.hadoop.hdfs.web.SWebHdfsFileSystem","yarn.client.failover-no-ha-proxy-provider":"org.apache.hadoop.yarn.client.DefaultNoHARMFailoverProxyProvider","fs.s3a.change.detection.mode":"server","ftp.bytes-per-checksum":"512","yarn.nodemanager.resource.memory-mb":"-1","fs.AbstractFileSystem.abfs.impl":"org.apache.hadoop.fs.azurebfs.Abfs","yarn.timeline-service.writer.flush-interval-seconds":"60","fs.s3a.fast.upload.active.blocks":"4","yarn.resourcemanager.submission-preprocessor.enabled":"false","hadoop.security.credential.clear-text-fallback":"true","yarn.nodemanager.collector-service.thread-count":"5","ipc.[port_number].scheduler.impl":"org.apache.hadoop.ipc.DefaultRpcScheduler","fs.azure.secure.mode":"false","mapreduce.jobhistory.joblist.cache.size":"20000","fs.ftp.host":"0.0.0.0","yarn.timeline-service.writer.async.queue.capacity":"100","yarn.resourcemanager.fs.state-store.num-retries":"0","yarn.resourcemanager.nodemanager-connect-retries":"10","yarn.nodemanager.log-aggregation.num-log-files-per-app":"30","hadoop.security.kms.client.encrypted.key.cache.low-watermark":"0.3f","fs.s3a.committer.magic.enabled":"true","yarn.timeline-service.client.max-retries":"30","dfs.ha.fencing.ssh.connect-timeout":"30000","yarn.log-aggregation-enable":"false","yarn.system-metrics-publisher.enabled":"false","mapreduce.reduce.markreset.buffer.percent":"0.0","fs.AbstractFileSystem.viewfs.impl":"org.apache.hadoop.fs.viewfs.ViewFs","yarn.resourcemanager.nodemanagers.heartbeat-interval-speedup-factor":"1.0","mapreduce.task.io.sort.factor":"10","yarn.nodemanager.amrmproxy.client.thread-count":"25","ha.failover-controller.new-active.rpc-timeout.ms":"60000","yarn.nodemanager.container-localizer.java.opts":"-Xmx256m","mapreduce.jobhistory.datestring.cache.size":"200000","mapreduce.job.acl-modify-job":" ","yarn.nodemanager.windows-container.memory-limit.enabled":"false","yarn.timeline-service.webapp.address":"${yarn.timeline-service.hostname}:8188","yarn.app.mapreduce.am.job.committer.commit-window":"10000","yarn.nodemanager.container-manager.thread-count":"20","yarn.minicluster.fixed.ports":"false","hadoop.tags.system":"YARN,HDFS,NAMENODE,DATANODE,REQUIRED,SECURITY,KERBEROS,PERFORMANCE,CLIENT\n ,SERVER,DEBUG,DEPRECATED,COMMON,OPTIONAL","yarn.cluster.max-application-priority":"0","yarn.timeline-service.ttl-enable":"true","mapreduce.jobhistory.recovery.store.fs.uri":"${hadoop.tmp.dir}/mapred/history/recoverystore","hadoop.caller.context.signature.max.size":"40","ipc.[port_number].decay-scheduler.backoff.responsetime.enable":"false","yarn.client.load.resource-types.from-server":"false","ha.zookeeper.session-timeout.ms":"10000","ipc.[port_number].decay-scheduler.metrics.top.user.count":"10","tfile.io.chunk.size":"1048576","fs.s3a.s3guard.ddb.table.capacity.write":"0","yarn.dispatcher.print-events-info.threshold":"5000","mapreduce.job.speculative.slowtaskthreshold":"1.0","io.serializations":"org.apache.hadoop.io.serializer.WritableSerialization, org.apache.hadoop.io.serializer.avro.AvroSpecificSerialization, org.apache.hadoop.io.serializer.avro.AvroReflectSerialization","hadoop.security.kms.client.failover.sleep.max.millis":"2000","hadoop.security.group.mapping.ldap.directory.search.timeout":"10000","yarn.scheduler.configuration.store.max-logs":"1000","yarn.nodemanager.node-attributes.provider.fetch-interval-ms":"600000","fs.swift.impl":"org.apache.hadoop.fs.swift.snative.SwiftNativeFileSystem","yarn.nodemanager.local-cache.max-files-per-directory":"8192","hadoop.http.cross-origin.enabled":"false","hadoop.zk.acl":"world:anyone:rwcda","yarn.nodemanager.runtime.linux.runc.image-tag-to-manifest-plugin.num-manifests-to-cache":"10","mapreduce.map.sort.spill.percent":"0.80","yarn.timeline-service.entity-group-fs-store.scan-interval-seconds":"60","yarn.node-attribute.fs-store.impl.class":"org.apache.hadoop.yarn.server.resourcemanager.nodelabels.FileSystemNodeAttributeStore","fs.s3a.retry.interval":"500ms","yarn.timeline-service.client.best-effort":"false","yarn.resourcemanager.webapp.delegation-token-auth-filter.enabled":"*********(redacted)","hadoop.security.group.mapping.ldap.posix.attr.uid.name":"uidNumber","fs.AbstractFileSystem.swebhdfs.impl":"org.apache.hadoop.fs.SWebHdfs","yarn.nodemanager.elastic-memory-control.timeout-sec":"5","fs.s3a.select.enabled":"true","mapreduce.ifile.readahead":"true","yarn.timeline-service.leveldb-timeline-store.ttl-interval-ms":"300000","yarn.timeline-service.reader.webapp.address":"${yarn.timeline-service.webapp.address}","yarn.resourcemanager.placement-constraints.algorithm.pool-size":"1","yarn.timeline-service.hbase.coprocessor.jar.hdfs.location":"/hbase/coprocessor/hadoop-yarn-server-timelineservice.jar","hadoop.security.kms.client.encrypted.key.cache.num.refill.threads":"2","yarn.resourcemanager.scheduler.class":"org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacityScheduler","yarn.app.mapreduce.am.command-opts":"-Xmx1024m","fs.s3a.metadatastore.fail.on.write.error":"true","hadoop.http.sni.host.check.enabled":"false","mapreduce.cluster.local.dir":"${hadoop.tmp.dir}/mapred/local","io.mapfile.bloom.error.rate":"0.005","fs.client.resolve.topology.enabled":"false","yarn.nodemanager.runtime.linux.allowed-runtimes":"default","yarn.sharedcache.store.class":"org.apache.hadoop.yarn.server.sharedcachemanager.store.InMemorySCMStore","ha.failover-controller.graceful-fence.rpc-timeout.ms":"5000","ftp.replication":"3","fs.getspaceused.jitterMillis":"60000","hadoop.security.uid.cache.secs":"14400","mapreduce.job.maxtaskfailures.per.tracker":"3","fs.s3a.metadatastore.impl":"org.apache.hadoop.fs.s3a.s3guard.NullMetadataStore","io.skip.checksum.errors":"false","yarn.app.mapreduce.client-am.ipc.max-retries-on-timeouts":"3","yarn.timeline-service.webapp.xfs-filter.xframe-options":"SAMEORIGIN","fs.s3a.connection.timeout":"200000","yarn.app.mapreduce.am.webapp.https.enabled":"false","mapreduce.job.max.split.locations":"15","yarn.resourcemanager.nm-container-queuing.max-queue-length":"15","yarn.resourcemanager.delegation-token.always-cancel":"*********(redacted)","hadoop.registry.zk.session.timeout.ms":"60000","yarn.federation.cache-ttl.secs":"300","mapreduce.jvm.system-properties-to-log":"os.name,os.version,java.home,java.runtime.version,java.vendor,java.version,java.vm.name,java.class.path,java.io.tmpdir,user.dir,user.name","yarn.resourcemanager.opportunistic-container-allocation.nodes-used":"10","yarn.timeline-service.entity-group-fs-store.active-dir":"/tmp/entity-file-history/active","mapreduce.shuffle.transfer.buffer.size":"131072","yarn.timeline-service.client.retry-interval-ms":"1000","yarn.timeline-service.flowname.max-size":"0","yarn.http.policy":"HTTP_ONLY","fs.s3a.socket.send.buffer":"8192","fs.AbstractFileSystem.abfss.impl":"org.apache.hadoop.fs.azurebfs.Abfss","yarn.sharedcache.uploader.server.address":"0.0.0.0:8046","yarn.resourcemanager.delegation-token.max-conf-size-bytes":"*********(redacted)","hadoop.http.authentication.token.validity":"*********(redacted)","mapreduce.shuffle.max.connections":"0","yarn.minicluster.yarn.nodemanager.resource.memory-mb":"4096","mapreduce.job.emit-timeline-data":"false","yarn.nodemanager.resource.system-reserved-memory-mb":"-1","hadoop.kerberos.min.seconds.before.relogin":"60","mapreduce.jobhistory.move.thread-count":"3","yarn.resourcemanager.admin.client.thread-count":"1","yarn.dispatcher.drain-events.timeout":"300000","ipc.[port_number].decay-scheduler.backoff.responsetime.thresholds":"10s,20s,30s,40s","fs.s3a.buffer.dir":"${hadoop.tmp.dir}/s3a","hadoop.ssl.enabled.protocols":"TLSv1.2","mapreduce.jobhistory.admin.address":"0.0.0.0:10033","yarn.log-aggregation-status.time-out.ms":"600000","fs.s3a.accesspoint.required":"false","mapreduce.shuffle.port":"13562","yarn.resourcemanager.max-log-aggregation-diagnostics-in-memory":"10","yarn.nodemanager.health-checker.interval-ms":"600000","yarn.resourcemanager.proxy.connection.timeout":"60000","yarn.router.clientrm.interceptor-class.pipeline":"org.apache.hadoop.yarn.server.router.clientrm.DefaultClientRequestInterceptor","yarn.resourcemanager.zk-appid-node.split-index":"0","ftp.blocksize":"67108864","yarn.nodemanager.runtime.linux.sandbox-mode.local-dirs.permissions":"read","yarn.router.rmadmin.interceptor-class.pipeline":"org.apache.hadoop.yarn.server.router.rmadmin.DefaultRMAdminRequestInterceptor","yarn.nodemanager.log-container-debug-info.enabled":"true","yarn.resourcemanager.activities-manager.app-activities.max-queue-length":"100","yarn.resourcemanager.application-https.policy":"NONE","yarn.client.max-cached-nodemanagers-proxies":"0","yarn.nodemanager.linux-container-executor.cgroups.delete-delay-ms":"20","yarn.nodemanager.delete.debug-delay-sec":"0","yarn.nodemanager.pmem-check-enabled":"true","yarn.nodemanager.disk-health-checker.max-disk-utilization-per-disk-percentage":"90.0","mapreduce.app-submission.cross-platform":"false","yarn.resourcemanager.work-preserving-recovery.scheduling-wait-ms":"10000","yarn.nodemanager.container-retry-minimum-interval-ms":"1000","hadoop.security.groups.cache.secs":"300","yarn.federation.enabled":"false","yarn.workflow-id.tag-prefix":"workflowid:","fs.azure.local.sas.key.mode":"false","ipc.maximum.data.length":"134217728","fs.s3a.endpoint":"http://minio:9000","mapreduce.shuffle.max.threads":"0","yarn.router.pipeline.cache-max-size":"25","yarn.resourcemanager.nm-container-queuing.load-comparator":"QUEUE_LENGTH","yarn.resourcemanager.resource-tracker.nm.ip-hostname-check":"false","hadoop.security.authorization":"false","mapreduce.job.complete.cancel.delegation.tokens":"*********(redacted)","fs.s3a.paging.maximum":"5000","nfs.exports.allowed.hosts":"* rw","yarn.nodemanager.amrmproxy.ha.enable":"false","fs.AbstractFileSystem.gs.impl":"com.google.cloud.hadoop.fs.gcs.GoogleHadoopFS","mapreduce.jobhistory.http.policy":"HTTP_ONLY","yarn.sharedcache.store.in-memory.check-period-mins":"720","hadoop.security.group.mapping.ldap.ssl":"false","fs.s3a.downgrade.syncable.exceptions":"true","yarn.client.application-client-protocol.poll-interval-ms":"200","yarn.scheduler.configuration.leveldb-store.compaction-interval-secs":"86400","yarn.timeline-service.writer.class":"org.apache.hadoop.yarn.server.timelineservice.storage.HBaseTimelineWriterImpl","ha.zookeeper.parent-znode":"/hadoop-ha","yarn.resourcemanager.submission-preprocessor.file-refresh-interval-ms":"60000","yarn.nodemanager.log-aggregation.policy.class":"org.apache.hadoop.yarn.server.nodemanager.containermanager.logaggregation.AllContainerLogAggregationPolicy","mapreduce.reduce.shuffle.merge.percent":"0.66","hadoop.security.group.mapping.ldap.search.filter.group":"(objectClass=group)","yarn.resourcemanager.placement-constraints.scheduler.pool-size":"1","yarn.resourcemanager.activities-manager.cleanup-interval-ms":"5000","yarn.nodemanager.resourcemanager.minimum.version":"NONE","mapreduce.job.speculative.speculative-cap-running-tasks":"0.1","yarn.admin.acl":"*","ipc.[port_number].identity-provider.impl":"org.apache.hadoop.ipc.UserIdentityProvider","yarn.nodemanager.recovery.supervised":"false","yarn.sharedcache.admin.thread-count":"1","yarn.resourcemanager.ha.automatic-failover.enabled":"true","yarn.nodemanager.container-log-monitor.total-size-limit-bytes":"10000000000","mapreduce.reduce.skip.maxgroups":"0","mapreduce.reduce.shuffle.connect.timeout":"180000","yarn.nodemanager.health-checker.scripts":"script","yarn.resourcemanager.address":"${yarn.resourcemanager.hostname}:8032","ipc.client.ping":"true","mapreduce.task.local-fs.write-limit.bytes":"-1","fs.adl.oauth2.access.token.provider.type":"*********(redacted)","mapreduce.shuffle.ssl.file.buffer.size":"65536","yarn.resourcemanager.ha.automatic-failover.embedded":"true","yarn.nodemanager.resource-plugins.gpu.docker-plugin":"nvidia-docker-v1","fs.s3a.s3guard.consistency.retry.interval":"2s","fs.s3a.multipart.purge":"false","yarn.scheduler.configuration.store.class":"file","yarn.resourcemanager.nm-container-queuing.queue-limit-stdev":"1.0f","mapreduce.job.end-notification.max.attempts":"5","mapreduce.output.fileoutputformat.compress.codec":"org.apache.hadoop.io.compress.DefaultCodec","yarn.nodemanager.container-monitor.procfs-tree.smaps-based-rss.enabled":"false","ipc.client.bind.wildcard.addr":"false","yarn.resourcemanager.webapp.rest-csrf.enabled":"false","ha.health-monitor.connect-retry-interval.ms":"1000","yarn.nodemanager.keytab":"/etc/krb5.keytab","mapreduce.jobhistory.keytab":"/etc/security/keytab/jhs.service.keytab","fs.s3a.threads.max":"64","yarn.nodemanager.runtime.linux.docker.image-update":"false","mapreduce.reduce.shuffle.input.buffer.percent":"0.70","fs.viewfs.overload.scheme.target.abfss.impl":"org.apache.hadoop.fs.azurebfs.SecureAzureBlobFileSystem","yarn.dispatcher.cpu-monitor.samples-per-min":"60","hadoop.security.token.service.use_ip":"*********(redacted)","yarn.nodemanager.runtime.linux.docker.allowed-container-networks":"host,none,bridge","yarn.nodemanager.node-labels.resync-interval-ms":"120000","hadoop.tmp.dir":"/tmp/hadoop-${user.name}","mapreduce.job.maps":"2","mapreduce.jobhistory.webapp.rest-csrf.custom-header":"X-XSRF-Header","mapreduce.job.end-notification.max.retry.interval":"5000","yarn.log-aggregation.retain-check-interval-seconds":"-1","yarn.resourcemanager.resource-tracker.client.thread-count":"50","yarn.nodemanager.containers-launcher.class":"org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainersLauncher","yarn.rm.system-metrics-publisher.emit-container-events":"false","yarn.timeline-service.leveldb-timeline-store.start-time-read-cache-size":"10000","yarn.resourcemanager.ha.automatic-failover.zk-base-path":"/yarn-leader-election","io.seqfile.local.dir":"${hadoop.tmp.dir}/io/local","fs.s3a.s3guard.ddb.throttle.retry.interval":"100ms","fs.AbstractFileSystem.wasb.impl":"org.apache.hadoop.fs.azure.Wasb","mapreduce.client.submit.file.replication":"10","mapreduce.jobhistory.minicluster.fixed.ports":"false","fs.s3a.multipart.threshold":"128M","yarn.resourcemanager.webapp.xfs-filter.xframe-options":"SAMEORIGIN","mapreduce.jobhistory.done-dir":"${yarn.app.mapreduce.am.staging-dir}/history/done","ipc.server.purge.interval":"15","ipc.client.idlethreshold":"4000","yarn.nodemanager.linux-container-executor.cgroups.strict-resource-usage":"false","mapreduce.reduce.input.buffer.percent":"0.0","yarn.nodemanager.runtime.linux.docker.userremapping-gid-threshold":"1","yarn.nodemanager.webapp.rest-csrf.enabled":"false","fs.ftp.host.port":"21","ipc.ping.interval":"60000","yarn.resourcemanager.history-writer.multi-threaded-dispatcher.pool-size":"10","yarn.resourcemanager.admin.address":"${yarn.resourcemanager.hostname}:8033","file.client-write-packet-size":"65536","ipc.client.kill.max":"10","mapreduce.reduce.speculative":"true","hadoop.security.key.default.bitlength":"128","mapreduce.job.reducer.unconditional-preempt.delay.sec":"300","yarn.nodemanager.disk-health-checker.interval-ms":"120000","yarn.nodemanager.log.deletion-threads-count":"4","fs.s3a.committer.abort.pending.uploads":"true","yarn.webapp.filter-entity-list-by-user":"false","yarn.resourcemanager.activities-manager.app-activities.ttl-ms":"600000","ipc.client.connection.maxidletime":"10000","mapreduce.task.io.sort.mb":"100","yarn.nodemanager.localizer.client.thread-count":"5","io.erasurecode.codec.rs.rawcoders":"rs_native,rs_java","io.erasurecode.codec.rs-legacy.rawcoders":"rs-legacy_java","yarn.sharedcache.admin.address":"0.0.0.0:8047","yarn.resourcemanager.placement-constraints.algorithm.iterator":"SERIAL","yarn.nodemanager.localizer.cache.cleanup.interval-ms":"600000","hadoop.security.crypto.codec.classes.aes.ctr.nopadding":"org.apache.hadoop.crypto.OpensslAesCtrCryptoCodec, org.apache.hadoop.crypto.JceAesCtrCryptoCodec","mapreduce.job.cache.limit.max-resources-mb":"0","fs.s3a.connection.ssl.enabled":"false","yarn.nodemanager.process-kill-wait.ms":"5000","mapreduce.job.hdfs-servers":"${fs.defaultFS}","yarn.app.mapreduce.am.webapp.https.client.auth":"false","hadoop.workaround.non.threadsafe.getpwuid":"true","fs.df.interval":"60000","ipc.[port_number].decay-scheduler.thresholds":"13,25,50","fs.s3a.multiobjectdelete.enable":"true","yarn.sharedcache.cleaner.resource-sleep-ms":"0","yarn.nodemanager.disk-health-checker.min-healthy-disks":"0.25","hadoop.shell.missing.defaultFs.warning":"false","io.file.buffer.size":"65536","fs.viewfs.overload.scheme.target.wasb.impl":"org.apache.hadoop.fs.azure.NativeAzureFileSystem","hadoop.security.group.mapping.ldap.search.attr.member":"member","hadoop.security.random.device.file.path":"/dev/urandom","hadoop.security.sensitive-config-keys":"*********(redacted)","fs.s3a.s3guard.ddb.max.retries":"9","fs.viewfs.overload.scheme.target.file.impl":"org.apache.hadoop.fs.LocalFileSystem","hadoop.rpc.socket.factory.class.default":"org.apache.hadoop.net.StandardSocketFactory","yarn.intermediate-data-encryption.enable":"false","yarn.resourcemanager.connect.retry-interval.ms":"30000","yarn.nodemanager.container.stderr.pattern":"{*stderr*,*STDERR*}","yarn.scheduler.minimum-allocation-mb":"1024","yarn.app.mapreduce.am.staging-dir":"/tmp/hadoop-yarn/staging","mapreduce.reduce.shuffle.read.timeout":"180000","hadoop.http.cross-origin.max-age":"1800","io.erasurecode.codec.xor.rawcoders":"xor_native,xor_java","fs.s3a.s3guard.consistency.retry.limit":"7","fs.s3a.connection.establish.timeout":"5000","mapreduce.job.running.map.limit":"0","yarn.minicluster.control-resource-monitoring":"false","hadoop.ssl.require.client.cert":"false","hadoop.kerberos.kinit.command":"kinit","yarn.federation.state-store.class":"org.apache.hadoop.yarn.server.federation.store.impl.MemoryFederationStateStore","mapreduce.reduce.log.level":"INFO","hadoop.security.dns.log-slow-lookups.threshold.ms":"1000","mapreduce.job.ubertask.enable":"false","adl.http.timeout":"-1","yarn.resourcemanager.placement-constraints.retry-attempts":"3","hadoop.caller.context.enabled":"false","hadoop.security.group.mapping.ldap.num.attempts":"3","yarn.nodemanager.vmem-pmem-ratio":"2.1","hadoop.rpc.protection":"authentication","ha.health-monitor.rpc-timeout.ms":"45000","yarn.nodemanager.remote-app-log-dir":"/tmp/logs","hadoop.zk.timeout-ms":"10000","fs.s3a.s3guard.cli.prune.age":"86400000","yarn.nodemanager.resource.pcores-vcores-multiplier":"1.0","yarn.nodemanager.runtime.linux.sandbox-mode":"disabled","yarn.app.mapreduce.am.containerlauncher.threadpool-initial-size":"10","fs.viewfs.overload.scheme.target.webhdfs.impl":"org.apache.hadoop.hdfs.web.WebHdfsFileSystem","fs.s3a.committer.threads":"8","hadoop.zk.retry-interval-ms":"1000","hadoop.security.crypto.buffer.size":"8192","yarn.nodemanager.node-labels.provider.fetch-interval-ms":"600000","mapreduce.jobhistory.recovery.store.leveldb.path":"${hadoop.tmp.dir}/mapred/history/recoverystore","yarn.client.failover-retries-on-socket-timeouts":"0","fs.s3a.ssl.channel.mode":"default_jsse","yarn.nodemanager.resource.memory.enabled":"false","fs.azure.authorization.caching.enable":"true","fs.s3a.access.key":"*********(redacted)","hadoop.security.instrumentation.requires.admin":"false","yarn.nodemanager.delete.thread-count":"4","mapreduce.job.finish-when-all-reducers-done":"true","hadoop.registry.jaas.context":"Client","yarn.timeline-service.leveldb-timeline-store.path":"${hadoop.tmp.dir}/yarn/timeline","io.map.index.interval":"128","yarn.resourcemanager.nm-container-queuing.max-queue-wait-time-ms":"100","fs.abfs.impl":"org.apache.hadoop.fs.azurebfs.AzureBlobFileSystem","mapreduce.job.counters.max":"120","mapreduce.jobhistory.webapp.rest-csrf.enabled":"false","yarn.timeline-service.store-class":"org.apache.hadoop.yarn.server.timeline.LeveldbTimelineStore","mapreduce.jobhistory.move.interval-ms":"180000","fs.s3a.change.detection.version.required":"true","yarn.nodemanager.localizer.fetch.thread-count":"4","yarn.resourcemanager.scheduler.client.thread-count":"50","hadoop.ssl.hostname.verifier":"DEFAULT","yarn.timeline-service.leveldb-state-store.path":"${hadoop.tmp.dir}/yarn/timeline","mapreduce.job.classloader":"false","mapreduce.task.profile.map.params":"${mapreduce.task.profile.params}","ipc.client.connect.timeout":"20000","hadoop.security.auth_to_local.mechanism":"hadoop","yarn.timeline-service.app-collector.linger-period.ms":"60000","yarn.nm.liveness-monitor.expiry-interval-ms":"600000","yarn.resourcemanager.reservation-system.planfollower.time-step":"1000","yarn.resourcemanager.proxy.timeout.enabled":"true","yarn.resourcemanager.activities-manager.scheduler-activities.ttl-ms":"600000","yarn.nodemanager.runtime.linux.docker.enable-userremapping.allowed":"true","yarn.webapp.api-service.enable":"false","yarn.nodemanager.recovery.enabled":"false","mapreduce.job.end-notification.retry.interval":"1000","fs.du.interval":"600000","fs.ftp.impl":"org.apache.hadoop.fs.ftp.FTPFileSystem","yarn.nodemanager.container.stderr.tail.bytes":"4096","yarn.nodemanager.disk-health-checker.disk-free-space-threshold.enabled":"true","hadoop.security.group.mapping.ldap.read.timeout.ms":"60000","hadoop.security.groups.cache.warn.after.ms":"5000","file.bytes-per-checksum":"512","mapreduce.outputcommitter.factory.scheme.s3a":"org.apache.hadoop.fs.s3a.commit.S3ACommitterFactory","hadoop.security.groups.cache.background.reload":"false","yarn.nodemanager.container-monitor.enabled":"true","yarn.nodemanager.elastic-memory-control.enabled":"false","net.topology.script.number.args":"100","mapreduce.task.merge.progress.records":"10000","yarn.nodemanager.localizer.address":"${yarn.nodemanager.hostname}:8040","yarn.timeline-service.keytab":"/etc/krb5.keytab","mapreduce.reduce.shuffle.fetch.retry.timeout-ms":"30000","yarn.resourcemanager.rm.container-allocation.expiry-interval-ms":"600000","yarn.nodemanager.container-executor.exit-code-file.timeout-ms":"2000","mapreduce.fileoutputcommitter.algorithm.version":"1","yarn.resourcemanager.work-preserving-recovery.enabled":"true","mapreduce.map.skip.maxrecords":"0","yarn.sharedcache.root-dir":"/sharedcache","fs.s3a.retry.throttle.limit":"20","hadoop.http.authentication.type":"simple","fs.viewfs.overload.scheme.target.oss.impl":"org.apache.hadoop.fs.aliyun.oss.AliyunOSSFileSystem","mapreduce.job.cache.limit.max-resources":"0","mapreduce.task.userlog.limit.kb":"0","ipc.[port_number].weighted-cost.handler":"1","yarn.resourcemanager.scheduler.monitor.enable":"false","ipc.client.connect.max.retries":"10","hadoop.registry.zk.retry.times":"5","yarn.nodemanager.resource-monitor.interval-ms":"3000","yarn.nodemanager.resource-plugins.gpu.allowed-gpu-devices":"auto","mapreduce.job.sharedcache.mode":"disabled","yarn.nodemanager.webapp.rest-csrf.custom-header":"X-XSRF-Header","mapreduce.shuffle.listen.queue.size":"128","yarn.scheduler.configuration.mutation.acl-policy.class":"org.apache.hadoop.yarn.server.resourcemanager.scheduler.DefaultConfigurationMutationACLPolicy","mapreduce.map.cpu.vcores":"1","yarn.log-aggregation.file-formats":"TFile","yarn.timeline-service.client.fd-retain-secs":"300","fs.s3a.select.output.csv.field.delimiter":",","yarn.nodemanager.health-checker.timeout-ms":"1200000","hadoop.user.group.static.mapping.overrides":"dr.who=;","fs.azure.sas.expiry.period":"90d","fs.s3a.select.output.csv.record.delimiter":"\\n","mapreduce.jobhistory.recovery.store.class":"org.apache.hadoop.mapreduce.v2.hs.HistoryServerFileSystemStateStoreService","fs.viewfs.overload.scheme.target.https.impl":"org.apache.hadoop.fs.http.HttpsFileSystem","fs.s3a.s3guard.ddb.table.sse.enabled":"false","yarn.resourcemanager.fail-fast":"${yarn.fail-fast}","yarn.resourcemanager.proxy-user-privileges.enabled":"false","yarn.router.webapp.interceptor-class.pipeline":"org.apache.hadoop.yarn.server.router.webapp.DefaultRequestInterceptorREST","yarn.nodemanager.resource.memory.cgroups.soft-limit-percentage":"90.0","mapreduce.job.reducer.preempt.delay.sec":"0","hadoop.util.hash.type":"murmur","yarn.nodemanager.disk-validator":"basic","yarn.app.mapreduce.client.job.max-retries":"3","fs.viewfs.overload.scheme.target.ftp.impl":"org.apache.hadoop.fs.ftp.FTPFileSystem","mapreduce.reduce.shuffle.retry-delay.max.ms":"60000","hadoop.security.group.mapping.ldap.connection.timeout.ms":"60000","mapreduce.task.profile.params":"-agentlib:hprof=cpu=samples,heap=sites,force=n,thread=y,verbose=n,file=%s","yarn.app.mapreduce.shuffle.log.backups":"0","yarn.nodemanager.container-diagnostics-maximum-size":"10000","hadoop.registry.zk.retry.interval.ms":"1000","yarn.nodemanager.linux-container-executor.cgroups.delete-timeout-ms":"1000","fs.AbstractFileSystem.file.impl":"org.apache.hadoop.fs.local.LocalFs","yarn.nodemanager.log-aggregation.roll-monitoring-interval-seconds":"-1","mapreduce.jobhistory.cleaner.interval-ms":"86400000","hadoop.registry.zk.quorum":"localhost:2181","yarn.nodemanager.runtime.linux.runc.allowed-container-runtimes":"runc","mapreduce.output.fileoutputformat.compress":"false","yarn.resourcemanager.am-rm-tokens.master-key-rolling-interval-secs":"*********(redacted)","fs.s3a.assumed.role.session.duration":"30m","hadoop.security.group.mapping.ldap.conversion.rule":"none","hadoop.ssl.server.conf":"ssl-server.xml","fs.s3a.retry.throttle.interval":"100ms","seq.io.sort.factor":"100","fs.viewfs.overload.scheme.target.ofs.impl":"org.apache.hadoop.fs.ozone.RootedOzoneFileSystem","yarn.sharedcache.cleaner.initial-delay-mins":"10","mapreduce.client.completion.pollinterval":"5000","hadoop.ssl.keystores.factory.class":"org.apache.hadoop.security.ssl.FileBasedKeyStoresFactory","yarn.app.mapreduce.am.resource.cpu-vcores":"1","yarn.timeline-service.enabled":"false","yarn.nodemanager.runtime.linux.docker.capabilities":"CHOWN,DAC_OVERRIDE,FSETID,FOWNER,MKNOD,NET_RAW,SETGID,SETUID,SETFCAP,SETPCAP,NET_BIND_SERVICE,SYS_CHROOT,KILL,AUDIT_WRITE","yarn.acl.enable":"false","yarn.timeline-service.entity-group-fs-store.done-dir":"/tmp/entity-file-history/done/","hadoop.security.group.mapping.ldap.num.attempts.before.failover":"3","mapreduce.task.profile":"false","hadoop.prometheus.endpoint.enabled":"false","yarn.resourcemanager.fs.state-store.uri":"${hadoop.tmp.dir}/yarn/system/rmstore","mapreduce.jobhistory.always-scan-user-dir":"false","fs.s3a.metadatastore.metadata.ttl":"15m","yarn.nodemanager.opportunistic-containers-use-pause-for-preemption":"false","yarn.nodemanager.linux-container-executor.nonsecure-mode.local-user":"nobody","yarn.timeline-service.reader.class":"org.apache.hadoop.yarn.server.timelineservice.storage.HBaseTimelineReaderImpl","yarn.resourcemanager.configuration.provider-class":"org.apache.hadoop.yarn.LocalConfigurationProvider","yarn.nodemanager.runtime.linux.docker.userremapping-uid-threshold":"1","yarn.resourcemanager.configuration.file-system-based-store":"/yarn/conf","mapreduce.job.cache.limit.max-single-resource-mb":"0","yarn.nodemanager.runtime.linux.docker.stop.grace-period":"10","yarn.resourcemanager.resource-profiles.source-file":"resource-profiles.json","mapreduce.job.dfs.storage.capacity.kill-limit-exceed":"false","yarn.nodemanager.resource.percentage-physical-cpu-limit":"100","mapreduce.jobhistory.client.thread-count":"10","tfile.fs.input.buffer.size":"262144","mapreduce.client.progressmonitor.pollinterval":"1000","yarn.nodemanager.log-dirs":"${yarn.log.dir}/userlogs","yarn.resourcemanager.opportunistic.max.container-allocation.per.am.heartbeat":"-1","fs.automatic.close":"true","yarn.resourcemanager.delegation-token-renewer.thread-retry-interval":"*********(redacted)","fs.s3a.select.input.csv.quote.character":"\"","yarn.nodemanager.hostname":"0.0.0.0","ipc.[port_number].cost-provider.impl":"org.apache.hadoop.ipc.DefaultCostProvider","yarn.nodemanager.runtime.linux.runc.manifest-to-resources-plugin":"org.apache.hadoop.yarn.server.nodemanager.containermanager.linux.runtime.runc.HdfsManifestToResourcesPlugin","yarn.nodemanager.remote-app-log-dir-include-older":"true","yarn.nodemanager.resource.memory.cgroups.swappiness":"0","ftp.stream-buffer-size":"4096","yarn.fail-fast":"false","yarn.nodemanager.runtime.linux.runc.layer-mounts-to-keep":"100","yarn.timeline-service.app-aggregation-interval-secs":"15","hadoop.security.group.mapping.ldap.search.filter.user":"(&(objectClass=user)(sAMAccountName={0}))","ipc.[port_number].weighted-cost.lockshared":"10","yarn.nodemanager.container-localizer.log.level":"INFO","yarn.timeline-service.address":"${yarn.timeline-service.hostname}:10200","mapreduce.job.ubertask.maxmaps":"9","fs.s3a.threads.keepalivetime":"60","mapreduce.jobhistory.webapp.rest-csrf.methods-to-ignore":"GET,OPTIONS,HEAD","mapreduce.task.files.preserve.failedtasks":"false","yarn.app.mapreduce.client.job.retry-interval":"2000","ha.failover-controller.graceful-fence.connection.retries":"1","fs.s3a.select.output.csv.quote.escape.character":"\\\\","yarn.resourcemanager.delegation.token.max-lifetime":"*********(redacted)","hadoop.kerberos.keytab.login.autorenewal.enabled":"false","yarn.timeline-service.client.drain-entities.timeout.ms":"2000","yarn.nodemanager.resource-plugins.fpga.vendor-plugin.class":"org.apache.hadoop.yarn.server.nodemanager.containermanager.resourceplugin.fpga.IntelFpgaOpenclPlugin","yarn.resourcemanager.nodemanagers.heartbeat-interval-min-ms":"1000","yarn.timeline-service.entity-group-fs-store.summary-store":"org.apache.hadoop.yarn.server.timeline.LeveldbTimelineStore","mapreduce.reduce.cpu.vcores":"1","mapreduce.job.encrypted-intermediate-data.buffer.kb":"128","fs.client.resolve.remote.symlinks":"true","yarn.nodemanager.webapp.https.address":"0.0.0.0:8044","hadoop.http.cross-origin.allowed-origins":"*","mapreduce.job.encrypted-intermediate-data":"false","yarn.nodemanager.disk-health-checker.disk-utilization-threshold.enabled":"true","fs.s3a.executor.capacity":"16","yarn.timeline-service.entity-group-fs-store.retain-seconds":"604800","yarn.resourcemanager.metrics.runtime.buckets":"60,300,1440","yarn.timeline-service.generic-application-history.max-applications":"10000","yarn.nodemanager.local-dirs":"${hadoop.tmp.dir}/nm-local-dir","mapreduce.shuffle.connection-keep-alive.enable":"false","yarn.node-labels.configuration-type":"centralized","fs.s3a.path.style.access":"true","yarn.nodemanager.aux-services.mapreduce_shuffle.class":"org.apache.hadoop.mapred.ShuffleHandler","yarn.sharedcache.store.in-memory.staleness-period-mins":"10080","fs.adl.impl":"org.apache.hadoop.fs.adl.AdlFileSystem","yarn.resourcemanager.application.max-tags":"10","hadoop.domainname.resolver.impl":"org.apache.hadoop.net.DNSDomainNameResolver","yarn.resourcemanager.nodemanager.minimum.version":"NONE","mapreduce.jobhistory.webapp.xfs-filter.xframe-options":"SAMEORIGIN","yarn.app.mapreduce.am.staging-dir.erasurecoding.enabled":"false","net.topology.impl":"org.apache.hadoop.net.NetworkTopology","io.map.index.skip":"0","yarn.timeline-service.reader.webapp.https.address":"${yarn.timeline-service.webapp.https.address}","fs.ftp.data.connection.mode":"ACTIVE_LOCAL_DATA_CONNECTION_MODE","mapreduce.job.local-fs.single-disk-limit.check.kill-limit-exceed":"true","fs.azure.buffer.dir":"${hadoop.tmp.dir}/abfs","yarn.scheduler.maximum-allocation-vcores":"4","hadoop.http.cross-origin.allowed-headers":"X-Requested-With,Content-Type,Accept,Origin","yarn.nodemanager.log-aggregation.compression-type":"none","yarn.timeline-service.version":"1.0f","yarn.ipc.rpc.class":"org.apache.hadoop.yarn.ipc.HadoopYarnProtoRPC","mapreduce.reduce.maxattempts":"4","yarn.resourcemanager.system-metrics-publisher.timeline-server-v1.batch-size":"1000","hadoop.security.dns.log-slow-lookups.enabled":"false","mapreduce.job.committer.setup.cleanup.needed":"true","hadoop.security.secure.random.impl":"org.apache.hadoop.crypto.random.OpensslSecureRandom","mapreduce.job.running.reduce.limit":"0","fs.s3a.select.errors.include.sql":"false","fs.s3a.connection.request.timeout":"0","ipc.maximum.response.length":"134217728","yarn.resourcemanager.webapp.rest-csrf.methods-to-ignore":"GET,OPTIONS,HEAD","mapreduce.job.token.tracking.ids.enabled":"*********(redacted)","hadoop.caller.context.max.size":"128","yarn.nodemanager.runtime.linux.docker.host-pid-namespace.allowed":"false","yarn.nodemanager.runtime.linux.docker.delayed-removal.allowed":"false","hadoop.registry.system.acls":"sasl:yarn@, sasl:mapred@, sasl:hdfs@","yarn.nodemanager.recovery.dir":"${hadoop.tmp.dir}/yarn-nm-recovery","fs.s3a.fast.upload.buffer":"disk","mapreduce.jobhistory.intermediate-done-dir":"${yarn.app.mapreduce.am.staging-dir}/history/done_intermediate","yarn.app.mapreduce.shuffle.log.separate":"true","yarn.log-aggregation.debug.filesize":"104857600","fs.s3a.max.total.tasks":"32","fs.s3a.readahead.range":"64K","hadoop.http.authentication.simple.anonymous.allowed":"true","fs.s3a.attempts.maximum":"20","hadoop.registry.zk.connection.timeout.ms":"15000","yarn.resourcemanager.delegation-token-renewer.thread-count":"*********(redacted)","yarn.resourcemanager.delegation-token-renewer.thread-timeout":"*********(redacted)","yarn.timeline-service.leveldb-timeline-store.start-time-write-cache-size":"10000","yarn.nodemanager.aux-services.manifest.reload-ms":"0","yarn.nodemanager.emit-container-events":"true","yarn.resourcemanager.resource-profiles.enabled":"false","yarn.timeline-service.hbase-schema.prefix":"prod.","fs.azure.authorization":"false","mapreduce.map.log.level":"INFO","ha.failover-controller.active-standby-elector.zk.op.retries":"3","yarn.resourcemanager.decommissioning-nodes-watcher.poll-interval-secs":"20","mapreduce.output.fileoutputformat.compress.type":"RECORD","yarn.resourcemanager.leveldb-state-store.path":"${hadoop.tmp.dir}/yarn/system/rmstore","yarn.timeline-service.webapp.rest-csrf.custom-header":"X-XSRF-Header","mapreduce.ifile.readahead.bytes":"4194304","yarn.sharedcache.app-checker.class":"org.apache.hadoop.yarn.server.sharedcachemanager.RemoteAppChecker","yarn.nodemanager.linux-container-executor.nonsecure-mode.limit-users":"true","yarn.nodemanager.resource.detect-hardware-capabilities":"false","mapreduce.cluster.acls.enabled":"false","mapreduce.job.speculative.retry-after-no-speculate":"1000","fs.viewfs.overload.scheme.target.abfs.impl":"org.apache.hadoop.fs.azurebfs.AzureBlobFileSystem","hadoop.security.group.mapping.ldap.search.group.hierarchy.levels":"0","yarn.resourcemanager.fs.state-store.retry-interval-ms":"1000","file.stream-buffer-size":"4096","yarn.resourcemanager.application-timeouts.monitor.interval-ms":"3000","mapreduce.map.output.compress.codec":"org.apache.hadoop.io.compress.DefaultCodec","mapreduce.map.speculative":"true","yarn.nodemanager.runtime.linux.runc.image-tag-to-manifest-plugin.hdfs-hash-file":"/runc-root/image-tag-to-hash","mapreduce.job.speculative.retry-after-speculate":"15000","yarn.nodemanager.linux-container-executor.cgroups.mount":"false","yarn.app.mapreduce.am.container.log.backups":"0","yarn.app.mapreduce.am.log.level":"INFO","yarn.nodemanager.runtime.linux.runc.image-tag-to-manifest-plugin":"org.apache.hadoop.yarn.server.nodemanager.containermanager.linux.runtime.runc.ImageTagToManifestPlugin","io.bytes.per.checksum":"512","mapreduce.job.reduce.slowstart.completedmaps":"0.05","yarn.timeline-service.http-authentication.type":"simple","hadoop.security.group.mapping.ldap.search.attr.group.name":"cn","yarn.nodemanager.resource-plugins.fpga.allowed-fpga-devices":"auto","yarn.timeline-service.client.internal-timers-ttl-secs":"420","fs.s3a.select.output.csv.quote.character":"\"","hadoop.http.logs.enabled":"true","fs.s3a.block.size":"32M","yarn.sharedcache.client-server.address":"0.0.0.0:8045","yarn.nodemanager.logaggregation.threadpool-size-max":"100","yarn.resourcemanager.hostname":"0.0.0.0","yarn.resourcemanager.delegation.key.update-interval":"86400000","mapreduce.reduce.shuffle.fetch.retry.enabled":"${yarn.nodemanager.recovery.enabled}","mapreduce.map.memory.mb":"-1","mapreduce.task.skip.start.attempts":"2","fs.AbstractFileSystem.hdfs.impl":"org.apache.hadoop.fs.Hdfs","yarn.nodemanager.disk-health-checker.enable":"true","fs.s3a.select.output.csv.quote.fields":"always","ipc.client.tcpnodelay":"true","ipc.client.rpc-timeout.ms":"0","yarn.nodemanager.webapp.rest-csrf.methods-to-ignore":"GET,OPTIONS,HEAD","yarn.resourcemanager.delegation-token-renewer.thread-retry-max-attempts":"*********(redacted)","ipc.client.low-latency":"false","mapreduce.input.lineinputformat.linespermap":"1","yarn.router.interceptor.user.threadpool-size":"5","ipc.client.connect.max.retries.on.timeouts":"45","yarn.timeline-service.leveldb-timeline-store.read-cache-size":"104857600","fs.AbstractFileSystem.har.impl":"org.apache.hadoop.fs.HarFs","mapreduce.job.split.metainfo.maxsize":"10000000","yarn.am.liveness-monitor.expiry-interval-ms":"600000","yarn.resourcemanager.container-tokens.master-key-rolling-interval-secs":"*********(redacted)","yarn.timeline-service.entity-group-fs-store.app-cache-size":"10","yarn.nodemanager.runtime.linux.runc.hdfs-manifest-to-resources-plugin.stat-cache-timeout-interval-secs":"360","fs.s3a.socket.recv.buffer":"8192","rpc.metrics.timeunit":"MILLISECONDS","yarn.resourcemanager.resource-tracker.address":"${yarn.resourcemanager.hostname}:8031","yarn.nodemanager.node-labels.provider.fetch-timeout-ms":"1200000","mapreduce.job.heap.memory-mb.ratio":"0.8","yarn.resourcemanager.leveldb-state-store.compaction-interval-secs":"3600","yarn.resourcemanager.webapp.rest-csrf.custom-header":"X-XSRF-Header","yarn.nodemanager.pluggable-device-framework.enabled":"false","yarn.scheduler.configuration.fs.path":"file://${hadoop.tmp.dir}/yarn/system/schedconf","mapreduce.client.output.filter":"FAILED","hadoop.http.filter.initializers":"org.apache.hadoop.http.lib.StaticUserWebFilter","mapreduce.reduce.memory.mb":"-1","yarn.timeline-service.hostname":"0.0.0.0","file.replication":"1","yarn.nodemanager.container-metrics.unregister-delay-ms":"10000","yarn.nodemanager.container-metrics.period-ms":"-1","mapreduce.fileoutputcommitter.task.cleanup.enabled":"false","yarn.nodemanager.log.retain-seconds":"10800","yarn.timeline-service.entity-group-fs-store.cleaner-interval-seconds":"3600","ipc.[port_number].callqueue.impl":"java.util.concurrent.LinkedBlockingQueue","yarn.resourcemanager.keytab":"/etc/krb5.keytab","hadoop.security.group.mapping.providers.combined":"true","mapreduce.reduce.merge.inmem.threshold":"1000","yarn.timeline-service.recovery.enabled":"false","fs.azure.saskey.usecontainersaskeyforallaccess":"true","yarn.sharedcache.nm.uploader.thread-count":"20","yarn.resourcemanager.nodemanager-graceful-decommission-timeout-secs":"3600","ipc.[port_number].weighted-cost.lockfree":"1","mapreduce.shuffle.ssl.enabled":"false","yarn.timeline-service.hbase.coprocessor.app-final-value-retention-milliseconds":"259200000","yarn.nodemanager.opportunistic-containers-max-queue-length":"0","yarn.resourcemanager.state-store.max-completed-applications":"${yarn.resourcemanager.max-completed-applications}","mapreduce.job.speculative.minimum-allowed-tasks":"10","fs.s3a.aws.credentials.provider":"org.apache.hadoop.fs.s3a.SimpleAWSCredentialsProvider","yarn.log-aggregation.retain-seconds":"-1","yarn.nodemanager.disk-health-checker.min-free-space-per-disk-mb":"0","mapreduce.jobhistory.max-age-ms":"604800000","hadoop.http.cross-origin.allowed-methods":"GET,POST,HEAD","yarn.resourcemanager.opportunistic-container-allocation.enabled":"false","mapreduce.jobhistory.webapp.address":"0.0.0.0:19888","hadoop.system.tags":"YARN,HDFS,NAMENODE,DATANODE,REQUIRED,SECURITY,KERBEROS,PERFORMANCE,CLIENT\n ,SERVER,DEBUG,DEPRECATED,COMMON,OPTIONAL","yarn.log-aggregation.file-controller.TFile.class":"org.apache.hadoop.yarn.logaggregation.filecontroller.tfile.LogAggregationTFileController","yarn.client.nodemanager-connect.max-wait-ms":"180000","yarn.resourcemanager.webapp.address":"${yarn.resourcemanager.hostname}:8088","mapreduce.jobhistory.recovery.enable":"false","mapreduce.reduce.shuffle.parallelcopies":"5","fs.AbstractFileSystem.webhdfs.impl":"org.apache.hadoop.fs.WebHdfs","fs.trash.interval":"0","yarn.app.mapreduce.client.max-retries":"3","hadoop.security.authentication":"simple","mapreduce.task.profile.reduce.params":"${mapreduce.task.profile.params}","yarn.app.mapreduce.am.resource.mb":"1536","mapreduce.input.fileinputformat.list-status.num-threads":"1","yarn.nodemanager.container-executor.class":"org.apache.hadoop.yarn.server.nodemanager.DefaultContainerExecutor","io.mapfile.bloom.size":"1048576","yarn.timeline-service.ttl-ms":"604800000","yarn.resourcemanager.nm-container-queuing.min-queue-length":"5","yarn.nodemanager.resource.cpu-vcores":"-1","mapreduce.job.reduces":"1","fs.s3a.multipart.size":"64M","fs.s3a.select.input.csv.comment.marker":"#","yarn.scheduler.minimum-allocation-vcores":"1","mapreduce.job.speculative.speculative-cap-total-tasks":"0.01","hadoop.ssl.client.conf":"ssl-client.xml","mapreduce.job.queuename":"default","mapreduce.job.encrypted-intermediate-data-key-size-bits":"128","fs.s3a.metadatastore.authoritative":"false","ipc.[port_number].weighted-cost.response":"1","yarn.nodemanager.webapp.xfs-filter.xframe-options":"SAMEORIGIN","ha.health-monitor.sleep-after-disconnect.ms":"1000","yarn.app.mapreduce.shuffle.log.limit.kb":"0","hadoop.security.group.mapping":"org.apache.hadoop.security.JniBasedUnixGroupsMappingWithFallback","yarn.client.application-client-protocol.poll-timeout-ms":"-1","mapreduce.jobhistory.jhist.format":"binary","mapreduce.task.stuck.timeout-ms":"600000","yarn.resourcemanager.application.max-tag.length":"100","yarn.resourcemanager.ha.enabled":"false","dfs.client.ignore.namenode.default.kms.uri":"false","hadoop.http.staticuser.user":"dr.who","mapreduce.task.exit.timeout.check-interval-ms":"20000","mapreduce.jobhistory.intermediate-user-done-dir.permissions":"770","mapreduce.task.exit.timeout":"60000","yarn.nodemanager.linux-container-executor.resources-handler.class":"org.apache.hadoop.yarn.server.nodemanager.util.DefaultLCEResourcesHandler","mapreduce.reduce.shuffle.memory.limit.percent":"0.25","yarn.resourcemanager.reservation-system.enable":"false","mapreduce.map.output.compress":"false","ha.zookeeper.acl":"world:anyone:rwcda","ipc.server.max.connections":"0","yarn.nodemanager.runtime.linux.docker.default-container-network":"host","yarn.router.webapp.address":"0.0.0.0:8089","yarn.scheduler.maximum-allocation-mb":"8192","yarn.resourcemanager.scheduler.monitor.policies":"org.apache.hadoop.yarn.server.resourcemanager.monitor.capacity.ProportionalCapacityPreemptionPolicy","yarn.sharedcache.cleaner.period-mins":"1440","yarn.nodemanager.resource-plugins.gpu.docker-plugin.nvidia-docker-v1.endpoint":"http://localhost:3476/v1.0/docker/cli","yarn.app.mapreduce.am.container.log.limit.kb":"0","ipc.client.connect.retry.interval":"1000","yarn.timeline-service.http-cross-origin.enabled":"false","fs.wasbs.impl":"org.apache.hadoop.fs.azure.NativeAzureFileSystem$Secure","yarn.resourcemanager.nodemanagers.heartbeat-interval-max-ms":"1000","yarn.federation.subcluster-resolver.class":"org.apache.hadoop.yarn.server.federation.resolver.DefaultSubClusterResolverImpl","yarn.resourcemanager.zk-state-store.parent-path":"/rmstore","fs.s3a.select.input.csv.field.delimiter":",","mapreduce.jobhistory.cleaner.enable":"true","yarn.timeline-service.client.fd-flush-interval-secs":"10","hadoop.security.kms.client.encrypted.key.cache.expiry":"43200000","yarn.client.nodemanager-client-async.thread-pool-max-size":"500","mapreduce.map.maxattempts":"4","yarn.resourcemanager.nm-container-queuing.sorting-nodes-interval-ms":"1000","fs.s3a.committer.staging.tmp.path":"tmp/staging","yarn.nodemanager.sleep-delay-before-sigkill.ms":"250","yarn.resourcemanager.nm-container-queuing.min-queue-wait-time-ms":"10","mapreduce.job.end-notification.retry.attempts":"0","yarn.nodemanager.resource.count-logical-processors-as-cores":"false","hadoop.registry.zk.root":"/registry","adl.feature.ownerandgroup.enableupn":"false","yarn.resourcemanager.zk-max-znode-size.bytes":"1048576","mapreduce.job.reduce.shuffle.consumer.plugin.class":"org.apache.hadoop.mapreduce.task.reduce.Shuffle","yarn.resourcemanager.delayed.delegation-token.removal-interval-ms":"*********(redacted)","yarn.nodemanager.localizer.cache.target-size-mb":"10240","fs.s3a.committer.staging.conflict-mode":"append","mapreduce.client.libjars.wildcard":"true","fs.s3a.committer.staging.unique-filenames":"true","yarn.nodemanager.node-attributes.provider.fetch-timeout-ms":"1200000","fs.s3a.list.version":"2","ftp.client-write-packet-size":"65536","ipc.[port_number].weighted-cost.lockexclusive":"100","fs.AbstractFileSystem.adl.impl":"org.apache.hadoop.fs.adl.Adl","yarn.nodemanager.container-log-monitor.enable":"false","hadoop.security.key.default.cipher":"AES/CTR/NoPadding","yarn.client.failover-retries":"0","fs.s3a.multipart.purge.age":"86400","mapreduce.job.local-fs.single-disk-limit.check.interval-ms":"5000","net.topology.node.switch.mapping.impl":"org.apache.hadoop.net.ScriptBasedMapping","yarn.nodemanager.amrmproxy.address":"0.0.0.0:8049","ipc.server.listen.queue.size":"256","ipc.[port_number].decay-scheduler.period-ms":"5000","yarn.nodemanager.runtime.linux.runc.image-tag-to-manifest-plugin.cache-refresh-interval-secs":"60","map.sort.class":"org.apache.hadoop.util.QuickSort","fs.viewfs.rename.strategy":"SAME_MOUNTPOINT","hadoop.security.kms.client.authentication.retry-count":"1","fs.permissions.umask-mode":"022","fs.s3a.assumed.role.credentials.provider":"org.apache.hadoop.fs.s3a.SimpleAWSCredentialsProvider","yarn.nodemanager.runtime.linux.runc.privileged-containers.allowed":"false","yarn.nodemanager.vmem-check-enabled":"true","yarn.nodemanager.numa-awareness.enabled":"false","yarn.nodemanager.recovery.compaction-interval-secs":"3600","yarn.app.mapreduce.client-am.ipc.max-retries":"3","yarn.resourcemanager.system-metrics-publisher.timeline-server-v1.interval-seconds":"60","yarn.federation.registry.base-dir":"yarnfederation/","yarn.nodemanager.health-checker.run-before-startup":"false","mapreduce.job.max.map":"-1","mapreduce.job.local-fs.single-disk-limit.bytes":"-1","mapreduce.shuffle.pathcache.concurrency-level":"16","mapreduce.job.ubertask.maxreduces":"1","mapreduce.shuffle.pathcache.max-weight":"10485760","hadoop.security.kms.client.encrypted.key.cache.size":"500","hadoop.security.java.secure.random.algorithm":"SHA1PRNG","ha.failover-controller.cli-check.rpc-timeout.ms":"20000","mapreduce.jobhistory.jobname.limit":"50","fs.s3a.select.input.compression":"none","yarn.client.nodemanager-connect.retry-interval-ms":"10000","ipc.[port_number].scheduler.priority.levels":"4","yarn.timeline-service.state-store-class":"org.apache.hadoop.yarn.server.timeline.recovery.LeveldbTimelineStateStore","yarn.nodemanager.env-whitelist":"JAVA_HOME,HADOOP_COMMON_HOME,HADOOP_HDFS_HOME,HADOOP_CONF_DIR,CLASSPATH_PREPEND_DISTCACHE,HADOOP_YARN_HOME,HADOOP_HOME,PATH,LANG,TZ","yarn.sharedcache.nested-level":"3","yarn.timeline-service.webapp.rest-csrf.methods-to-ignore":"GET,OPTIONS,HEAD","fs.azure.user.agent.prefix":"unknown","yarn.resourcemanager.zk-delegation-token-node.split-index":"*********(redacted)","yarn.nodemanager.numa-awareness.read-topology":"false","yarn.nodemanager.webapp.address":"${yarn.nodemanager.hostname}:8042","rpc.metrics.quantile.enable":"false","yarn.registry.class":"org.apache.hadoop.registry.client.impl.FSRegistryOperationsService","mapreduce.jobhistory.admin.acl":"*","yarn.resourcemanager.system-metrics-publisher.dispatcher.pool-size":"10","yarn.scheduler.queue-placement-rules":"user-group","hadoop.http.authentication.kerberos.keytab":"${user.home}/hadoop.keytab","yarn.resourcemanager.recovery.enabled":"false","fs.s3a.select.input.csv.header":"none","yarn.nodemanager.runtime.linux.runc.hdfs-manifest-to-resources-plugin.stat-cache-size":"500","yarn.timeline-service.webapp.rest-csrf.enabled":"false","yarn.nodemanager.disk-health-checker.min-free-space-per-disk-watermark-high-mb":"0"},"System Properties":{"java.io.tmpdir":"/tmp","line.separator":"\n","path.separator":":","sun.management.compiler":"HotSpot 64-Bit Tiered Compilers","SPARK_SUBMIT":"true","sun.cpu.endian":"little","java.specification.maintenance.version":"1","java.specification.version":"17","java.vm.specification.name":"Java Virtual Machine Specification","java.vendor":"Debian","java.vm.specification.version":"17","user.home":"/home/airflow","sun.arch.data.model":"64","sun.boot.library.path":"/usr/lib/jvm/java-17-openjdk-amd64/lib","user.dir":"/opt/airflow","java.library.path":"/usr/local/lib:/usr/java/packages/lib:/usr/lib/x86_64-linux-gnu/jni:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/jni:/lib:/usr/lib","os.arch":"amd64","java.vm.version":"17.0.19+10-1-deb12u2-Debian","jetty.git.hash":"abdcda73818a1a2c705da276edb0bf6581e7997e","java.runtime.version":"17.0.19+10-1-deb12u2-Debian","java.vm.info":"mixed mode, sharing","java.runtime.name":"OpenJDK Runtime Environment","java.version.date":"2026-04-21","file.separator":"/","java.class.version":"61.0","java.specification.name":"Java Platform API Specification","file.encoding":"UTF-8","jdk.reflect.useDirectMethodHandle":"false","user.timezone":"Europe/Samara","java.specification.vendor":"Oracle Corporation","sun.java.launcher":"SUN_STANDARD","java.vm.compressedOopsMode":"32-bit","os.version":"6.12.48+deb13-amd64","native.encoding":"UTF-8","java.vm.specification.vendor":"Oracle Corporation","sun.jnu.encoding":"UTF-8","user.language":"en","java.vendor.url":"https://tracker.debian.org/openjdk-17","os.name":"Linux","java.vm.vendor":"Debian","jdk.debug":"release","java.vendor.url.bug":"https://bugs.debian.org/openjdk-17","user.name":"airflow","java.vm.name":"OpenJDK 64-Bit Server VM","sun.java.command":"*********(redacted)","java.home":"/usr/lib/jvm/java-17-openjdk-amd64","java.version":"17.0.19","sun.io.unicode.encoding":"UnicodeLittle"},"Metrics Properties":{"*.sink.servlet.class":"org.apache.spark.metrics.sink.MetricsServlet","*.sink.servlet.path":"/metrics/json","applications.sink.servlet.path":"/metrics/applications/json","master.sink.servlet.path":"/metrics/master/json"},"Classpath Entries":{"/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/avro-1.11.2.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/jcl-over-slf4j-2.0.7.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/snappy-java-1.1.10.3.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/JLargeArrays-1.5.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/netty-common-4.1.96.Final.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/jakarta.annotation-api-1.3.5.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/commons-logging-1.1.3.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/scala-parser-combinators_2.12-2.3.0.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/super-csv-2.2.0.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/zjsonpatch-0.3.0.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/metrics-jvm-4.2.19.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/commons-compiler-3.1.9.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/kubernetes-model-scheduling-6.7.2.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/spark-sketch_2.12-3.5.1.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/kubernetes-model-node-6.7.2.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/parquet-common-1.13.1.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/arrow-format-12.0.1.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/xz-1.9.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/dropwizard-metrics-hadoop-metrics2-reporter-0.1.2.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/kubernetes-model-apps-6.7.2.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/spark-launcher_2.12-3.5.1.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/netty-codec-socks-4.1.96.Final.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/scala-collection-compat_2.12-2.7.0.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/hadoop-aws-3.3.4.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/zookeeper-jute-3.6.3.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/json-1.8.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/jakarta.servlet-api-4.0.3.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/chill-java-0.10.0.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/jersey-server-2.40.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/tink-1.9.0.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/spark-core_2.12-3.5.1.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/snakeyaml-2.0.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/scala-library-2.12.18.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/netty-buffer-4.1.96.Final.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/metrics-graphite-4.2.19.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/kubernetes-model-coordination-6.7.2.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/hive-metastore-2.3.9.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/lz4-java-1.8.0.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/leveldbjni-all-1.8.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/hive-shims-0.23-2.3.9.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/kubernetes-model-autoscaling-6.7.2.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/conf":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/spark-tags_2.12-3.5.1.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/spark-hive-thriftserver_2.12-3.5.1.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/derby-10.14.2.0.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/jersey-container-servlet-2.40.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/spark-sql-api_2.12-3.5.1.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/zstd-jni-1.5.5-4.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/gson-2.2.4.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/jakarta.validation-api-2.0.2.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/activation-1.1.1.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/netty-transport-classes-epoll-4.1.96.Final.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/antlr-runtime-3.5.2.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/jta-1.1.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/kubernetes-httpclient-okhttp-6.7.2.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/hive-shims-scheduler-2.3.9.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/kubernetes-model-metrics-6.7.2.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/kubernetes-model-storageclass-6.7.2.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/antlr4-runtime-4.9.3.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/orc-mapreduce-1.9.2-shaded-protobuf.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/json4s-core_2.12-3.7.0-M11.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/parquet-jackson-1.13.1.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/httpclient-4.5.14.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/chill_2.12-0.10.0.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/jdo-api-3.0.1.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/commons-math3-3.6.1.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/commons-pool2-2.11.1.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/json4s-ast_2.12-3.7.0-M11.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/oro-2.0.8.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/hive-common-2.3.9.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/flatbuffers-java-1.12.0.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/hive-cli-2.3.9.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/datanucleus-core-4.1.17.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/hive-exec-2.3.9-core.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/metrics-core-4.2.19.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/jackson-annotations-2.15.2.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/hive-jdbc-2.3.9.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/commons-lang3-3.12.0.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/commons-collections4-4.4.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/postgresql-42.7.3.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/spark-kubernetes_2.12-3.5.1.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/parquet-hadoop-1.13.1.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/jul-to-slf4j-2.0.7.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/RoaringBitmap-0.9.45.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/kubernetes-model-events-6.7.2.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/spark-token-provider-kafka-0-10_2.12-3.5.1.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/commons-pool-1.5.4.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/jackson-core-asl-1.9.13.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/parquet-column-1.13.1.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/jsr305-3.0.0.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/kubernetes-client-6.7.2.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/metrics-json-4.2.19.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/aopalliance-repackaged-2.6.1.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/commons-crypto-1.1.0.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/json4s-scalap_2.12-3.7.0-M11.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/mesos-1.4.3-shaded-protobuf.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/threeten-extra-1.7.1.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/spark-sql_2.12-3.5.1.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/kubernetes-model-rbac-6.7.2.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/netty-transport-native-unix-common-4.1.96.Final.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/javolution-5.5.1.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/arrow-memory-core-12.0.1.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/json4s-jackson_2.12-3.7.0-M11.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/shims-0.9.45.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/snakeyaml-engine-2.6.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/commons-collections-3.2.2.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/netty-transport-4.1.96.Final.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/kubernetes-client-api-6.7.2.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/hive-shims-2.3.9.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/datanucleus-rdbms-4.1.19.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/spark-mllib_2.12-3.5.1.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/netty-handler-4.1.96.Final.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/parquet-format-structures-1.13.1.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/jackson-mapper-asl-1.9.13.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/hadoop-yarn-server-web-proxy-3.3.4.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/netty-transport-native-kqueue-4.1.96.Final-osx-aarch_64.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/logging-interceptor-3.12.12.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/jpam-1.1.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/spark-network-shuffle_2.12-3.5.1.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/javax.jdo-3.2.0-m3.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/slf4j-api-2.0.7.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/cats-kernel_2.12-2.1.1.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/libthrift-0.12.0.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/log4j-api-2.20.0.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/jakarta.inject-2.6.1.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/jakarta.ws.rs-api-2.1.6.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/spark-repl_2.12-3.5.1.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/scala-compiler-2.12.18.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/jackson-dataformat-yaml-2.15.2.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/minlog-1.3.0.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/univocity-parsers-2.9.1.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/paranamer-2.8.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/curator-client-2.13.0.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/kubernetes-model-admissionregistration-6.7.2.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/spire-platform_2.12-0.17.0.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/arrow-vector-12.0.1.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/kubernetes-model-batch-6.7.2.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/log4j-1.2-api-2.20.0.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/log4j-core-2.20.0.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/aircompressor-0.26.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/guava-14.0.1.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/JTransforms-3.1.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/breeze-macros_2.12-2.1.0.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/zookeeper-3.6.3.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/py4j-0.10.9.7.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/netty-transport-native-kqueue-4.1.96.Final-osx-x86_64.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/arpack-3.0.3.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/pickle-1.3.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/opencsv-2.3.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/jackson-databind-2.15.2.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/jackson-datatype-jsr310-2.15.2.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/HikariCP-2.5.1.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/ST4-4.0.4.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/jackson-core-2.15.2.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/jaxb-runtime-2.3.2.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/commons-dbcp-1.4.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/jersey-client-2.40.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/httpcore-4.4.16.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/joda-time-2.12.5.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/hk2-utils-2.6.1.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/scala-xml_2.12-2.1.0.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/objenesis-3.3.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/kubernetes-model-extensions-6.7.2.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/spark-yarn_2.12-3.5.1.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/kryo-shaded-4.0.2.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/hive-beeline-2.3.9.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/spark-catalyst_2.12-3.5.1.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/spark-mllib-local_2.12-3.5.1.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/netty-codec-http-4.1.96.Final.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/annotations-17.0.0.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/arrow-memory-netty-12.0.1.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/aws-java-sdk-bundle-1.12.262.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/javassist-3.29.2-GA.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/kubernetes-model-common-6.7.2.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/hadoop-shaded-guava-1.1.1.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/commons-text-1.10.0.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/netty-resolver-4.1.96.Final.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/kubernetes-model-discovery-6.7.2.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/compress-lzf-1.1.2.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/kubernetes-model-core-6.7.2.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/arpack_combined_all-0.1.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/spire_2.12-0.17.0.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/avro-ipc-1.11.2.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/commons-io-2.13.0.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/spark-hive_2.12-3.5.1.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/ivy-2.5.1.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/bonecp-0.8.0.RELEASE.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/osgi-resource-locator-1.0.3.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/spark-streaming_2.12-3.5.1.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/rocksdbjni-8.3.2.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/okhttp-3.12.12.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/avro-mapred-1.11.2.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/jersey-common-2.40.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/commons-cli-1.5.0.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/spark-sql-kafka-0-10_2.12-3.5.1.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/clickhouse-jdbc-0.6.0-all.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/libfb303-0.9.3.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/netty-codec-http2-4.1.96.Final.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/hive-llap-common-2.3.9.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/hive-shims-common-2.3.9.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/stream-2.9.6.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/scala-reflect-2.12.18.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/netty-transport-classes-kqueue-4.1.96.Final.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/kubernetes-model-gatewayapi-6.7.2.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/istack-commons-runtime-3.0.8.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/commons-lang-2.6.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/hk2-api-2.6.1.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/datasketches-java-3.3.0.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/okio-1.15.0.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/curator-recipes-2.13.0.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/hadoop-client-api-3.3.4.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/netty-codec-4.1.96.Final.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/spark-network-common_2.12-3.5.1.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/datanucleus-api-jdo-4.2.4.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/kafka-clients-3.7.0.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/spark-common-utils_2.12-3.5.1.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/lapack-3.0.3.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/orc-core-1.9.2-shaded-protobuf.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/janino-3.1.9.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/blas-3.0.3.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/kubernetes-model-flowcontrol-6.7.2.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/netty-handler-proxy-4.1.96.Final.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/spark-graphx_2.12-3.5.1.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/netty-transport-native-epoll-4.1.96.Final-linux-x86_64.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/parquet-encoding-1.13.1.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/jodd-core-3.5.2.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/spark-mesos_2.12-3.5.1.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/spire-macros_2.12-0.17.0.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/netty-transport-native-epoll-4.1.96.Final-linux-aarch_64.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/hadoop-client-runtime-3.3.4.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/kubernetes-model-certificates-6.7.2.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/jersey-hk2-2.40.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/spire-util_2.12-0.17.0.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/commons-compress-1.23.0.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/hive-storage-api-2.8.1.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/kubernetes-model-apiextensions-6.7.2.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/algebra_2.12-2.0.1.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/metrics-jmx-4.2.19.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/breeze_2.12-2.1.0.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/xbean-asm9-shaded-4.23.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/stax-api-1.0.1.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/hive-serde-2.3.9.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/netty-all-4.1.96.Final.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/orc-shims-1.9.2.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/audience-annotations-0.5.0.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/curator-framework-2.13.0.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/hk2-locator-2.6.1.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/kubernetes-model-resource-6.7.2.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/hive-service-rpc-3.1.3.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/spark-kvstore_2.12-3.5.1.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/jakarta.xml.bind-api-2.3.2.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/kubernetes-model-networking-6.7.2.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/jersey-container-servlet-core-2.40.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/commons-codec-1.16.0.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/datasketches-memory-2.1.0.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/jline-2.14.6.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/jackson-module-scala_2.12-2.15.2.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/spark-unsafe_2.12-3.5.1.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/kubernetes-model-policy-6.7.2.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/transaction-api-1.1.jar":"System Classpath","/home/airflow/.local/lib/python3.11/site-packages/pyspark/jars/log4j-slf4j2-impl-2.20.0.jar":"System Classpath"}} {"Event":"SparkListenerApplicationStart","App Name":"dm_user_cohort_analysis","App ID":"app-20260720151940-0099","Timestamp":1784546379461,"User":"airflow"} {"Event":"org.apache.spark.sql.execution.ui.SparkListenerSQLExecutionStart","executionId":0,"rootExecutionId":0,"description":"parquet at NativeMethodAccessorImpl.java:0","details":"org.apache.spark.sql.DataFrameWriter.parquet(DataFrameWriter.scala:792)\njava.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\njava.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)\njava.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\njava.base/java.lang.reflect.Method.invoke(Method.java:569)\npy4j.reflection.MethodInvoker.invoke(MethodInvoker.java:244)\npy4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:374)\npy4j.Gateway.invoke(Gateway.java:282)\npy4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:132)\npy4j.commands.CallCommand.execute(CallCommand.java:79)\npy4j.ClientServerConnection.waitForCommands(ClientServerConnection.java:182)\npy4j.ClientServerConnection.run(ClientServerConnection.java:106)\njava.base/java.lang.Thread.run(Thread.java:840)","physicalPlanDescription":"== Physical Plan ==\nAdaptiveSparkPlan (37)\n+- Execute InsertIntoHadoopFsRelationCommand (36)\n +- WriteFiles (35)\n +- Sort (34)\n +- Exchange (33)\n +- Project (32)\n +- HashAggregate (31)\n +- Exchange (30)\n +- HashAggregate (29)\n +- HashAggregate (28)\n +- Exchange (27)\n +- HashAggregate (26)\n +- Expand (25)\n +- BroadcastHashJoin LeftOuter BuildRight (24)\n :- BroadcastHashJoin LeftOuter BuildRight (17)\n : :- Project (7)\n : : +- BroadcastHashJoin LeftOuter BuildRight (6)\n : : :- Project (2)\n : : : +- Scan csv (1)\n : : +- BroadcastExchange (5)\n : : +- Filter (4)\n : : +- Scan csv (3)\n : +- BroadcastExchange (16)\n : +- HashAggregate (15)\n : +- Exchange (14)\n : +- HashAggregate (13)\n : +- HashAggregate (12)\n : +- Exchange (11)\n : +- HashAggregate (10)\n : +- Filter (9)\n : +- Scan csv (8)\n +- BroadcastExchange (23)\n +- HashAggregate (22)\n +- Exchange (21)\n +- HashAggregate (20)\n +- Filter (19)\n +- Scan csv (18)\n\n\n(1) Scan csv \nOutput [2]: [id#0L, registration_date#4]\nBatched: false\nLocation: InMemoryFileIndex [s3a://apavlovets-bucket/raw/users.csv]\nReadSchema: struct\n\n(2) Project\nOutput [2]: [id#0L AS user_id#26L, date_trunc(month, registration_date#4, Some(Europe/Samara)) AS cohort_month_ts#27]\nInput [2]: [id#0L, registration_date#4]\n\n(3) Scan csv \nOutput [2]: [id#53L, registration_date#57]\nBatched: false\nLocation: InMemoryFileIndex [s3a://apavlovets-bucket/raw/users.csv]\nPushedFilters: [IsNotNull(id)]\nReadSchema: struct\n\n(4) Filter\nInput [2]: [id#53L, registration_date#57]\nCondition : isnotnull(id#53L)\n\n(5) BroadcastExchange\nInput [2]: [id#53L, registration_date#57]\nArguments: HashedRelationBroadcastMode(List(input[0, bigint, false]),false), [plan_id=119]\n\n(6) BroadcastHashJoin\nLeft keys [1]: [user_id#26L]\nRight keys [1]: [id#53L]\nJoin type: LeftOuter\nJoin condition: None\n\n(7) Project\nOutput [3]: [user_id#26L, cohort_month_ts#27, registration_date#57]\nInput [4]: [user_id#26L, cohort_month_ts#27, id#53L, registration_date#57]\n\n(8) Scan csv \nOutput [2]: [user_id#11L, course_id#12L]\nBatched: false\nLocation: InMemoryFileIndex [s3a://apavlovets-bucket/raw/enrollments.csv]\nPushedFilters: [IsNotNull(user_id)]\nReadSchema: struct\n\n(9) Filter\nInput [2]: [user_id#11L, course_id#12L]\nCondition : isnotnull(user_id#11L)\n\n(10) HashAggregate\nInput [2]: [user_id#11L, course_id#12L]\nKeys [2]: [user_id#11L, course_id#12L]\nFunctions: []\nAggregate Attributes: []\nResults [2]: [user_id#11L, course_id#12L]\n\n(11) Exchange\nInput [2]: [user_id#11L, course_id#12L]\nArguments: hashpartitioning(user_id#11L, course_id#12L, 200), ENSURE_REQUIREMENTS, [plan_id=122]\n\n(12) HashAggregate\nInput [2]: [user_id#11L, course_id#12L]\nKeys [2]: [user_id#11L, course_id#12L]\nFunctions: []\nAggregate Attributes: []\nResults [2]: [user_id#11L, course_id#12L]\n\n(13) HashAggregate\nInput [2]: [user_id#11L, course_id#12L]\nKeys [1]: [user_id#11L]\nFunctions [1]: [partial_count(distinct course_id#12L)]\nAggregate Attributes [1]: [count(course_id#12L)#36L]\nResults [2]: [user_id#11L, count#203L]\n\n(14) Exchange\nInput [2]: [user_id#11L, count#203L]\nArguments: hashpartitioning(user_id#11L, 200), ENSURE_REQUIREMENTS, [plan_id=126]\n\n(15) HashAggregate\nInput [2]: [user_id#11L, count#203L]\nKeys [1]: [user_id#11L]\nFunctions [1]: [count(distinct course_id#12L)]\nAggregate Attributes [1]: [count(course_id#12L)#36L]\nResults [2]: [user_id#11L, count(course_id#12L)#36L AS courses_count#35L]\n\n(16) BroadcastExchange\nInput [2]: [user_id#11L, courses_count#35L]\nArguments: HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=129]\n\n(17) BroadcastHashJoin\nLeft keys [1]: [user_id#26L]\nRight keys [1]: [user_id#11L]\nJoin type: LeftOuter\nJoin condition: None\n\n(18) Scan csv \nOutput [2]: [user_id#19L, viewed_at#21]\nBatched: false\nLocation: InMemoryFileIndex [s3a://apavlovets-bucket/raw/lesson_views.csv]\nPushedFilters: [IsNotNull(user_id)]\nReadSchema: struct\n\n(19) Filter\nInput [2]: [user_id#19L, viewed_at#21]\nCondition : isnotnull(user_id#19L)\n\n(20) HashAggregate\nInput [2]: [user_id#19L, viewed_at#21]\nKeys [1]: [user_id#19L]\nFunctions [1]: [partial_min(viewed_at#21)]\nAggregate Attributes [1]: [min#205]\nResults [2]: [user_id#19L, min#206]\n\n(21) Exchange\nInput [2]: [user_id#19L, min#206]\nArguments: hashpartitioning(user_id#19L, 200), ENSURE_REQUIREMENTS, [plan_id=131]\n\n(22) HashAggregate\nInput [2]: [user_id#19L, min#206]\nKeys [1]: [user_id#19L]\nFunctions [1]: [min(viewed_at#21)]\nAggregate Attributes [1]: [min(viewed_at#21)#46]\nResults [2]: [user_id#19L, min(viewed_at#21)#46 AS first_viewed_at#47]\n\n(23) BroadcastExchange\nInput [2]: [user_id#19L, first_viewed_at#47]\nArguments: HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=134]\n\n(24) BroadcastHashJoin\nLeft keys [1]: [user_id#26L]\nRight keys [1]: [user_id#19L]\nJoin type: LeftOuter\nJoin condition: None\n\n(25) Expand\nInput [7]: [user_id#26L, cohort_month_ts#27, registration_date#57, user_id#11L, courses_count#35L, user_id#19L, first_viewed_at#47]\nArguments: [[cohort_month_ts#27, null, null, null, 0, courses_count#35L, datediff(cast(first_viewed_at#47 as date), cast(registration_date#57 as date))], [cohort_month_ts#27, user_id#26L, null, null, 1, null, null], [cohort_month_ts#27, null, user_id#11L, null, 2, null, null], [cohort_month_ts#27, null, null, user_id#19L, 3, null, null]], [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, ue.courses_count#173L, datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174]\n\n(26) HashAggregate\nInput [7]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, ue.courses_count#173L, datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174]\nKeys [5]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169]\nFunctions [2]: [partial_avg(ue.courses_count#173L), partial_avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174)]\nAggregate Attributes [4]: [sum#193, count#194L, sum#195, count#196L]\nResults [9]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, sum#197, count#198L, sum#199, count#200L]\n\n(27) Exchange\nInput [9]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, sum#197, count#198L, sum#199, count#200L]\nArguments: hashpartitioning(cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, 200), ENSURE_REQUIREMENTS, [plan_id=139]\n\n(28) HashAggregate\nInput [9]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, sum#197, count#198L, sum#199, count#200L]\nKeys [5]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169]\nFunctions [2]: [avg(ue.courses_count#173L), avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174)]\nAggregate Attributes [2]: [avg(ue.courses_count#173L)#127, avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174)#129]\nResults [7]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, avg(ue.courses_count#173L)#127 AS avg(ue.courses_count)#175, avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174)#129 AS avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177]\n\n(29) HashAggregate\nInput [7]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, avg(ue.courses_count)#175, avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177]\nKeys [1]: [cohort_month_ts#27]\nFunctions [5]: [partial_count(c.user_id#170L) FILTER (WHERE (gid#169 = 1)), partial_count(ue.user_id#171L) FILTER (WHERE (gid#169 = 2)), partial_count(ufv.user_id#172L) FILTER (WHERE (gid#169 = 3)), partial_first(avg(ue.courses_count)#175, true) FILTER (WHERE (gid#169 = 0)), partial_first(avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177, true) FILTER (WHERE (gid#169 = 0))]\nAggregate Attributes [7]: [count#179L, count#180L, count#181L, first#182, valueSet#183, first#184, valueSet#185]\nResults [8]: [cohort_month_ts#27, count#186L, count#187L, count#188L, first#189, valueSet#190, first#191, valueSet#192]\n\n(30) Exchange\nInput [8]: [cohort_month_ts#27, count#186L, count#187L, count#188L, first#189, valueSet#190, first#191, valueSet#192]\nArguments: hashpartitioning(cohort_month_ts#27, 200), ENSURE_REQUIREMENTS, [plan_id=143]\n\n(31) HashAggregate\nInput [8]: [cohort_month_ts#27, count#186L, count#187L, count#188L, first#189, valueSet#190, first#191, valueSet#192]\nKeys [1]: [cohort_month_ts#27]\nFunctions [5]: [count(c.user_id#170L), count(ue.user_id#171L), count(ufv.user_id#172L), first(avg(ue.courses_count)#175, true), first(avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177, true)]\nAggregate Attributes [5]: [count(c.user_id#170L)#131L, count(ue.user_id#171L)#132L, count(ufv.user_id#172L)#133L, first(avg(ue.courses_count)#175) ignore nulls#176, first(avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177) ignore nulls#178]\nResults [6]: [cohort_month_ts#27, count(c.user_id#170L)#131L AS users_in_cohort#124L, count(ue.user_id#171L)#132L AS enrolled_users#125L, count(ufv.user_id#172L)#133L AS active_users#126L, round(first(avg(ue.courses_count)#175) ignore nulls#176, 2) AS avg_courses_per_user#128, round(first(avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177) ignore nulls#178, 2) AS avg_time_to_first_view#130]\n\n(32) Project\nOutput [7]: [date_format(cohort_month_ts#27, yyyy-MM, Some(Europe/Samara)) AS cohort_month#154, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130, CASE WHEN NOT (users_in_cohort#124L = 0) THEN round(((cast(active_users#126L as double) * 100.0) / cast(users_in_cohort#124L as double)), 2) END AS retention_rate#146]\nInput [6]: [cohort_month_ts#27, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130]\n\n(33) Exchange\nInput [7]: [cohort_month#154, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130, retention_rate#146]\nArguments: rangepartitioning(cohort_month#154 ASC NULLS FIRST, 200), ENSURE_REQUIREMENTS, [plan_id=147]\n\n(34) Sort\nInput [7]: [cohort_month#154, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130, retention_rate#146]\nArguments: [cohort_month#154 ASC NULLS FIRST], true, 0\n\n(35) WriteFiles\nInput [7]: [cohort_month#154, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130, retention_rate#146]\n\n(36) Execute InsertIntoHadoopFsRelationCommand\nInput: []\nArguments: s3a://apavlovets-bucket/marts/user_cohort_analysis.parquet, false, Parquet, [path=s3a://apavlovets-bucket/marts/user_cohort_analysis.parquet], Overwrite, [cohort_month, users_in_cohort, enrolled_users, active_users, avg_courses_per_user, avg_time_to_first_view, retention_rate]\n\n(37) AdaptiveSparkPlan\nOutput: []\nArguments: isFinalPlan=false\n\n","sparkPlanInfo":{"nodeName":"AdaptiveSparkPlan","simpleString":"AdaptiveSparkPlan isFinalPlan=false","children":[{"nodeName":"Execute InsertIntoHadoopFsRelationCommand","simpleString":"Execute InsertIntoHadoopFsRelationCommand s3a://apavlovets-bucket/marts/user_cohort_analysis.parquet, false, Parquet, [path=s3a://apavlovets-bucket/marts/user_cohort_analysis.parquet], Overwrite, [cohort_month, users_in_cohort, enrolled_users, active_users, avg_courses_per_user, avg_time_to_first_view, retention_rate]","children":[{"nodeName":"WriteFiles","simpleString":"WriteFiles","children":[{"nodeName":"Sort","simpleString":"Sort [cohort_month#154 ASC NULLS FIRST], true, 0","children":[{"nodeName":"Exchange","simpleString":"Exchange rangepartitioning(cohort_month#154 ASC NULLS FIRST, 200), ENSURE_REQUIREMENTS, [plan_id=147]","children":[{"nodeName":"Project","simpleString":"Project [date_format(cohort_month_ts#27, yyyy-MM, Some(Europe/Samara)) AS cohort_month#154, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130, CASE WHEN NOT (users_in_cohort#124L = 0) THEN round(((cast(active_users#126L as double) * 100.0) / cast(users_in_cohort#124L as double)), 2) END AS retention_rate#146]","children":[{"nodeName":"HashAggregate","simpleString":"HashAggregate(keys=[cohort_month_ts#27], functions=[count(c.user_id#170L), count(ue.user_id#171L), count(ufv.user_id#172L), first(avg(ue.courses_count)#175, true), first(avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177, true)])","children":[{"nodeName":"Exchange","simpleString":"Exchange hashpartitioning(cohort_month_ts#27, 200), ENSURE_REQUIREMENTS, [plan_id=143]","children":[{"nodeName":"HashAggregate","simpleString":"HashAggregate(keys=[cohort_month_ts#27], functions=[partial_count(c.user_id#170L) FILTER (WHERE (gid#169 = 1)), partial_count(ue.user_id#171L) FILTER (WHERE (gid#169 = 2)), partial_count(ufv.user_id#172L) FILTER (WHERE (gid#169 = 3)), partial_first(avg(ue.courses_count)#175, true) FILTER (WHERE (gid#169 = 0)), partial_first(avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177, true) FILTER (WHERE (gid#169 = 0))])","children":[{"nodeName":"HashAggregate","simpleString":"HashAggregate(keys=[cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169], functions=[avg(ue.courses_count#173L), avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174)])","children":[{"nodeName":"Exchange","simpleString":"Exchange hashpartitioning(cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, 200), ENSURE_REQUIREMENTS, [plan_id=139]","children":[{"nodeName":"HashAggregate","simpleString":"HashAggregate(keys=[cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169], functions=[partial_avg(ue.courses_count#173L), partial_avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174)])","children":[{"nodeName":"Expand","simpleString":"Expand [[cohort_month_ts#27, null, null, null, 0, courses_count#35L, datediff(cast(first_viewed_at#47 as date), cast(registration_date#57 as date))], [cohort_month_ts#27, user_id#26L, null, null, 1, null, null], [cohort_month_ts#27, null, user_id#11L, null, 2, null, null], [cohort_month_ts#27, null, null, user_id#19L, 3, null, null]], [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, ue.courses_count#173L, datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174]","children":[{"nodeName":"BroadcastHashJoin","simpleString":"BroadcastHashJoin [user_id#26L], [user_id#19L], LeftOuter, BuildRight, false","children":[{"nodeName":"BroadcastHashJoin","simpleString":"BroadcastHashJoin [user_id#26L], [user_id#11L], LeftOuter, BuildRight, false","children":[{"nodeName":"Project","simpleString":"Project [user_id#26L, cohort_month_ts#27, registration_date#57]","children":[{"nodeName":"BroadcastHashJoin","simpleString":"BroadcastHashJoin [user_id#26L], [id#53L], LeftOuter, BuildRight, false","children":[{"nodeName":"Project","simpleString":"Project [id#0L AS user_id#26L, date_trunc(month, registration_date#4, Some(Europe/Samara)) AS cohort_month_ts#27]","children":[{"nodeName":"Scan csv ","simpleString":"FileScan csv [id#0L,registration_date#4] Batched: false, DataFilters: [], Format: CSV, Location: InMemoryFileIndex(1 paths)[s3a://apavlovets-bucket/raw/users.csv], PartitionFilters: [], PushedFilters: [], ReadSchema: struct","children":[],"metadata":{"Location":"InMemoryFileIndex(1 paths)[s3a://apavlovets-bucket/raw/users.csv]","ReadSchema":"struct","Format":"CSV","Batched":"false","PartitionFilters":"[]","PushedFilters":"[]","DataFilters":"[]"},"metrics":[{"name":"number of output rows","accumulatorId":104,"metricType":"sum"},{"name":"number of files read","accumulatorId":105,"metricType":"sum"},{"name":"metadata time","accumulatorId":106,"metricType":"timing"},{"name":"size of files read","accumulatorId":107,"metricType":"size"}]}],"metadata":{},"metrics":[]},{"nodeName":"BroadcastExchange","simpleString":"BroadcastExchange HashedRelationBroadcastMode(List(input[0, bigint, false]),false), [plan_id=119]","children":[{"nodeName":"Filter","simpleString":"Filter isnotnull(id#53L)","children":[{"nodeName":"Scan csv ","simpleString":"FileScan csv [id#53L,registration_date#57] Batched: false, DataFilters: [isnotnull(id#53L)], Format: CSV, Location: InMemoryFileIndex(1 paths)[s3a://apavlovets-bucket/raw/users.csv], PartitionFilters: [], PushedFilters: [IsNotNull(id)], ReadSchema: struct","children":[],"metadata":{"Location":"InMemoryFileIndex(1 paths)[s3a://apavlovets-bucket/raw/users.csv]","ReadSchema":"struct","Format":"CSV","Batched":"false","PartitionFilters":"[]","PushedFilters":"[IsNotNull(id)]","DataFilters":"[isnotnull(id#53L)]"},"metrics":[{"name":"number of output rows","accumulatorId":114,"metricType":"sum"},{"name":"number of files read","accumulatorId":115,"metricType":"sum"},{"name":"metadata time","accumulatorId":116,"metricType":"timing"},{"name":"size of files read","accumulatorId":117,"metricType":"size"}]}],"metadata":{},"metrics":[{"name":"number of output rows","accumulatorId":113,"metricType":"sum"}]}],"metadata":{},"metrics":[{"name":"time to broadcast","accumulatorId":112,"metricType":"timing"},{"name":"time to build","accumulatorId":111,"metricType":"timing"},{"name":"time to collect","accumulatorId":110,"metricType":"timing"},{"name":"number of output rows","accumulatorId":109,"metricType":"sum"},{"name":"data size","accumulatorId":108,"metricType":"size"}]}],"metadata":{},"metrics":[{"name":"number of output rows","accumulatorId":103,"metricType":"sum"}]}],"metadata":{},"metrics":[]},{"nodeName":"BroadcastExchange","simpleString":"BroadcastExchange HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=129]","children":[{"nodeName":"HashAggregate","simpleString":"HashAggregate(keys=[user_id#11L], functions=[count(distinct course_id#12L)])","children":[{"nodeName":"Exchange","simpleString":"Exchange hashpartitioning(user_id#11L, 200), ENSURE_REQUIREMENTS, [plan_id=126]","children":[{"nodeName":"HashAggregate","simpleString":"HashAggregate(keys=[user_id#11L], functions=[partial_count(distinct course_id#12L)])","children":[{"nodeName":"HashAggregate","simpleString":"HashAggregate(keys=[user_id#11L, course_id#12L], functions=[])","children":[{"nodeName":"Exchange","simpleString":"Exchange hashpartitioning(user_id#11L, course_id#12L, 200), ENSURE_REQUIREMENTS, [plan_id=122]","children":[{"nodeName":"HashAggregate","simpleString":"HashAggregate(keys=[user_id#11L, course_id#12L], functions=[])","children":[{"nodeName":"Filter","simpleString":"Filter isnotnull(user_id#11L)","children":[{"nodeName":"Scan csv ","simpleString":"FileScan csv [user_id#11L,course_id#12L] Batched: false, DataFilters: [isnotnull(user_id#11L)], Format: CSV, Location: InMemoryFileIndex(1 paths)[s3a://apavlovets-bucket/raw/enrollments.csv], PartitionFilters: [], PushedFilters: [IsNotNull(user_id)], ReadSchema: struct","children":[],"metadata":{"Location":"InMemoryFileIndex(1 paths)[s3a://apavlovets-bucket/raw/enrollments.csv]","ReadSchema":"struct","Format":"CSV","Batched":"false","PartitionFilters":"[]","PushedFilters":"[IsNotNull(user_id)]","DataFilters":"[isnotnull(user_id#11L)]"},"metrics":[{"name":"number of output rows","accumulatorId":192,"metricType":"sum"},{"name":"number of files read","accumulatorId":193,"metricType":"sum"},{"name":"metadata time","accumulatorId":194,"metricType":"timing"},{"name":"size of files read","accumulatorId":195,"metricType":"size"}]}],"metadata":{},"metrics":[{"name":"number of output rows","accumulatorId":191,"metricType":"sum"}]}],"metadata":{},"metrics":[{"name":"spill size","accumulatorId":187,"metricType":"size"},{"name":"time in aggregation build","accumulatorId":188,"metricType":"timing"},{"name":"peak memory","accumulatorId":186,"metricType":"size"},{"name":"number of output rows","accumulatorId":185,"metricType":"sum"},{"name":"number of sort fallback tasks","accumulatorId":190,"metricType":"sum"},{"name":"avg hash probes per key","accumulatorId":189,"metricType":"average"}]}],"metadata":{},"metrics":[{"name":"shuffle records written","accumulatorId":183,"metricType":"sum"},{"name":"local merged chunks fetched","accumulatorId":177,"metricType":"sum"},{"name":"shuffle write time","accumulatorId":184,"metricType":"nsTiming"},{"name":"remote merged bytes read","accumulatorId":178,"metricType":"size"},{"name":"local merged blocks fetched","accumulatorId":175,"metricType":"sum"},{"name":"corrupt merged block chunks","accumulatorId":172,"metricType":"sum"},{"name":"remote merged reqs duration","accumulatorId":181,"metricType":"timing"},{"name":"remote merged blocks fetched","accumulatorId":174,"metricType":"sum"},{"name":"records read","accumulatorId":171,"metricType":"sum"},{"name":"local bytes read","accumulatorId":169,"metricType":"size"},{"name":"fetch wait time","accumulatorId":170,"metricType":"timing"},{"name":"remote bytes read","accumulatorId":167,"metricType":"size"},{"name":"merged fetch fallback count","accumulatorId":173,"metricType":"sum"},{"name":"local blocks read","accumulatorId":166,"metricType":"sum"},{"name":"remote merged chunks fetched","accumulatorId":176,"metricType":"sum"},{"name":"remote blocks read","accumulatorId":165,"metricType":"sum"},{"name":"data size","accumulatorId":163,"metricType":"size"},{"name":"local merged bytes read","accumulatorId":179,"metricType":"size"},{"name":"number of partitions","accumulatorId":164,"metricType":"sum"},{"name":"remote reqs duration","accumulatorId":180,"metricType":"timing"},{"name":"remote bytes read to disk","accumulatorId":168,"metricType":"size"},{"name":"shuffle bytes written","accumulatorId":182,"metricType":"size"}]}],"metadata":{},"metrics":[{"name":"spill size","accumulatorId":159,"metricType":"size"},{"name":"time in aggregation build","accumulatorId":160,"metricType":"timing"},{"name":"peak memory","accumulatorId":158,"metricType":"size"},{"name":"number of output rows","accumulatorId":157,"metricType":"sum"},{"name":"number of sort fallback tasks","accumulatorId":162,"metricType":"sum"},{"name":"avg hash probes per key","accumulatorId":161,"metricType":"average"}]}],"metadata":{},"metrics":[{"name":"spill size","accumulatorId":153,"metricType":"size"},{"name":"time in aggregation build","accumulatorId":154,"metricType":"timing"},{"name":"peak memory","accumulatorId":152,"metricType":"size"},{"name":"number of output rows","accumulatorId":151,"metricType":"sum"},{"name":"number of sort fallback tasks","accumulatorId":156,"metricType":"sum"},{"name":"avg hash probes per key","accumulatorId":155,"metricType":"average"}]}],"metadata":{},"metrics":[{"name":"shuffle records written","accumulatorId":149,"metricType":"sum"},{"name":"local merged chunks fetched","accumulatorId":143,"metricType":"sum"},{"name":"shuffle write time","accumulatorId":150,"metricType":"nsTiming"},{"name":"remote merged bytes read","accumulatorId":144,"metricType":"size"},{"name":"local merged blocks fetched","accumulatorId":141,"metricType":"sum"},{"name":"corrupt merged block chunks","accumulatorId":138,"metricType":"sum"},{"name":"remote merged reqs duration","accumulatorId":147,"metricType":"timing"},{"name":"remote merged blocks fetched","accumulatorId":140,"metricType":"sum"},{"name":"records read","accumulatorId":137,"metricType":"sum"},{"name":"local bytes read","accumulatorId":135,"metricType":"size"},{"name":"fetch wait time","accumulatorId":136,"metricType":"timing"},{"name":"remote bytes read","accumulatorId":133,"metricType":"size"},{"name":"merged fetch fallback count","accumulatorId":139,"metricType":"sum"},{"name":"local blocks read","accumulatorId":132,"metricType":"sum"},{"name":"remote merged chunks fetched","accumulatorId":142,"metricType":"sum"},{"name":"remote blocks read","accumulatorId":131,"metricType":"sum"},{"name":"data size","accumulatorId":129,"metricType":"size"},{"name":"local merged bytes read","accumulatorId":145,"metricType":"size"},{"name":"number of partitions","accumulatorId":130,"metricType":"sum"},{"name":"remote reqs duration","accumulatorId":146,"metricType":"timing"},{"name":"remote bytes read to disk","accumulatorId":134,"metricType":"size"},{"name":"shuffle bytes written","accumulatorId":148,"metricType":"size"}]}],"metadata":{},"metrics":[{"name":"spill size","accumulatorId":125,"metricType":"size"},{"name":"time in aggregation build","accumulatorId":126,"metricType":"timing"},{"name":"peak memory","accumulatorId":124,"metricType":"size"},{"name":"number of output rows","accumulatorId":123,"metricType":"sum"},{"name":"number of sort fallback tasks","accumulatorId":128,"metricType":"sum"},{"name":"avg hash probes per key","accumulatorId":127,"metricType":"average"}]}],"metadata":{},"metrics":[{"name":"time to broadcast","accumulatorId":122,"metricType":"timing"},{"name":"time to build","accumulatorId":121,"metricType":"timing"},{"name":"time to collect","accumulatorId":120,"metricType":"timing"},{"name":"number of output rows","accumulatorId":119,"metricType":"sum"},{"name":"data size","accumulatorId":118,"metricType":"size"}]}],"metadata":{},"metrics":[{"name":"number of output rows","accumulatorId":102,"metricType":"sum"}]},{"nodeName":"BroadcastExchange","simpleString":"BroadcastExchange HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=134]","children":[{"nodeName":"HashAggregate","simpleString":"HashAggregate(keys=[user_id#19L], functions=[min(viewed_at#21)])","children":[{"nodeName":"Exchange","simpleString":"Exchange hashpartitioning(user_id#19L, 200), ENSURE_REQUIREMENTS, [plan_id=131]","children":[{"nodeName":"HashAggregate","simpleString":"HashAggregate(keys=[user_id#19L], functions=[partial_min(viewed_at#21)])","children":[{"nodeName":"Filter","simpleString":"Filter isnotnull(user_id#19L)","children":[{"nodeName":"Scan csv ","simpleString":"FileScan csv [user_id#19L,viewed_at#21] Batched: false, DataFilters: [isnotnull(user_id#19L)], Format: CSV, Location: InMemoryFileIndex(1 paths)[s3a://apavlovets-bucket/raw/lesson_views.csv], PartitionFilters: [], PushedFilters: [IsNotNull(user_id)], ReadSchema: struct","children":[],"metadata":{"Location":"InMemoryFileIndex(1 paths)[s3a://apavlovets-bucket/raw/lesson_views.csv]","ReadSchema":"struct","Format":"CSV","Batched":"false","PartitionFilters":"[]","PushedFilters":"[IsNotNull(user_id)]","DataFilters":"[isnotnull(user_id#19L)]"},"metrics":[{"name":"number of output rows","accumulatorId":236,"metricType":"sum"},{"name":"number of files read","accumulatorId":237,"metricType":"sum"},{"name":"metadata time","accumulatorId":238,"metricType":"timing"},{"name":"size of files read","accumulatorId":239,"metricType":"size"}]}],"metadata":{},"metrics":[{"name":"number of output rows","accumulatorId":235,"metricType":"sum"}]}],"metadata":{},"metrics":[{"name":"spill size","accumulatorId":231,"metricType":"size"},{"name":"time in aggregation build","accumulatorId":232,"metricType":"timing"},{"name":"peak memory","accumulatorId":230,"metricType":"size"},{"name":"number of output rows","accumulatorId":229,"metricType":"sum"},{"name":"number of sort fallback tasks","accumulatorId":234,"metricType":"sum"},{"name":"avg hash probes per key","accumulatorId":233,"metricType":"average"}]}],"metadata":{},"metrics":[{"name":"shuffle records written","accumulatorId":227,"metricType":"sum"},{"name":"local merged chunks fetched","accumulatorId":221,"metricType":"sum"},{"name":"shuffle write time","accumulatorId":228,"metricType":"nsTiming"},{"name":"remote merged bytes read","accumulatorId":222,"metricType":"size"},{"name":"local merged blocks fetched","accumulatorId":219,"metricType":"sum"},{"name":"corrupt merged block chunks","accumulatorId":216,"metricType":"sum"},{"name":"remote merged reqs duration","accumulatorId":225,"metricType":"timing"},{"name":"remote merged blocks fetched","accumulatorId":218,"metricType":"sum"},{"name":"records read","accumulatorId":215,"metricType":"sum"},{"name":"local bytes read","accumulatorId":213,"metricType":"size"},{"name":"fetch wait time","accumulatorId":214,"metricType":"timing"},{"name":"remote bytes read","accumulatorId":211,"metricType":"size"},{"name":"merged fetch fallback count","accumulatorId":217,"metricType":"sum"},{"name":"local blocks read","accumulatorId":210,"metricType":"sum"},{"name":"remote merged chunks fetched","accumulatorId":220,"metricType":"sum"},{"name":"remote blocks read","accumulatorId":209,"metricType":"sum"},{"name":"data size","accumulatorId":207,"metricType":"size"},{"name":"local merged bytes read","accumulatorId":223,"metricType":"size"},{"name":"number of partitions","accumulatorId":208,"metricType":"sum"},{"name":"remote reqs duration","accumulatorId":224,"metricType":"timing"},{"name":"remote bytes read to disk","accumulatorId":212,"metricType":"size"},{"name":"shuffle bytes written","accumulatorId":226,"metricType":"size"}]}],"metadata":{},"metrics":[{"name":"spill size","accumulatorId":203,"metricType":"size"},{"name":"time in aggregation build","accumulatorId":204,"metricType":"timing"},{"name":"peak memory","accumulatorId":202,"metricType":"size"},{"name":"number of output rows","accumulatorId":201,"metricType":"sum"},{"name":"number of sort fallback tasks","accumulatorId":206,"metricType":"sum"},{"name":"avg hash probes per key","accumulatorId":205,"metricType":"average"}]}],"metadata":{},"metrics":[{"name":"time to broadcast","accumulatorId":200,"metricType":"timing"},{"name":"time to build","accumulatorId":199,"metricType":"timing"},{"name":"time to collect","accumulatorId":198,"metricType":"timing"},{"name":"number of output rows","accumulatorId":197,"metricType":"sum"},{"name":"data size","accumulatorId":196,"metricType":"size"}]}],"metadata":{},"metrics":[{"name":"number of output rows","accumulatorId":101,"metricType":"sum"}]}],"metadata":{},"metrics":[{"name":"number of output rows","accumulatorId":100,"metricType":"sum"}]}],"metadata":{},"metrics":[{"name":"spill size","accumulatorId":96,"metricType":"size"},{"name":"time in aggregation build","accumulatorId":97,"metricType":"timing"},{"name":"peak memory","accumulatorId":95,"metricType":"size"},{"name":"number of output rows","accumulatorId":94,"metricType":"sum"},{"name":"number of sort fallback tasks","accumulatorId":99,"metricType":"sum"},{"name":"avg hash probes per key","accumulatorId":98,"metricType":"average"}]}],"metadata":{},"metrics":[{"name":"shuffle records written","accumulatorId":92,"metricType":"sum"},{"name":"local merged chunks fetched","accumulatorId":86,"metricType":"sum"},{"name":"shuffle write time","accumulatorId":93,"metricType":"nsTiming"},{"name":"remote merged bytes read","accumulatorId":87,"metricType":"size"},{"name":"local merged blocks fetched","accumulatorId":84,"metricType":"sum"},{"name":"corrupt merged block chunks","accumulatorId":81,"metricType":"sum"},{"name":"remote merged reqs duration","accumulatorId":90,"metricType":"timing"},{"name":"remote merged blocks fetched","accumulatorId":83,"metricType":"sum"},{"name":"records read","accumulatorId":80,"metricType":"sum"},{"name":"local bytes read","accumulatorId":78,"metricType":"size"},{"name":"fetch wait time","accumulatorId":79,"metricType":"timing"},{"name":"remote bytes read","accumulatorId":76,"metricType":"size"},{"name":"merged fetch fallback count","accumulatorId":82,"metricType":"sum"},{"name":"local blocks read","accumulatorId":75,"metricType":"sum"},{"name":"remote merged chunks fetched","accumulatorId":85,"metricType":"sum"},{"name":"remote blocks read","accumulatorId":74,"metricType":"sum"},{"name":"data size","accumulatorId":72,"metricType":"size"},{"name":"local merged bytes read","accumulatorId":88,"metricType":"size"},{"name":"number of partitions","accumulatorId":73,"metricType":"sum"},{"name":"remote reqs duration","accumulatorId":89,"metricType":"timing"},{"name":"remote bytes read to disk","accumulatorId":77,"metricType":"size"},{"name":"shuffle bytes written","accumulatorId":91,"metricType":"size"}]}],"metadata":{},"metrics":[{"name":"spill size","accumulatorId":68,"metricType":"size"},{"name":"time in aggregation build","accumulatorId":69,"metricType":"timing"},{"name":"peak memory","accumulatorId":67,"metricType":"size"},{"name":"number of output rows","accumulatorId":66,"metricType":"sum"},{"name":"number of sort fallback tasks","accumulatorId":71,"metricType":"sum"},{"name":"avg hash probes per key","accumulatorId":70,"metricType":"average"}]}],"metadata":{},"metrics":[{"name":"spill size","accumulatorId":62,"metricType":"size"},{"name":"time in aggregation build","accumulatorId":63,"metricType":"timing"},{"name":"peak memory","accumulatorId":61,"metricType":"size"},{"name":"number of output rows","accumulatorId":60,"metricType":"sum"},{"name":"number of sort fallback tasks","accumulatorId":65,"metricType":"sum"},{"name":"avg hash probes per key","accumulatorId":64,"metricType":"average"}]}],"metadata":{},"metrics":[{"name":"shuffle records written","accumulatorId":58,"metricType":"sum"},{"name":"local merged chunks fetched","accumulatorId":52,"metricType":"sum"},{"name":"shuffle write time","accumulatorId":59,"metricType":"nsTiming"},{"name":"remote merged bytes read","accumulatorId":53,"metricType":"size"},{"name":"local merged blocks fetched","accumulatorId":50,"metricType":"sum"},{"name":"corrupt merged block chunks","accumulatorId":47,"metricType":"sum"},{"name":"remote merged reqs duration","accumulatorId":56,"metricType":"timing"},{"name":"remote merged blocks fetched","accumulatorId":49,"metricType":"sum"},{"name":"records read","accumulatorId":46,"metricType":"sum"},{"name":"local bytes read","accumulatorId":44,"metricType":"size"},{"name":"fetch wait time","accumulatorId":45,"metricType":"timing"},{"name":"remote bytes read","accumulatorId":42,"metricType":"size"},{"name":"merged fetch fallback count","accumulatorId":48,"metricType":"sum"},{"name":"local blocks read","accumulatorId":41,"metricType":"sum"},{"name":"remote merged chunks fetched","accumulatorId":51,"metricType":"sum"},{"name":"remote blocks read","accumulatorId":40,"metricType":"sum"},{"name":"data size","accumulatorId":38,"metricType":"size"},{"name":"local merged bytes read","accumulatorId":54,"metricType":"size"},{"name":"number of partitions","accumulatorId":39,"metricType":"sum"},{"name":"remote reqs duration","accumulatorId":55,"metricType":"timing"},{"name":"remote bytes read to disk","accumulatorId":43,"metricType":"size"},{"name":"shuffle bytes written","accumulatorId":57,"metricType":"size"}]}],"metadata":{},"metrics":[{"name":"spill size","accumulatorId":34,"metricType":"size"},{"name":"time in aggregation build","accumulatorId":35,"metricType":"timing"},{"name":"peak memory","accumulatorId":33,"metricType":"size"},{"name":"number of output rows","accumulatorId":32,"metricType":"sum"},{"name":"number of sort fallback tasks","accumulatorId":37,"metricType":"sum"},{"name":"avg hash probes per key","accumulatorId":36,"metricType":"average"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"shuffle records written","accumulatorId":30,"metricType":"sum"},{"name":"local merged chunks fetched","accumulatorId":24,"metricType":"sum"},{"name":"shuffle write time","accumulatorId":31,"metricType":"nsTiming"},{"name":"remote merged bytes read","accumulatorId":25,"metricType":"size"},{"name":"local merged blocks fetched","accumulatorId":22,"metricType":"sum"},{"name":"corrupt merged block chunks","accumulatorId":19,"metricType":"sum"},{"name":"remote merged reqs duration","accumulatorId":28,"metricType":"timing"},{"name":"remote merged blocks fetched","accumulatorId":21,"metricType":"sum"},{"name":"records read","accumulatorId":18,"metricType":"sum"},{"name":"local bytes read","accumulatorId":16,"metricType":"size"},{"name":"fetch wait time","accumulatorId":17,"metricType":"timing"},{"name":"remote bytes read","accumulatorId":14,"metricType":"size"},{"name":"merged fetch fallback count","accumulatorId":20,"metricType":"sum"},{"name":"local blocks read","accumulatorId":13,"metricType":"sum"},{"name":"remote merged chunks fetched","accumulatorId":23,"metricType":"sum"},{"name":"remote blocks read","accumulatorId":12,"metricType":"sum"},{"name":"data size","accumulatorId":10,"metricType":"size"},{"name":"local merged bytes read","accumulatorId":26,"metricType":"size"},{"name":"number of partitions","accumulatorId":11,"metricType":"sum"},{"name":"remote reqs duration","accumulatorId":27,"metricType":"timing"},{"name":"remote bytes read to disk","accumulatorId":15,"metricType":"size"},{"name":"shuffle bytes written","accumulatorId":29,"metricType":"size"}]}],"metadata":{},"metrics":[{"name":"sort time","accumulatorId":7,"metricType":"timing"},{"name":"peak memory","accumulatorId":8,"metricType":"size"},{"name":"spill size","accumulatorId":9,"metricType":"size"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"task commit time","accumulatorId":5,"metricType":"timing"},{"name":"number of written files","accumulatorId":1,"metricType":"sum"},{"name":"job commit time","accumulatorId":6,"metricType":"timing"},{"name":"number of output rows","accumulatorId":3,"metricType":"sum"},{"name":"number of dynamic part","accumulatorId":4,"metricType":"sum"},{"name":"written output","accumulatorId":2,"metricType":"size"}]}],"metadata":{},"metrics":[]},"time":1784546386498,"modifiedConfigs":{},"jobTags":[]} {"Event":"org.apache.spark.sql.execution.ui.SparkListenerSQLAdaptiveExecutionUpdate","executionId":0,"physicalPlanDescription":"== Physical Plan ==\nAdaptiveSparkPlan (71)\n+- == Current Plan ==\n Execute InsertIntoHadoopFsRelationCommand (39)\n +- WriteFiles (38)\n +- Sort (37)\n +- Exchange (36)\n +- Project (35)\n +- HashAggregate (34)\n +- Exchange (33)\n +- HashAggregate (32)\n +- HashAggregate (31)\n +- Exchange (30)\n +- HashAggregate (29)\n +- Expand (28)\n +- BroadcastHashJoin LeftOuter BuildRight (27)\n :- BroadcastHashJoin LeftOuter BuildRight (19)\n : :- Project (8)\n : : +- BroadcastHashJoin LeftOuter BuildRight (7)\n : : :- Project (2)\n : : : +- Scan csv (1)\n : : +- BroadcastQueryStage (6)\n : : +- BroadcastExchange (5)\n : : +- * Filter (4)\n : : +- Scan csv (3)\n : +- BroadcastExchange (18)\n : +- HashAggregate (17)\n : +- Exchange (16)\n : +- HashAggregate (15)\n : +- HashAggregate (14)\n : +- ShuffleQueryStage (13)\n : +- Exchange (12)\n : +- * HashAggregate (11)\n : +- * Filter (10)\n : +- Scan csv (9)\n +- BroadcastExchange (26)\n +- HashAggregate (25)\n +- ShuffleQueryStage (24)\n +- Exchange (23)\n +- * HashAggregate (22)\n +- * Filter (21)\n +- Scan csv (20)\n+- == Initial Plan ==\n Execute InsertIntoHadoopFsRelationCommand (70)\n +- WriteFiles (69)\n +- Sort (68)\n +- Exchange (67)\n +- Project (66)\n +- HashAggregate (65)\n +- Exchange (64)\n +- HashAggregate (63)\n +- HashAggregate (62)\n +- Exchange (61)\n +- HashAggregate (60)\n +- Expand (59)\n +- BroadcastHashJoin LeftOuter BuildRight (58)\n :- BroadcastHashJoin LeftOuter BuildRight (52)\n : :- Project (43)\n : : +- BroadcastHashJoin LeftOuter BuildRight (42)\n : : :- Project (2)\n : : : +- Scan csv (1)\n : : +- BroadcastExchange (41)\n : : +- Filter (40)\n : : +- Scan csv (3)\n : +- BroadcastExchange (51)\n : +- HashAggregate (50)\n : +- Exchange (49)\n : +- HashAggregate (48)\n : +- HashAggregate (47)\n : +- Exchange (46)\n : +- HashAggregate (45)\n : +- Filter (44)\n : +- Scan csv (9)\n +- BroadcastExchange (57)\n +- HashAggregate (56)\n +- Exchange (55)\n +- HashAggregate (54)\n +- Filter (53)\n +- Scan csv (20)\n\n\n(1) Scan csv \nOutput [2]: [id#0L, registration_date#4]\nBatched: false\nLocation: InMemoryFileIndex [s3a://apavlovets-bucket/raw/users.csv]\nReadSchema: struct\n\n(2) Project\nOutput [2]: [id#0L AS user_id#26L, date_trunc(month, registration_date#4, Some(Europe/Samara)) AS cohort_month_ts#27]\nInput [2]: [id#0L, registration_date#4]\n\n(3) Scan csv \nOutput [2]: [id#53L, registration_date#57]\nBatched: false\nLocation: InMemoryFileIndex [s3a://apavlovets-bucket/raw/users.csv]\nPushedFilters: [IsNotNull(id)]\nReadSchema: struct\n\n(4) Filter [codegen id : 1]\nInput [2]: [id#53L, registration_date#57]\nCondition : isnotnull(id#53L)\n\n(5) BroadcastExchange\nInput [2]: [id#53L, registration_date#57]\nArguments: HashedRelationBroadcastMode(List(input[0, bigint, false]),false), [plan_id=213]\n\n(6) BroadcastQueryStage\nOutput [2]: [id#53L, registration_date#57]\nArguments: 0\n\n(7) BroadcastHashJoin\nLeft keys [1]: [user_id#26L]\nRight keys [1]: [id#53L]\nJoin type: LeftOuter\nJoin condition: None\n\n(8) Project\nOutput [3]: [user_id#26L, cohort_month_ts#27, registration_date#57]\nInput [4]: [user_id#26L, cohort_month_ts#27, id#53L, registration_date#57]\n\n(9) Scan csv \nOutput [2]: [user_id#11L, course_id#12L]\nBatched: false\nLocation: InMemoryFileIndex [s3a://apavlovets-bucket/raw/enrollments.csv]\nPushedFilters: [IsNotNull(user_id)]\nReadSchema: struct\n\n(10) Filter [codegen id : 2]\nInput [2]: [user_id#11L, course_id#12L]\nCondition : isnotnull(user_id#11L)\n\n(11) HashAggregate [codegen id : 2]\nInput [2]: [user_id#11L, course_id#12L]\nKeys [2]: [user_id#11L, course_id#12L]\nFunctions: []\nAggregate Attributes: []\nResults [2]: [user_id#11L, course_id#12L]\n\n(12) Exchange\nInput [2]: [user_id#11L, course_id#12L]\nArguments: hashpartitioning(user_id#11L, course_id#12L, 200), ENSURE_REQUIREMENTS, [plan_id=226]\n\n(13) ShuffleQueryStage\nOutput [2]: [user_id#11L, course_id#12L]\nArguments: 1\n\n(14) HashAggregate\nInput [2]: [user_id#11L, course_id#12L]\nKeys [2]: [user_id#11L, course_id#12L]\nFunctions: []\nAggregate Attributes: []\nResults [2]: [user_id#11L, course_id#12L]\n\n(15) HashAggregate\nInput [2]: [user_id#11L, course_id#12L]\nKeys [1]: [user_id#11L]\nFunctions [1]: [partial_count(distinct course_id#12L)]\nAggregate Attributes [1]: [count(course_id#12L)#36L]\nResults [2]: [user_id#11L, count#203L]\n\n(16) Exchange\nInput [2]: [user_id#11L, count#203L]\nArguments: hashpartitioning(user_id#11L, 200), ENSURE_REQUIREMENTS, [plan_id=238]\n\n(17) HashAggregate\nInput [2]: [user_id#11L, count#203L]\nKeys [1]: [user_id#11L]\nFunctions [1]: [count(distinct course_id#12L)]\nAggregate Attributes [1]: [count(course_id#12L)#36L]\nResults [2]: [user_id#11L, count(course_id#12L)#36L AS courses_count#35L]\n\n(18) BroadcastExchange\nInput [2]: [user_id#11L, courses_count#35L]\nArguments: HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=240]\n\n(19) BroadcastHashJoin\nLeft keys [1]: [user_id#26L]\nRight keys [1]: [user_id#11L]\nJoin type: LeftOuter\nJoin condition: None\n\n(20) Scan csv \nOutput [2]: [user_id#19L, viewed_at#21]\nBatched: false\nLocation: InMemoryFileIndex [s3a://apavlovets-bucket/raw/lesson_views.csv]\nPushedFilters: [IsNotNull(user_id)]\nReadSchema: struct\n\n(21) Filter [codegen id : 3]\nInput [2]: [user_id#19L, viewed_at#21]\nCondition : isnotnull(user_id#19L)\n\n(22) HashAggregate [codegen id : 3]\nInput [2]: [user_id#19L, viewed_at#21]\nKeys [1]: [user_id#19L]\nFunctions [1]: [partial_min(viewed_at#21)]\nAggregate Attributes [1]: [min#205]\nResults [2]: [user_id#19L, min#206]\n\n(23) Exchange\nInput [2]: [user_id#19L, min#206]\nArguments: hashpartitioning(user_id#19L, 200), ENSURE_REQUIREMENTS, [plan_id=246]\n\n(24) ShuffleQueryStage\nOutput [2]: [user_id#19L, min#206]\nArguments: 2\n\n(25) HashAggregate\nInput [2]: [user_id#19L, min#206]\nKeys [1]: [user_id#19L]\nFunctions [1]: [min(viewed_at#21)]\nAggregate Attributes [1]: [min(viewed_at#21)#46]\nResults [2]: [user_id#19L, min(viewed_at#21)#46 AS first_viewed_at#47]\n\n(26) BroadcastExchange\nInput [2]: [user_id#19L, first_viewed_at#47]\nArguments: HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=257]\n\n(27) BroadcastHashJoin\nLeft keys [1]: [user_id#26L]\nRight keys [1]: [user_id#19L]\nJoin type: LeftOuter\nJoin condition: None\n\n(28) Expand\nInput [7]: [user_id#26L, cohort_month_ts#27, registration_date#57, user_id#11L, courses_count#35L, user_id#19L, first_viewed_at#47]\nArguments: [[cohort_month_ts#27, null, null, null, 0, courses_count#35L, datediff(cast(first_viewed_at#47 as date), cast(registration_date#57 as date))], [cohort_month_ts#27, user_id#26L, null, null, 1, null, null], [cohort_month_ts#27, null, user_id#11L, null, 2, null, null], [cohort_month_ts#27, null, null, user_id#19L, 3, null, null]], [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, ue.courses_count#173L, datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174]\n\n(29) HashAggregate\nInput [7]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, ue.courses_count#173L, datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174]\nKeys [5]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169]\nFunctions [2]: [partial_avg(ue.courses_count#173L), partial_avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174)]\nAggregate Attributes [4]: [sum#193, count#194L, sum#195, count#196L]\nResults [9]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, sum#197, count#198L, sum#199, count#200L]\n\n(30) Exchange\nInput [9]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, sum#197, count#198L, sum#199, count#200L]\nArguments: hashpartitioning(cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, 200), ENSURE_REQUIREMENTS, [plan_id=261]\n\n(31) HashAggregate\nInput [9]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, sum#197, count#198L, sum#199, count#200L]\nKeys [5]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169]\nFunctions [2]: [avg(ue.courses_count#173L), avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174)]\nAggregate Attributes [2]: [avg(ue.courses_count#173L)#127, avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174)#129]\nResults [7]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, avg(ue.courses_count#173L)#127 AS avg(ue.courses_count)#175, avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174)#129 AS avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177]\n\n(32) HashAggregate\nInput [7]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, avg(ue.courses_count)#175, avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177]\nKeys [1]: [cohort_month_ts#27]\nFunctions [5]: [partial_count(c.user_id#170L) FILTER (WHERE (gid#169 = 1)), partial_count(ue.user_id#171L) FILTER (WHERE (gid#169 = 2)), partial_count(ufv.user_id#172L) FILTER (WHERE (gid#169 = 3)), partial_first(avg(ue.courses_count)#175, true) FILTER (WHERE (gid#169 = 0)), partial_first(avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177, true) FILTER (WHERE (gid#169 = 0))]\nAggregate Attributes [7]: [count#179L, count#180L, count#181L, first#182, valueSet#183, first#184, valueSet#185]\nResults [8]: [cohort_month_ts#27, count#186L, count#187L, count#188L, first#189, valueSet#190, first#191, valueSet#192]\n\n(33) Exchange\nInput [8]: [cohort_month_ts#27, count#186L, count#187L, count#188L, first#189, valueSet#190, first#191, valueSet#192]\nArguments: hashpartitioning(cohort_month_ts#27, 200), ENSURE_REQUIREMENTS, [plan_id=264]\n\n(34) HashAggregate\nInput [8]: [cohort_month_ts#27, count#186L, count#187L, count#188L, first#189, valueSet#190, first#191, valueSet#192]\nKeys [1]: [cohort_month_ts#27]\nFunctions [5]: [count(c.user_id#170L), count(ue.user_id#171L), count(ufv.user_id#172L), first(avg(ue.courses_count)#175, true), first(avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177, true)]\nAggregate Attributes [5]: [count(c.user_id#170L)#131L, count(ue.user_id#171L)#132L, count(ufv.user_id#172L)#133L, first(avg(ue.courses_count)#175) ignore nulls#176, first(avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177) ignore nulls#178]\nResults [6]: [cohort_month_ts#27, count(c.user_id#170L)#131L AS users_in_cohort#124L, count(ue.user_id#171L)#132L AS enrolled_users#125L, count(ufv.user_id#172L)#133L AS active_users#126L, round(first(avg(ue.courses_count)#175) ignore nulls#176, 2) AS avg_courses_per_user#128, round(first(avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177) ignore nulls#178, 2) AS avg_time_to_first_view#130]\n\n(35) Project\nOutput [7]: [date_format(cohort_month_ts#27, yyyy-MM, Some(Europe/Samara)) AS cohort_month#154, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130, CASE WHEN NOT (users_in_cohort#124L = 0) THEN round(((cast(active_users#126L as double) * 100.0) / cast(users_in_cohort#124L as double)), 2) END AS retention_rate#146]\nInput [6]: [cohort_month_ts#27, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130]\n\n(36) Exchange\nInput [7]: [cohort_month#154, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130, retention_rate#146]\nArguments: rangepartitioning(cohort_month#154 ASC NULLS FIRST, 200), ENSURE_REQUIREMENTS, [plan_id=267]\n\n(37) Sort\nInput [7]: [cohort_month#154, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130, retention_rate#146]\nArguments: [cohort_month#154 ASC NULLS FIRST], true, 0\n\n(38) WriteFiles\nInput [7]: [cohort_month#154, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130, retention_rate#146]\n\n(39) Execute InsertIntoHadoopFsRelationCommand\nInput: []\nArguments: s3a://apavlovets-bucket/marts/user_cohort_analysis.parquet, false, Parquet, [path=s3a://apavlovets-bucket/marts/user_cohort_analysis.parquet], Overwrite, [cohort_month, users_in_cohort, enrolled_users, active_users, avg_courses_per_user, avg_time_to_first_view, retention_rate]\n\n(40) Filter\nInput [2]: [id#53L, registration_date#57]\nCondition : isnotnull(id#53L)\n\n(41) BroadcastExchange\nInput [2]: [id#53L, registration_date#57]\nArguments: HashedRelationBroadcastMode(List(input[0, bigint, false]),false), [plan_id=119]\n\n(42) BroadcastHashJoin\nLeft keys [1]: [user_id#26L]\nRight keys [1]: [id#53L]\nJoin type: LeftOuter\nJoin condition: None\n\n(43) Project\nOutput [3]: [user_id#26L, cohort_month_ts#27, registration_date#57]\nInput [4]: [user_id#26L, cohort_month_ts#27, id#53L, registration_date#57]\n\n(44) Filter\nInput [2]: [user_id#11L, course_id#12L]\nCondition : isnotnull(user_id#11L)\n\n(45) HashAggregate\nInput [2]: [user_id#11L, course_id#12L]\nKeys [2]: [user_id#11L, course_id#12L]\nFunctions: []\nAggregate Attributes: []\nResults [2]: [user_id#11L, course_id#12L]\n\n(46) Exchange\nInput [2]: [user_id#11L, course_id#12L]\nArguments: hashpartitioning(user_id#11L, course_id#12L, 200), ENSURE_REQUIREMENTS, [plan_id=122]\n\n(47) HashAggregate\nInput [2]: [user_id#11L, course_id#12L]\nKeys [2]: [user_id#11L, course_id#12L]\nFunctions: []\nAggregate Attributes: []\nResults [2]: [user_id#11L, course_id#12L]\n\n(48) HashAggregate\nInput [2]: [user_id#11L, course_id#12L]\nKeys [1]: [user_id#11L]\nFunctions [1]: [partial_count(distinct course_id#12L)]\nAggregate Attributes [1]: [count(course_id#12L)#36L]\nResults [2]: [user_id#11L, count#203L]\n\n(49) Exchange\nInput [2]: [user_id#11L, count#203L]\nArguments: hashpartitioning(user_id#11L, 200), ENSURE_REQUIREMENTS, [plan_id=126]\n\n(50) HashAggregate\nInput [2]: [user_id#11L, count#203L]\nKeys [1]: [user_id#11L]\nFunctions [1]: [count(distinct course_id#12L)]\nAggregate Attributes [1]: [count(course_id#12L)#36L]\nResults [2]: [user_id#11L, count(course_id#12L)#36L AS courses_count#35L]\n\n(51) BroadcastExchange\nInput [2]: [user_id#11L, courses_count#35L]\nArguments: HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=129]\n\n(52) BroadcastHashJoin\nLeft keys [1]: [user_id#26L]\nRight keys [1]: [user_id#11L]\nJoin type: LeftOuter\nJoin condition: None\n\n(53) Filter\nInput [2]: [user_id#19L, viewed_at#21]\nCondition : isnotnull(user_id#19L)\n\n(54) HashAggregate\nInput [2]: [user_id#19L, viewed_at#21]\nKeys [1]: [user_id#19L]\nFunctions [1]: [partial_min(viewed_at#21)]\nAggregate Attributes [1]: [min#205]\nResults [2]: [user_id#19L, min#206]\n\n(55) Exchange\nInput [2]: [user_id#19L, min#206]\nArguments: hashpartitioning(user_id#19L, 200), ENSURE_REQUIREMENTS, [plan_id=131]\n\n(56) HashAggregate\nInput [2]: [user_id#19L, min#206]\nKeys [1]: [user_id#19L]\nFunctions [1]: [min(viewed_at#21)]\nAggregate Attributes [1]: [min(viewed_at#21)#46]\nResults [2]: [user_id#19L, min(viewed_at#21)#46 AS first_viewed_at#47]\n\n(57) BroadcastExchange\nInput [2]: [user_id#19L, first_viewed_at#47]\nArguments: HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=134]\n\n(58) BroadcastHashJoin\nLeft keys [1]: [user_id#26L]\nRight keys [1]: [user_id#19L]\nJoin type: LeftOuter\nJoin condition: None\n\n(59) Expand\nInput [7]: [user_id#26L, cohort_month_ts#27, registration_date#57, user_id#11L, courses_count#35L, user_id#19L, first_viewed_at#47]\nArguments: [[cohort_month_ts#27, null, null, null, 0, courses_count#35L, datediff(cast(first_viewed_at#47 as date), cast(registration_date#57 as date))], [cohort_month_ts#27, user_id#26L, null, null, 1, null, null], [cohort_month_ts#27, null, user_id#11L, null, 2, null, null], [cohort_month_ts#27, null, null, user_id#19L, 3, null, null]], [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, ue.courses_count#173L, datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174]\n\n(60) HashAggregate\nInput [7]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, ue.courses_count#173L, datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174]\nKeys [5]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169]\nFunctions [2]: [partial_avg(ue.courses_count#173L), partial_avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174)]\nAggregate Attributes [4]: [sum#193, count#194L, sum#195, count#196L]\nResults [9]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, sum#197, count#198L, sum#199, count#200L]\n\n(61) Exchange\nInput [9]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, sum#197, count#198L, sum#199, count#200L]\nArguments: hashpartitioning(cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, 200), ENSURE_REQUIREMENTS, [plan_id=139]\n\n(62) HashAggregate\nInput [9]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, sum#197, count#198L, sum#199, count#200L]\nKeys [5]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169]\nFunctions [2]: [avg(ue.courses_count#173L), avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174)]\nAggregate Attributes [2]: [avg(ue.courses_count#173L)#127, avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174)#129]\nResults [7]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, avg(ue.courses_count#173L)#127 AS avg(ue.courses_count)#175, avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174)#129 AS avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177]\n\n(63) HashAggregate\nInput [7]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, avg(ue.courses_count)#175, avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177]\nKeys [1]: [cohort_month_ts#27]\nFunctions [5]: [partial_count(c.user_id#170L) FILTER (WHERE (gid#169 = 1)), partial_count(ue.user_id#171L) FILTER (WHERE (gid#169 = 2)), partial_count(ufv.user_id#172L) FILTER (WHERE (gid#169 = 3)), partial_first(avg(ue.courses_count)#175, true) FILTER (WHERE (gid#169 = 0)), partial_first(avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177, true) FILTER (WHERE (gid#169 = 0))]\nAggregate Attributes [7]: [count#179L, count#180L, count#181L, first#182, valueSet#183, first#184, valueSet#185]\nResults [8]: [cohort_month_ts#27, count#186L, count#187L, count#188L, first#189, valueSet#190, first#191, valueSet#192]\n\n(64) Exchange\nInput [8]: [cohort_month_ts#27, count#186L, count#187L, count#188L, first#189, valueSet#190, first#191, valueSet#192]\nArguments: hashpartitioning(cohort_month_ts#27, 200), ENSURE_REQUIREMENTS, [plan_id=143]\n\n(65) HashAggregate\nInput [8]: [cohort_month_ts#27, count#186L, count#187L, count#188L, first#189, valueSet#190, first#191, valueSet#192]\nKeys [1]: [cohort_month_ts#27]\nFunctions [5]: [count(c.user_id#170L), count(ue.user_id#171L), count(ufv.user_id#172L), first(avg(ue.courses_count)#175, true), first(avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177, true)]\nAggregate Attributes [5]: [count(c.user_id#170L)#131L, count(ue.user_id#171L)#132L, count(ufv.user_id#172L)#133L, first(avg(ue.courses_count)#175) ignore nulls#176, first(avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177) ignore nulls#178]\nResults [6]: [cohort_month_ts#27, count(c.user_id#170L)#131L AS users_in_cohort#124L, count(ue.user_id#171L)#132L AS enrolled_users#125L, count(ufv.user_id#172L)#133L AS active_users#126L, round(first(avg(ue.courses_count)#175) ignore nulls#176, 2) AS avg_courses_per_user#128, round(first(avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177) ignore nulls#178, 2) AS avg_time_to_first_view#130]\n\n(66) Project\nOutput [7]: [date_format(cohort_month_ts#27, yyyy-MM, Some(Europe/Samara)) AS cohort_month#154, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130, CASE WHEN NOT (users_in_cohort#124L = 0) THEN round(((cast(active_users#126L as double) * 100.0) / cast(users_in_cohort#124L as double)), 2) END AS retention_rate#146]\nInput [6]: [cohort_month_ts#27, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130]\n\n(67) Exchange\nInput [7]: [cohort_month#154, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130, retention_rate#146]\nArguments: rangepartitioning(cohort_month#154 ASC NULLS FIRST, 200), ENSURE_REQUIREMENTS, [plan_id=147]\n\n(68) Sort\nInput [7]: [cohort_month#154, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130, retention_rate#146]\nArguments: [cohort_month#154 ASC NULLS FIRST], true, 0\n\n(69) WriteFiles\nInput [7]: [cohort_month#154, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130, retention_rate#146]\n\n(70) Execute InsertIntoHadoopFsRelationCommand\nInput: []\nArguments: s3a://apavlovets-bucket/marts/user_cohort_analysis.parquet, false, Parquet, [path=s3a://apavlovets-bucket/marts/user_cohort_analysis.parquet], Overwrite, [cohort_month, users_in_cohort, enrolled_users, active_users, avg_courses_per_user, avg_time_to_first_view, retention_rate]\n\n(71) AdaptiveSparkPlan\nOutput: []\nArguments: isFinalPlan=false\n\n","sparkPlanInfo":{"nodeName":"AdaptiveSparkPlan","simpleString":"AdaptiveSparkPlan isFinalPlan=false","children":[{"nodeName":"Execute InsertIntoHadoopFsRelationCommand","simpleString":"Execute InsertIntoHadoopFsRelationCommand s3a://apavlovets-bucket/marts/user_cohort_analysis.parquet, false, Parquet, [path=s3a://apavlovets-bucket/marts/user_cohort_analysis.parquet], Overwrite, [cohort_month, users_in_cohort, enrolled_users, active_users, avg_courses_per_user, avg_time_to_first_view, retention_rate]","children":[{"nodeName":"WriteFiles","simpleString":"WriteFiles","children":[{"nodeName":"Sort","simpleString":"Sort [cohort_month#154 ASC NULLS FIRST], true, 0","children":[{"nodeName":"Exchange","simpleString":"Exchange rangepartitioning(cohort_month#154 ASC NULLS FIRST, 200), ENSURE_REQUIREMENTS, [plan_id=267]","children":[{"nodeName":"Project","simpleString":"Project [date_format(cohort_month_ts#27, yyyy-MM, Some(Europe/Samara)) AS cohort_month#154, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130, CASE WHEN NOT (users_in_cohort#124L = 0) THEN round(((cast(active_users#126L as double) * 100.0) / cast(users_in_cohort#124L as double)), 2) END AS retention_rate#146]","children":[{"nodeName":"HashAggregate","simpleString":"HashAggregate(keys=[cohort_month_ts#27], functions=[count(c.user_id#170L), count(ue.user_id#171L), count(ufv.user_id#172L), first(avg(ue.courses_count)#175, true), first(avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177, true)])","children":[{"nodeName":"Exchange","simpleString":"Exchange hashpartitioning(cohort_month_ts#27, 200), ENSURE_REQUIREMENTS, [plan_id=264]","children":[{"nodeName":"HashAggregate","simpleString":"HashAggregate(keys=[cohort_month_ts#27], functions=[partial_count(c.user_id#170L) FILTER (WHERE (gid#169 = 1)), partial_count(ue.user_id#171L) FILTER (WHERE (gid#169 = 2)), partial_count(ufv.user_id#172L) FILTER (WHERE (gid#169 = 3)), partial_first(avg(ue.courses_count)#175, true) FILTER (WHERE (gid#169 = 0)), partial_first(avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177, true) FILTER (WHERE (gid#169 = 0))])","children":[{"nodeName":"HashAggregate","simpleString":"HashAggregate(keys=[cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169], functions=[avg(ue.courses_count#173L), avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174)])","children":[{"nodeName":"Exchange","simpleString":"Exchange hashpartitioning(cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, 200), ENSURE_REQUIREMENTS, [plan_id=261]","children":[{"nodeName":"HashAggregate","simpleString":"HashAggregate(keys=[cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169], functions=[partial_avg(ue.courses_count#173L), partial_avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174)])","children":[{"nodeName":"Expand","simpleString":"Expand [[cohort_month_ts#27, null, null, null, 0, courses_count#35L, datediff(cast(first_viewed_at#47 as date), cast(registration_date#57 as date))], [cohort_month_ts#27, user_id#26L, null, null, 1, null, null], [cohort_month_ts#27, null, user_id#11L, null, 2, null, null], [cohort_month_ts#27, null, null, user_id#19L, 3, null, null]], [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, ue.courses_count#173L, datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174]","children":[{"nodeName":"BroadcastHashJoin","simpleString":"BroadcastHashJoin [user_id#26L], [user_id#19L], LeftOuter, BuildRight, false","children":[{"nodeName":"BroadcastHashJoin","simpleString":"BroadcastHashJoin [user_id#26L], [user_id#11L], LeftOuter, BuildRight, false","children":[{"nodeName":"Project","simpleString":"Project [user_id#26L, cohort_month_ts#27, registration_date#57]","children":[{"nodeName":"BroadcastHashJoin","simpleString":"BroadcastHashJoin [user_id#26L], [id#53L], LeftOuter, BuildRight, false","children":[{"nodeName":"Project","simpleString":"Project [id#0L AS user_id#26L, date_trunc(month, registration_date#4, Some(Europe/Samara)) AS cohort_month_ts#27]","children":[{"nodeName":"Scan csv ","simpleString":"FileScan csv [id#0L,registration_date#4] Batched: false, DataFilters: [], Format: CSV, Location: InMemoryFileIndex(1 paths)[s3a://apavlovets-bucket/raw/users.csv], PartitionFilters: [], PushedFilters: [], ReadSchema: struct","children":[],"metadata":{"Location":"InMemoryFileIndex(1 paths)[s3a://apavlovets-bucket/raw/users.csv]","ReadSchema":"struct","Format":"CSV","Batched":"false","PartitionFilters":"[]","PushedFilters":"[]","DataFilters":"[]"},"metrics":[{"name":"number of output rows","accumulatorId":104,"metricType":"sum"},{"name":"number of files read","accumulatorId":105,"metricType":"sum"},{"name":"metadata time","accumulatorId":106,"metricType":"timing"},{"name":"size of files read","accumulatorId":107,"metricType":"size"}]}],"metadata":{},"metrics":[]},{"nodeName":"BroadcastQueryStage","simpleString":"BroadcastQueryStage 0","children":[{"nodeName":"BroadcastExchange","simpleString":"BroadcastExchange HashedRelationBroadcastMode(List(input[0, bigint, false]),false), [plan_id=213]","children":[{"nodeName":"WholeStageCodegen (1)","simpleString":"WholeStageCodegen (1)","children":[{"nodeName":"Filter","simpleString":"Filter isnotnull(id#53L)","children":[{"nodeName":"InputAdapter","simpleString":"InputAdapter","children":[{"nodeName":"Scan csv ","simpleString":"FileScan csv [id#53L,registration_date#57] Batched: false, DataFilters: [isnotnull(id#53L)], Format: CSV, Location: InMemoryFileIndex(1 paths)[s3a://apavlovets-bucket/raw/users.csv], PartitionFilters: [], PushedFilters: [IsNotNull(id)], ReadSchema: struct","children":[],"metadata":{"Location":"InMemoryFileIndex(1 paths)[s3a://apavlovets-bucket/raw/users.csv]","ReadSchema":"struct","Format":"CSV","Batched":"false","PartitionFilters":"[]","PushedFilters":"[IsNotNull(id)]","DataFilters":"[isnotnull(id#53L)]"},"metrics":[{"name":"number of output rows","accumulatorId":114,"metricType":"sum"},{"name":"number of files read","accumulatorId":115,"metricType":"sum"},{"name":"metadata time","accumulatorId":116,"metricType":"timing"},{"name":"size of files read","accumulatorId":117,"metricType":"size"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"number of output rows","accumulatorId":343,"metricType":"sum"}]}],"metadata":{},"metrics":[{"name":"duration","accumulatorId":342,"metricType":"timing"}]}],"metadata":{},"metrics":[{"name":"time to broadcast","accumulatorId":341,"metricType":"timing"},{"name":"time to build","accumulatorId":340,"metricType":"timing"},{"name":"time to collect","accumulatorId":339,"metricType":"timing"},{"name":"number of output rows","accumulatorId":338,"metricType":"sum"},{"name":"data size","accumulatorId":337,"metricType":"size"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"number of output rows","accumulatorId":336,"metricType":"sum"}]}],"metadata":{},"metrics":[]},{"nodeName":"BroadcastExchange","simpleString":"BroadcastExchange HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=240]","children":[{"nodeName":"HashAggregate","simpleString":"HashAggregate(keys=[user_id#11L], functions=[count(distinct course_id#12L)])","children":[{"nodeName":"Exchange","simpleString":"Exchange hashpartitioning(user_id#11L, 200), ENSURE_REQUIREMENTS, [plan_id=238]","children":[{"nodeName":"HashAggregate","simpleString":"HashAggregate(keys=[user_id#11L], functions=[partial_count(distinct course_id#12L)])","children":[{"nodeName":"HashAggregate","simpleString":"HashAggregate(keys=[user_id#11L, course_id#12L], functions=[])","children":[{"nodeName":"ShuffleQueryStage","simpleString":"ShuffleQueryStage 1","children":[{"nodeName":"Exchange","simpleString":"Exchange hashpartitioning(user_id#11L, course_id#12L, 200), ENSURE_REQUIREMENTS, [plan_id=226]","children":[{"nodeName":"WholeStageCodegen (2)","simpleString":"WholeStageCodegen (2)","children":[{"nodeName":"HashAggregate","simpleString":"HashAggregate(keys=[user_id#11L, course_id#12L], functions=[])","children":[{"nodeName":"Filter","simpleString":"Filter isnotnull(user_id#11L)","children":[{"nodeName":"InputAdapter","simpleString":"InputAdapter","children":[{"nodeName":"Scan csv ","simpleString":"FileScan csv [user_id#11L,course_id#12L] Batched: false, DataFilters: [isnotnull(user_id#11L)], Format: CSV, Location: InMemoryFileIndex(1 paths)[s3a://apavlovets-bucket/raw/enrollments.csv], PartitionFilters: [], PushedFilters: [IsNotNull(user_id)], ReadSchema: struct","children":[],"metadata":{"Location":"InMemoryFileIndex(1 paths)[s3a://apavlovets-bucket/raw/enrollments.csv]","ReadSchema":"struct","Format":"CSV","Batched":"false","PartitionFilters":"[]","PushedFilters":"[IsNotNull(user_id)]","DataFilters":"[isnotnull(user_id#11L)]"},"metrics":[{"name":"number of output rows","accumulatorId":192,"metricType":"sum"},{"name":"number of files read","accumulatorId":193,"metricType":"sum"},{"name":"metadata time","accumulatorId":194,"metricType":"timing"},{"name":"size of files read","accumulatorId":195,"metricType":"size"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"number of output rows","accumulatorId":418,"metricType":"sum"}]}],"metadata":{},"metrics":[{"name":"spill size","accumulatorId":414,"metricType":"size"},{"name":"time in aggregation build","accumulatorId":415,"metricType":"timing"},{"name":"peak memory","accumulatorId":413,"metricType":"size"},{"name":"number of output rows","accumulatorId":412,"metricType":"sum"},{"name":"number of sort fallback tasks","accumulatorId":417,"metricType":"sum"},{"name":"avg hash probes per key","accumulatorId":416,"metricType":"average"}]}],"metadata":{},"metrics":[{"name":"duration","accumulatorId":411,"metricType":"timing"}]}],"metadata":{},"metrics":[{"name":"shuffle records written","accumulatorId":409,"metricType":"sum"},{"name":"local merged chunks fetched","accumulatorId":403,"metricType":"sum"},{"name":"shuffle write time","accumulatorId":410,"metricType":"nsTiming"},{"name":"remote merged bytes read","accumulatorId":404,"metricType":"size"},{"name":"local merged blocks fetched","accumulatorId":401,"metricType":"sum"},{"name":"corrupt merged block chunks","accumulatorId":398,"metricType":"sum"},{"name":"remote merged reqs duration","accumulatorId":407,"metricType":"timing"},{"name":"remote merged blocks fetched","accumulatorId":400,"metricType":"sum"},{"name":"records read","accumulatorId":397,"metricType":"sum"},{"name":"local bytes read","accumulatorId":395,"metricType":"size"},{"name":"fetch wait time","accumulatorId":396,"metricType":"timing"},{"name":"remote bytes read","accumulatorId":393,"metricType":"size"},{"name":"merged fetch fallback count","accumulatorId":399,"metricType":"sum"},{"name":"local blocks read","accumulatorId":392,"metricType":"sum"},{"name":"remote merged chunks fetched","accumulatorId":402,"metricType":"sum"},{"name":"remote blocks read","accumulatorId":391,"metricType":"sum"},{"name":"data size","accumulatorId":389,"metricType":"size"},{"name":"local merged bytes read","accumulatorId":405,"metricType":"size"},{"name":"number of partitions","accumulatorId":390,"metricType":"sum"},{"name":"remote reqs duration","accumulatorId":406,"metricType":"timing"},{"name":"remote bytes read to disk","accumulatorId":394,"metricType":"size"},{"name":"shuffle bytes written","accumulatorId":408,"metricType":"size"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"spill size","accumulatorId":385,"metricType":"size"},{"name":"time in aggregation build","accumulatorId":386,"metricType":"timing"},{"name":"peak memory","accumulatorId":384,"metricType":"size"},{"name":"number of output rows","accumulatorId":383,"metricType":"sum"},{"name":"number of sort fallback tasks","accumulatorId":388,"metricType":"sum"},{"name":"avg hash probes per key","accumulatorId":387,"metricType":"average"}]}],"metadata":{},"metrics":[{"name":"spill size","accumulatorId":379,"metricType":"size"},{"name":"time in aggregation build","accumulatorId":380,"metricType":"timing"},{"name":"peak memory","accumulatorId":378,"metricType":"size"},{"name":"number of output rows","accumulatorId":377,"metricType":"sum"},{"name":"number of sort fallback tasks","accumulatorId":382,"metricType":"sum"},{"name":"avg hash probes per key","accumulatorId":381,"metricType":"average"}]}],"metadata":{},"metrics":[{"name":"shuffle records written","accumulatorId":375,"metricType":"sum"},{"name":"local merged chunks fetched","accumulatorId":369,"metricType":"sum"},{"name":"shuffle write time","accumulatorId":376,"metricType":"nsTiming"},{"name":"remote merged bytes read","accumulatorId":370,"metricType":"size"},{"name":"local merged blocks fetched","accumulatorId":367,"metricType":"sum"},{"name":"corrupt merged block chunks","accumulatorId":364,"metricType":"sum"},{"name":"remote merged reqs duration","accumulatorId":373,"metricType":"timing"},{"name":"remote merged blocks fetched","accumulatorId":366,"metricType":"sum"},{"name":"records read","accumulatorId":363,"metricType":"sum"},{"name":"local bytes read","accumulatorId":361,"metricType":"size"},{"name":"fetch wait time","accumulatorId":362,"metricType":"timing"},{"name":"remote bytes read","accumulatorId":359,"metricType":"size"},{"name":"merged fetch fallback count","accumulatorId":365,"metricType":"sum"},{"name":"local blocks read","accumulatorId":358,"metricType":"sum"},{"name":"remote merged chunks fetched","accumulatorId":368,"metricType":"sum"},{"name":"remote blocks read","accumulatorId":357,"metricType":"sum"},{"name":"data size","accumulatorId":355,"metricType":"size"},{"name":"local merged bytes read","accumulatorId":371,"metricType":"size"},{"name":"number of partitions","accumulatorId":356,"metricType":"sum"},{"name":"remote reqs duration","accumulatorId":372,"metricType":"timing"},{"name":"remote bytes read to disk","accumulatorId":360,"metricType":"size"},{"name":"shuffle bytes written","accumulatorId":374,"metricType":"size"}]}],"metadata":{},"metrics":[{"name":"spill size","accumulatorId":351,"metricType":"size"},{"name":"time in aggregation build","accumulatorId":352,"metricType":"timing"},{"name":"peak memory","accumulatorId":350,"metricType":"size"},{"name":"number of output rows","accumulatorId":349,"metricType":"sum"},{"name":"number of sort fallback tasks","accumulatorId":354,"metricType":"sum"},{"name":"avg hash probes per key","accumulatorId":353,"metricType":"average"}]}],"metadata":{},"metrics":[{"name":"time to broadcast","accumulatorId":348,"metricType":"timing"},{"name":"time to build","accumulatorId":347,"metricType":"timing"},{"name":"time to collect","accumulatorId":346,"metricType":"timing"},{"name":"number of output rows","accumulatorId":345,"metricType":"sum"},{"name":"data size","accumulatorId":344,"metricType":"size"}]}],"metadata":{},"metrics":[{"name":"number of output rows","accumulatorId":335,"metricType":"sum"}]},{"nodeName":"BroadcastExchange","simpleString":"BroadcastExchange HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=257]","children":[{"nodeName":"HashAggregate","simpleString":"HashAggregate(keys=[user_id#19L], functions=[min(viewed_at#21)])","children":[{"nodeName":"ShuffleQueryStage","simpleString":"ShuffleQueryStage 2","children":[{"nodeName":"Exchange","simpleString":"Exchange hashpartitioning(user_id#19L, 200), ENSURE_REQUIREMENTS, [plan_id=246]","children":[{"nodeName":"WholeStageCodegen (3)","simpleString":"WholeStageCodegen (3)","children":[{"nodeName":"HashAggregate","simpleString":"HashAggregate(keys=[user_id#19L], functions=[partial_min(viewed_at#21)])","children":[{"nodeName":"Filter","simpleString":"Filter isnotnull(user_id#19L)","children":[{"nodeName":"InputAdapter","simpleString":"InputAdapter","children":[{"nodeName":"Scan csv ","simpleString":"FileScan csv [user_id#19L,viewed_at#21] Batched: false, DataFilters: [isnotnull(user_id#19L)], Format: CSV, Location: InMemoryFileIndex(1 paths)[s3a://apavlovets-bucket/raw/lesson_views.csv], PartitionFilters: [], PushedFilters: [IsNotNull(user_id)], ReadSchema: struct","children":[],"metadata":{"Location":"InMemoryFileIndex(1 paths)[s3a://apavlovets-bucket/raw/lesson_views.csv]","ReadSchema":"struct","Format":"CSV","Batched":"false","PartitionFilters":"[]","PushedFilters":"[IsNotNull(user_id)]","DataFilters":"[isnotnull(user_id#19L)]"},"metrics":[{"name":"number of output rows","accumulatorId":236,"metricType":"sum"},{"name":"number of files read","accumulatorId":237,"metricType":"sum"},{"name":"metadata time","accumulatorId":238,"metricType":"timing"},{"name":"size of files read","accumulatorId":239,"metricType":"size"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"number of output rows","accumulatorId":459,"metricType":"sum"}]}],"metadata":{},"metrics":[{"name":"spill size","accumulatorId":455,"metricType":"size"},{"name":"time in aggregation build","accumulatorId":456,"metricType":"timing"},{"name":"peak memory","accumulatorId":454,"metricType":"size"},{"name":"number of output rows","accumulatorId":453,"metricType":"sum"},{"name":"number of sort fallback tasks","accumulatorId":458,"metricType":"sum"},{"name":"avg hash probes per key","accumulatorId":457,"metricType":"average"}]}],"metadata":{},"metrics":[{"name":"duration","accumulatorId":452,"metricType":"timing"}]}],"metadata":{},"metrics":[{"name":"shuffle records written","accumulatorId":450,"metricType":"sum"},{"name":"local merged chunks fetched","accumulatorId":444,"metricType":"sum"},{"name":"shuffle write time","accumulatorId":451,"metricType":"nsTiming"},{"name":"remote merged bytes read","accumulatorId":445,"metricType":"size"},{"name":"local merged blocks fetched","accumulatorId":442,"metricType":"sum"},{"name":"corrupt merged block chunks","accumulatorId":439,"metricType":"sum"},{"name":"remote merged reqs duration","accumulatorId":448,"metricType":"timing"},{"name":"remote merged blocks fetched","accumulatorId":441,"metricType":"sum"},{"name":"records read","accumulatorId":438,"metricType":"sum"},{"name":"local bytes read","accumulatorId":436,"metricType":"size"},{"name":"fetch wait time","accumulatorId":437,"metricType":"timing"},{"name":"remote bytes read","accumulatorId":434,"metricType":"size"},{"name":"merged fetch fallback count","accumulatorId":440,"metricType":"sum"},{"name":"local blocks read","accumulatorId":433,"metricType":"sum"},{"name":"remote merged chunks fetched","accumulatorId":443,"metricType":"sum"},{"name":"remote blocks read","accumulatorId":432,"metricType":"sum"},{"name":"data size","accumulatorId":430,"metricType":"size"},{"name":"local merged bytes read","accumulatorId":446,"metricType":"size"},{"name":"number of partitions","accumulatorId":431,"metricType":"sum"},{"name":"remote reqs duration","accumulatorId":447,"metricType":"timing"},{"name":"remote bytes read to disk","accumulatorId":435,"metricType":"size"},{"name":"shuffle bytes written","accumulatorId":449,"metricType":"size"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"spill size","accumulatorId":426,"metricType":"size"},{"name":"time in aggregation build","accumulatorId":427,"metricType":"timing"},{"name":"peak memory","accumulatorId":425,"metricType":"size"},{"name":"number of output rows","accumulatorId":424,"metricType":"sum"},{"name":"number of sort fallback tasks","accumulatorId":429,"metricType":"sum"},{"name":"avg hash probes per key","accumulatorId":428,"metricType":"average"}]}],"metadata":{},"metrics":[{"name":"time to broadcast","accumulatorId":423,"metricType":"timing"},{"name":"time to build","accumulatorId":422,"metricType":"timing"},{"name":"time to collect","accumulatorId":421,"metricType":"timing"},{"name":"number of output rows","accumulatorId":420,"metricType":"sum"},{"name":"data size","accumulatorId":419,"metricType":"size"}]}],"metadata":{},"metrics":[{"name":"number of output rows","accumulatorId":334,"metricType":"sum"}]}],"metadata":{},"metrics":[{"name":"number of output rows","accumulatorId":333,"metricType":"sum"}]}],"metadata":{},"metrics":[{"name":"spill size","accumulatorId":329,"metricType":"size"},{"name":"time in aggregation build","accumulatorId":330,"metricType":"timing"},{"name":"peak memory","accumulatorId":328,"metricType":"size"},{"name":"number of output rows","accumulatorId":327,"metricType":"sum"},{"name":"number of sort fallback tasks","accumulatorId":332,"metricType":"sum"},{"name":"avg hash probes per key","accumulatorId":331,"metricType":"average"}]}],"metadata":{},"metrics":[{"name":"shuffle records written","accumulatorId":325,"metricType":"sum"},{"name":"local merged chunks fetched","accumulatorId":319,"metricType":"sum"},{"name":"shuffle write time","accumulatorId":326,"metricType":"nsTiming"},{"name":"remote merged bytes read","accumulatorId":320,"metricType":"size"},{"name":"local merged blocks fetched","accumulatorId":317,"metricType":"sum"},{"name":"corrupt merged block chunks","accumulatorId":314,"metricType":"sum"},{"name":"remote merged reqs duration","accumulatorId":323,"metricType":"timing"},{"name":"remote merged blocks fetched","accumulatorId":316,"metricType":"sum"},{"name":"records read","accumulatorId":313,"metricType":"sum"},{"name":"local bytes read","accumulatorId":311,"metricType":"size"},{"name":"fetch wait time","accumulatorId":312,"metricType":"timing"},{"name":"remote bytes read","accumulatorId":309,"metricType":"size"},{"name":"merged fetch fallback count","accumulatorId":315,"metricType":"sum"},{"name":"local blocks read","accumulatorId":308,"metricType":"sum"},{"name":"remote merged chunks fetched","accumulatorId":318,"metricType":"sum"},{"name":"remote blocks read","accumulatorId":307,"metricType":"sum"},{"name":"data size","accumulatorId":305,"metricType":"size"},{"name":"local merged bytes read","accumulatorId":321,"metricType":"size"},{"name":"number of partitions","accumulatorId":306,"metricType":"sum"},{"name":"remote reqs duration","accumulatorId":322,"metricType":"timing"},{"name":"remote bytes read to disk","accumulatorId":310,"metricType":"size"},{"name":"shuffle bytes written","accumulatorId":324,"metricType":"size"}]}],"metadata":{},"metrics":[{"name":"spill size","accumulatorId":301,"metricType":"size"},{"name":"time in aggregation build","accumulatorId":302,"metricType":"timing"},{"name":"peak memory","accumulatorId":300,"metricType":"size"},{"name":"number of output rows","accumulatorId":299,"metricType":"sum"},{"name":"number of sort fallback tasks","accumulatorId":304,"metricType":"sum"},{"name":"avg hash probes per key","accumulatorId":303,"metricType":"average"}]}],"metadata":{},"metrics":[{"name":"spill size","accumulatorId":295,"metricType":"size"},{"name":"time in aggregation build","accumulatorId":296,"metricType":"timing"},{"name":"peak memory","accumulatorId":294,"metricType":"size"},{"name":"number of output rows","accumulatorId":293,"metricType":"sum"},{"name":"number of sort fallback tasks","accumulatorId":298,"metricType":"sum"},{"name":"avg hash probes per key","accumulatorId":297,"metricType":"average"}]}],"metadata":{},"metrics":[{"name":"shuffle records written","accumulatorId":291,"metricType":"sum"},{"name":"local merged chunks fetched","accumulatorId":285,"metricType":"sum"},{"name":"shuffle write time","accumulatorId":292,"metricType":"nsTiming"},{"name":"remote merged bytes read","accumulatorId":286,"metricType":"size"},{"name":"local merged blocks fetched","accumulatorId":283,"metricType":"sum"},{"name":"corrupt merged block chunks","accumulatorId":280,"metricType":"sum"},{"name":"remote merged reqs duration","accumulatorId":289,"metricType":"timing"},{"name":"remote merged blocks fetched","accumulatorId":282,"metricType":"sum"},{"name":"records read","accumulatorId":279,"metricType":"sum"},{"name":"local bytes read","accumulatorId":277,"metricType":"size"},{"name":"fetch wait time","accumulatorId":278,"metricType":"timing"},{"name":"remote bytes read","accumulatorId":275,"metricType":"size"},{"name":"merged fetch fallback count","accumulatorId":281,"metricType":"sum"},{"name":"local blocks read","accumulatorId":274,"metricType":"sum"},{"name":"remote merged chunks fetched","accumulatorId":284,"metricType":"sum"},{"name":"remote blocks read","accumulatorId":273,"metricType":"sum"},{"name":"data size","accumulatorId":271,"metricType":"size"},{"name":"local merged bytes read","accumulatorId":287,"metricType":"size"},{"name":"number of partitions","accumulatorId":272,"metricType":"sum"},{"name":"remote reqs duration","accumulatorId":288,"metricType":"timing"},{"name":"remote bytes read to disk","accumulatorId":276,"metricType":"size"},{"name":"shuffle bytes written","accumulatorId":290,"metricType":"size"}]}],"metadata":{},"metrics":[{"name":"spill size","accumulatorId":267,"metricType":"size"},{"name":"time in aggregation build","accumulatorId":268,"metricType":"timing"},{"name":"peak memory","accumulatorId":266,"metricType":"size"},{"name":"number of output rows","accumulatorId":265,"metricType":"sum"},{"name":"number of sort fallback tasks","accumulatorId":270,"metricType":"sum"},{"name":"avg hash probes per key","accumulatorId":269,"metricType":"average"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"shuffle records written","accumulatorId":263,"metricType":"sum"},{"name":"local merged chunks fetched","accumulatorId":257,"metricType":"sum"},{"name":"shuffle write time","accumulatorId":264,"metricType":"nsTiming"},{"name":"remote merged bytes read","accumulatorId":258,"metricType":"size"},{"name":"local merged blocks fetched","accumulatorId":255,"metricType":"sum"},{"name":"corrupt merged block chunks","accumulatorId":252,"metricType":"sum"},{"name":"remote merged reqs duration","accumulatorId":261,"metricType":"timing"},{"name":"remote merged blocks fetched","accumulatorId":254,"metricType":"sum"},{"name":"records read","accumulatorId":251,"metricType":"sum"},{"name":"local bytes read","accumulatorId":249,"metricType":"size"},{"name":"fetch wait time","accumulatorId":250,"metricType":"timing"},{"name":"remote bytes read","accumulatorId":247,"metricType":"size"},{"name":"merged fetch fallback count","accumulatorId":253,"metricType":"sum"},{"name":"local blocks read","accumulatorId":246,"metricType":"sum"},{"name":"remote merged chunks fetched","accumulatorId":256,"metricType":"sum"},{"name":"remote blocks read","accumulatorId":245,"metricType":"sum"},{"name":"data size","accumulatorId":243,"metricType":"size"},{"name":"local merged bytes read","accumulatorId":259,"metricType":"size"},{"name":"number of partitions","accumulatorId":244,"metricType":"sum"},{"name":"remote reqs duration","accumulatorId":260,"metricType":"timing"},{"name":"remote bytes read to disk","accumulatorId":248,"metricType":"size"},{"name":"shuffle bytes written","accumulatorId":262,"metricType":"size"}]}],"metadata":{},"metrics":[{"name":"sort time","accumulatorId":240,"metricType":"timing"},{"name":"peak memory","accumulatorId":241,"metricType":"size"},{"name":"spill size","accumulatorId":242,"metricType":"size"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"task commit time","accumulatorId":5,"metricType":"timing"},{"name":"number of written files","accumulatorId":1,"metricType":"sum"},{"name":"job commit time","accumulatorId":6,"metricType":"timing"},{"name":"number of output rows","accumulatorId":3,"metricType":"sum"},{"name":"number of dynamic part","accumulatorId":4,"metricType":"sum"},{"name":"written output","accumulatorId":2,"metricType":"size"}]}],"metadata":{},"metrics":[]}} {"Event":"org.apache.spark.sql.execution.ui.SparkListenerDriverAccumUpdates","executionId":0,"accumUpdates":[[115,1],[116,5],[117,1032]]} {"Event":"org.apache.spark.sql.execution.ui.SparkListenerDriverAccumUpdates","executionId":0,"accumUpdates":[[193,1],[194,9],[195,1442]]} {"Event":"org.apache.spark.sql.execution.ui.SparkListenerDriverAccumUpdates","executionId":0,"accumUpdates":[[390,200]]} {"Event":"SparkListenerJobStart","Job ID":0,"Submission Time":1784546387205,"Stage Infos":[{"Stage ID":0,"Stage Attempt ID":0,"Stage Name":"$anonfun$withThreadLocalCaptured$1 at FutureTask.java:264","Number of Tasks":1,"RDD Info":[{"RDD ID":5,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"0\",\"name\":\"BroadcastExchange\"}","Callsite":"$anonfun$withThreadLocalCaptured$1 at FutureTask.java:264","Parent IDs":[4],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"DETERMINATE","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":4,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"3\",\"name\":\"WholeStageCodegen (1)\"}","Callsite":"$anonfun$withThreadLocalCaptured$1 at FutureTask.java:264","Parent IDs":[2],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"DETERMINATE","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":1,"Name":"FileScanRDD","Scope":"{\"id\":\"9\",\"name\":\"Scan csv \"}","Callsite":"$anonfun$withThreadLocalCaptured$1 at FutureTask.java:264","Parent IDs":[],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"DETERMINATE","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":2,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"9\",\"name\":\"Scan csv \"}","Callsite":"$anonfun$withThreadLocalCaptured$1 at FutureTask.java:264","Parent IDs":[1],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"DETERMINATE","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0}],"Parent IDs":[],"Details":"org.apache.spark.sql.execution.SQLExecution$.$anonfun$withThreadLocalCaptured$1(SQLExecution.scala:219)\njava.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)\njava.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)\njava.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)\njava.base/java.lang.Thread.run(Thread.java:840)","Accumulables":[],"Resource Profile Id":0,"Shuffle Push Enabled":false,"Shuffle Push Mergers Count":0}],"Stage IDs":[0],"Properties":{"spark.driver.port":"34351","spark.submit.pyFiles":"","spark.app.startTime":"1784546379461","spark.rdd.scope":"{\"id\":\"0\",\"name\":\"BroadcastExchange\"}","spark.hadoop.fs.s3a.endpoint":"http://minio:9000","spark.rdd.compress":"True","spark.hadoop.fs.s3a.impl":"org.apache.hadoop.fs.s3a.S3AFileSystem","spark.app.submitTime":"1784546378209","spark.eventLog.dir":"file:/opt/spark-events","spark.hadoop.fs.s3a.aws.credentials.provider":"org.apache.hadoop.fs.s3a.SimpleAWSCredentialsProvider","spark.sql.execution.id":"0","spark.sql.warehouse.dir":"file:/opt/airflow/spark-warehouse","spark.rdd.scope.noOverride":"true","spark.master":"spark://spark-master:7077","spark.job.interruptOnCancel":"true","spark.hadoop.fs.s3a.secret.key":"*********(redacted)","spark.executor.id":"driver","spark.app.name":"dm_user_cohort_analysis","spark.hadoop.fs.s3a.access.key":"*********(redacted)","spark.submit.deployMode":"client","spark.hadoop.fs.s3a.path.style.access":"true","spark.driver.host":"73850a3d530b","spark.app.id":"app-20260720151940-0099","spark.eventLog.compress":"true","spark.eventLog.enabled":"true","spark.job.tags":"broadcast exchange (runId d630177c-9998-4e11-ab2f-a99f141e3c8a)","spark.executor.extraJavaOptions":"-Djava.net.preferIPv6Addresses=false -XX:+IgnoreUnrecognizedVMOptions --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.base/sun.nio.cs=ALL-UNNAMED --add-opens=java.base/sun.security.action=ALL-UNNAMED --add-opens=java.base/sun.util.calendar=ALL-UNNAMED --add-opens=java.security.jgss/sun.security.krb5=ALL-UNNAMED -Djdk.reflect.useDirectMethodHandle=false","spark.sql.execution.root.id":"0","spark.hadoop.fs.s3a.connection.ssl.enabled":"false","spark.serializer.objectStreamReset":"100","spark.driver.extraJavaOptions":"-Djava.net.preferIPv6Addresses=false -XX:+IgnoreUnrecognizedVMOptions --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.base/sun.nio.cs=ALL-UNNAMED --add-opens=java.base/sun.security.action=ALL-UNNAMED --add-opens=java.base/sun.util.calendar=ALL-UNNAMED --add-opens=java.security.jgss/sun.security.krb5=ALL-UNNAMED -Djdk.reflect.useDirectMethodHandle=false"}} {"Event":"SparkListenerStageSubmitted","Stage Info":{"Stage ID":0,"Stage Attempt ID":0,"Stage Name":"$anonfun$withThreadLocalCaptured$1 at FutureTask.java:264","Number of Tasks":1,"RDD Info":[{"RDD ID":5,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"0\",\"name\":\"BroadcastExchange\"}","Callsite":"$anonfun$withThreadLocalCaptured$1 at FutureTask.java:264","Parent IDs":[4],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"DETERMINATE","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":4,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"3\",\"name\":\"WholeStageCodegen (1)\"}","Callsite":"$anonfun$withThreadLocalCaptured$1 at FutureTask.java:264","Parent IDs":[2],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"DETERMINATE","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":1,"Name":"FileScanRDD","Scope":"{\"id\":\"9\",\"name\":\"Scan csv \"}","Callsite":"$anonfun$withThreadLocalCaptured$1 at FutureTask.java:264","Parent IDs":[],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"DETERMINATE","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":2,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"9\",\"name\":\"Scan csv \"}","Callsite":"$anonfun$withThreadLocalCaptured$1 at FutureTask.java:264","Parent IDs":[1],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"DETERMINATE","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0}],"Parent IDs":[],"Details":"org.apache.spark.sql.execution.SQLExecution$.$anonfun$withThreadLocalCaptured$1(SQLExecution.scala:219)\njava.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)\njava.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)\njava.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)\njava.base/java.lang.Thread.run(Thread.java:840)","Submission Time":1784546387224,"Accumulables":[],"Resource Profile Id":0,"Shuffle Push Enabled":false,"Shuffle Push Mergers Count":0},"Properties":{"spark.driver.port":"34351","spark.submit.pyFiles":"","spark.app.startTime":"1784546379461","spark.rdd.scope":"{\"id\":\"0\",\"name\":\"BroadcastExchange\"}","spark.hadoop.fs.s3a.endpoint":"http://minio:9000","spark.rdd.compress":"True","spark.hadoop.fs.s3a.impl":"org.apache.hadoop.fs.s3a.S3AFileSystem","spark.app.submitTime":"1784546378209","spark.eventLog.dir":"file:/opt/spark-events","spark.hadoop.fs.s3a.aws.credentials.provider":"org.apache.hadoop.fs.s3a.SimpleAWSCredentialsProvider","spark.sql.execution.id":"0","spark.sql.warehouse.dir":"file:/opt/airflow/spark-warehouse","spark.rdd.scope.noOverride":"true","spark.master":"spark://spark-master:7077","spark.job.interruptOnCancel":"true","spark.hadoop.fs.s3a.secret.key":"*********(redacted)","spark.executor.id":"driver","spark.app.name":"dm_user_cohort_analysis","spark.hadoop.fs.s3a.access.key":"*********(redacted)","spark.submit.deployMode":"client","spark.hadoop.fs.s3a.path.style.access":"true","spark.driver.host":"73850a3d530b","spark.app.id":"app-20260720151940-0099","spark.eventLog.compress":"true","spark.eventLog.enabled":"true","spark.job.tags":"broadcast exchange (runId d630177c-9998-4e11-ab2f-a99f141e3c8a)","spark.executor.extraJavaOptions":"-Djava.net.preferIPv6Addresses=false -XX:+IgnoreUnrecognizedVMOptions --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.base/sun.nio.cs=ALL-UNNAMED --add-opens=java.base/sun.security.action=ALL-UNNAMED --add-opens=java.base/sun.util.calendar=ALL-UNNAMED --add-opens=java.security.jgss/sun.security.krb5=ALL-UNNAMED -Djdk.reflect.useDirectMethodHandle=false","spark.sql.execution.root.id":"0","spark.hadoop.fs.s3a.connection.ssl.enabled":"false","spark.serializer.objectStreamReset":"100","spark.driver.extraJavaOptions":"-Djava.net.preferIPv6Addresses=false -XX:+IgnoreUnrecognizedVMOptions --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.base/sun.nio.cs=ALL-UNNAMED --add-opens=java.base/sun.security.action=ALL-UNNAMED --add-opens=java.base/sun.util.calendar=ALL-UNNAMED --add-opens=java.security.jgss/sun.security.krb5=ALL-UNNAMED -Djdk.reflect.useDirectMethodHandle=false"}} {"Event":"SparkListenerJobStart","Job ID":1,"Submission Time":1784546387277,"Stage Infos":[{"Stage ID":1,"Stage Attempt ID":0,"Stage Name":"parquet at NativeMethodAccessorImpl.java:0","Number of Tasks":1,"RDD Info":[{"RDD ID":7,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"1\",\"name\":\"Exchange\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[6],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"DETERMINATE","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":3,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"10\",\"name\":\"Scan csv \"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[0],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"DETERMINATE","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":6,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"2\",\"name\":\"WholeStageCodegen (2)\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[3],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"DETERMINATE","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":0,"Name":"FileScanRDD","Scope":"{\"id\":\"10\",\"name\":\"Scan csv \"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"DETERMINATE","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0}],"Parent IDs":[],"Details":"org.apache.spark.sql.DataFrameWriter.parquet(DataFrameWriter.scala:792)\njava.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\njava.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)\njava.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\njava.base/java.lang.reflect.Method.invoke(Method.java:569)\npy4j.reflection.MethodInvoker.invoke(MethodInvoker.java:244)\npy4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:374)\npy4j.Gateway.invoke(Gateway.java:282)\npy4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:132)\npy4j.commands.CallCommand.execute(CallCommand.java:79)\npy4j.ClientServerConnection.waitForCommands(ClientServerConnection.java:182)\npy4j.ClientServerConnection.run(ClientServerConnection.java:106)\njava.base/java.lang.Thread.run(Thread.java:840)","Accumulables":[],"Resource Profile Id":0,"Shuffle Push Enabled":false,"Shuffle Push Mergers Count":0}],"Stage IDs":[1],"Properties":{"spark.driver.port":"34351","spark.submit.pyFiles":"","spark.app.startTime":"1784546379461","spark.rdd.scope":"{\"id\":\"1\",\"name\":\"Exchange\"}","spark.hadoop.fs.s3a.endpoint":"http://minio:9000","spark.rdd.compress":"True","spark.hadoop.fs.s3a.impl":"org.apache.hadoop.fs.s3a.S3AFileSystem","spark.app.submitTime":"1784546378209","spark.eventLog.dir":"file:/opt/spark-events","spark.hadoop.fs.s3a.aws.credentials.provider":"org.apache.hadoop.fs.s3a.SimpleAWSCredentialsProvider","spark.sql.execution.id":"0","spark.sql.warehouse.dir":"file:/opt/airflow/spark-warehouse","spark.rdd.scope.noOverride":"true","spark.master":"spark://spark-master:7077","spark.hadoop.fs.s3a.secret.key":"*********(redacted)","spark.executor.id":"driver","spark.app.name":"dm_user_cohort_analysis","spark.hadoop.fs.s3a.access.key":"*********(redacted)","spark.submit.deployMode":"client","spark.hadoop.fs.s3a.path.style.access":"true","spark.driver.host":"73850a3d530b","spark.app.id":"app-20260720151940-0099","spark.eventLog.compress":"true","spark.eventLog.enabled":"true","spark.executor.extraJavaOptions":"-Djava.net.preferIPv6Addresses=false -XX:+IgnoreUnrecognizedVMOptions --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.base/sun.nio.cs=ALL-UNNAMED --add-opens=java.base/sun.security.action=ALL-UNNAMED --add-opens=java.base/sun.util.calendar=ALL-UNNAMED --add-opens=java.security.jgss/sun.security.krb5=ALL-UNNAMED -Djdk.reflect.useDirectMethodHandle=false","spark.sql.execution.root.id":"0","spark.hadoop.fs.s3a.connection.ssl.enabled":"false","spark.serializer.objectStreamReset":"100","spark.driver.extraJavaOptions":"-Djava.net.preferIPv6Addresses=false -XX:+IgnoreUnrecognizedVMOptions --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.base/sun.nio.cs=ALL-UNNAMED --add-opens=java.base/sun.security.action=ALL-UNNAMED --add-opens=java.base/sun.util.calendar=ALL-UNNAMED --add-opens=java.security.jgss/sun.security.krb5=ALL-UNNAMED -Djdk.reflect.useDirectMethodHandle=false"}} {"Event":"SparkListenerStageSubmitted","Stage Info":{"Stage ID":1,"Stage Attempt ID":0,"Stage Name":"parquet at NativeMethodAccessorImpl.java:0","Number of Tasks":1,"RDD Info":[{"RDD ID":7,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"1\",\"name\":\"Exchange\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[6],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"DETERMINATE","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":3,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"10\",\"name\":\"Scan csv \"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[0],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"DETERMINATE","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":6,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"2\",\"name\":\"WholeStageCodegen (2)\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[3],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"DETERMINATE","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":0,"Name":"FileScanRDD","Scope":"{\"id\":\"10\",\"name\":\"Scan csv \"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"DETERMINATE","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0}],"Parent IDs":[],"Details":"org.apache.spark.sql.DataFrameWriter.parquet(DataFrameWriter.scala:792)\njava.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\njava.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)\njava.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\njava.base/java.lang.reflect.Method.invoke(Method.java:569)\npy4j.reflection.MethodInvoker.invoke(MethodInvoker.java:244)\npy4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:374)\npy4j.Gateway.invoke(Gateway.java:282)\npy4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:132)\npy4j.commands.CallCommand.execute(CallCommand.java:79)\npy4j.ClientServerConnection.waitForCommands(ClientServerConnection.java:182)\npy4j.ClientServerConnection.run(ClientServerConnection.java:106)\njava.base/java.lang.Thread.run(Thread.java:840)","Submission Time":1784546387282,"Accumulables":[],"Resource Profile Id":0,"Shuffle Push Enabled":false,"Shuffle Push Mergers Count":0},"Properties":{"spark.driver.port":"34351","spark.submit.pyFiles":"","spark.app.startTime":"1784546379461","spark.rdd.scope":"{\"id\":\"1\",\"name\":\"Exchange\"}","spark.hadoop.fs.s3a.endpoint":"http://minio:9000","spark.rdd.compress":"True","spark.hadoop.fs.s3a.impl":"org.apache.hadoop.fs.s3a.S3AFileSystem","spark.app.submitTime":"1784546378209","spark.eventLog.dir":"file:/opt/spark-events","spark.hadoop.fs.s3a.aws.credentials.provider":"org.apache.hadoop.fs.s3a.SimpleAWSCredentialsProvider","spark.sql.execution.id":"0","spark.sql.warehouse.dir":"file:/opt/airflow/spark-warehouse","spark.rdd.scope.noOverride":"true","spark.master":"spark://spark-master:7077","spark.hadoop.fs.s3a.secret.key":"*********(redacted)","spark.executor.id":"driver","spark.app.name":"dm_user_cohort_analysis","spark.hadoop.fs.s3a.access.key":"*********(redacted)","spark.submit.deployMode":"client","spark.hadoop.fs.s3a.path.style.access":"true","spark.driver.host":"73850a3d530b","spark.app.id":"app-20260720151940-0099","spark.eventLog.compress":"true","spark.eventLog.enabled":"true","spark.executor.extraJavaOptions":"-Djava.net.preferIPv6Addresses=false -XX:+IgnoreUnrecognizedVMOptions --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.base/sun.nio.cs=ALL-UNNAMED --add-opens=java.base/sun.security.action=ALL-UNNAMED --add-opens=java.base/sun.util.calendar=ALL-UNNAMED --add-opens=java.security.jgss/sun.security.krb5=ALL-UNNAMED -Djdk.reflect.useDirectMethodHandle=false","spark.sql.execution.root.id":"0","spark.hadoop.fs.s3a.connection.ssl.enabled":"false","spark.serializer.objectStreamReset":"100","spark.driver.extraJavaOptions":"-Djava.net.preferIPv6Addresses=false -XX:+IgnoreUnrecognizedVMOptions --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.base/sun.nio.cs=ALL-UNNAMED --add-opens=java.base/sun.security.action=ALL-UNNAMED --add-opens=java.base/sun.util.calendar=ALL-UNNAMED --add-opens=java.security.jgss/sun.security.krb5=ALL-UNNAMED -Djdk.reflect.useDirectMethodHandle=false"}} {"Event":"org.apache.spark.sql.execution.ui.SparkListenerDriverAccumUpdates","executionId":0,"accumUpdates":[[237,1],[238,0],[239,1850]]} {"Event":"org.apache.spark.sql.execution.ui.SparkListenerDriverAccumUpdates","executionId":0,"accumUpdates":[[431,200]]} {"Event":"SparkListenerJobStart","Job ID":2,"Submission Time":1784546387352,"Stage Infos":[{"Stage ID":2,"Stage Attempt ID":0,"Stage Name":"parquet at NativeMethodAccessorImpl.java:0","Number of Tasks":1,"RDD Info":[{"RDD ID":11,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"11\",\"name\":\"Exchange\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[10],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"DETERMINATE","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":8,"Name":"FileScanRDD","Scope":"{\"id\":\"16\",\"name\":\"Scan csv \"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"DETERMINATE","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":9,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"16\",\"name\":\"Scan csv \"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[8],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"DETERMINATE","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":10,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"12\",\"name\":\"WholeStageCodegen (3)\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[9],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"DETERMINATE","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0}],"Parent IDs":[],"Details":"org.apache.spark.sql.DataFrameWriter.parquet(DataFrameWriter.scala:792)\njava.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\njava.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)\njava.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\njava.base/java.lang.reflect.Method.invoke(Method.java:569)\npy4j.reflection.MethodInvoker.invoke(MethodInvoker.java:244)\npy4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:374)\npy4j.Gateway.invoke(Gateway.java:282)\npy4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:132)\npy4j.commands.CallCommand.execute(CallCommand.java:79)\npy4j.ClientServerConnection.waitForCommands(ClientServerConnection.java:182)\npy4j.ClientServerConnection.run(ClientServerConnection.java:106)\njava.base/java.lang.Thread.run(Thread.java:840)","Accumulables":[],"Resource Profile Id":0,"Shuffle Push Enabled":false,"Shuffle Push Mergers Count":0}],"Stage IDs":[2],"Properties":{"spark.driver.port":"34351","spark.submit.pyFiles":"","spark.app.startTime":"1784546379461","spark.rdd.scope":"{\"id\":\"11\",\"name\":\"Exchange\"}","spark.hadoop.fs.s3a.endpoint":"http://minio:9000","spark.rdd.compress":"True","spark.hadoop.fs.s3a.impl":"org.apache.hadoop.fs.s3a.S3AFileSystem","spark.app.submitTime":"1784546378209","spark.eventLog.dir":"file:/opt/spark-events","spark.hadoop.fs.s3a.aws.credentials.provider":"org.apache.hadoop.fs.s3a.SimpleAWSCredentialsProvider","spark.sql.execution.id":"0","spark.sql.warehouse.dir":"file:/opt/airflow/spark-warehouse","spark.rdd.scope.noOverride":"true","spark.master":"spark://spark-master:7077","spark.hadoop.fs.s3a.secret.key":"*********(redacted)","spark.executor.id":"driver","spark.app.name":"dm_user_cohort_analysis","spark.hadoop.fs.s3a.access.key":"*********(redacted)","spark.submit.deployMode":"client","spark.hadoop.fs.s3a.path.style.access":"true","spark.driver.host":"73850a3d530b","spark.app.id":"app-20260720151940-0099","spark.eventLog.compress":"true","spark.eventLog.enabled":"true","spark.executor.extraJavaOptions":"-Djava.net.preferIPv6Addresses=false -XX:+IgnoreUnrecognizedVMOptions --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.base/sun.nio.cs=ALL-UNNAMED --add-opens=java.base/sun.security.action=ALL-UNNAMED --add-opens=java.base/sun.util.calendar=ALL-UNNAMED --add-opens=java.security.jgss/sun.security.krb5=ALL-UNNAMED -Djdk.reflect.useDirectMethodHandle=false","spark.sql.execution.root.id":"0","spark.hadoop.fs.s3a.connection.ssl.enabled":"false","spark.serializer.objectStreamReset":"100","spark.driver.extraJavaOptions":"-Djava.net.preferIPv6Addresses=false -XX:+IgnoreUnrecognizedVMOptions --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.base/sun.nio.cs=ALL-UNNAMED --add-opens=java.base/sun.security.action=ALL-UNNAMED --add-opens=java.base/sun.util.calendar=ALL-UNNAMED --add-opens=java.security.jgss/sun.security.krb5=ALL-UNNAMED -Djdk.reflect.useDirectMethodHandle=false"}} {"Event":"SparkListenerStageSubmitted","Stage Info":{"Stage ID":2,"Stage Attempt ID":0,"Stage Name":"parquet at NativeMethodAccessorImpl.java:0","Number of Tasks":1,"RDD Info":[{"RDD ID":11,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"11\",\"name\":\"Exchange\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[10],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"DETERMINATE","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":8,"Name":"FileScanRDD","Scope":"{\"id\":\"16\",\"name\":\"Scan csv \"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"DETERMINATE","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":9,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"16\",\"name\":\"Scan csv \"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[8],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"DETERMINATE","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":10,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"12\",\"name\":\"WholeStageCodegen (3)\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[9],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"DETERMINATE","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0}],"Parent IDs":[],"Details":"org.apache.spark.sql.DataFrameWriter.parquet(DataFrameWriter.scala:792)\njava.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\njava.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)\njava.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\njava.base/java.lang.reflect.Method.invoke(Method.java:569)\npy4j.reflection.MethodInvoker.invoke(MethodInvoker.java:244)\npy4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:374)\npy4j.Gateway.invoke(Gateway.java:282)\npy4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:132)\npy4j.commands.CallCommand.execute(CallCommand.java:79)\npy4j.ClientServerConnection.waitForCommands(ClientServerConnection.java:182)\npy4j.ClientServerConnection.run(ClientServerConnection.java:106)\njava.base/java.lang.Thread.run(Thread.java:840)","Submission Time":1784546387357,"Accumulables":[],"Resource Profile Id":0,"Shuffle Push Enabled":false,"Shuffle Push Mergers Count":0},"Properties":{"spark.driver.port":"34351","spark.submit.pyFiles":"","spark.app.startTime":"1784546379461","spark.rdd.scope":"{\"id\":\"11\",\"name\":\"Exchange\"}","spark.hadoop.fs.s3a.endpoint":"http://minio:9000","spark.rdd.compress":"True","spark.hadoop.fs.s3a.impl":"org.apache.hadoop.fs.s3a.S3AFileSystem","spark.app.submitTime":"1784546378209","spark.eventLog.dir":"file:/opt/spark-events","spark.hadoop.fs.s3a.aws.credentials.provider":"org.apache.hadoop.fs.s3a.SimpleAWSCredentialsProvider","spark.sql.execution.id":"0","spark.sql.warehouse.dir":"file:/opt/airflow/spark-warehouse","spark.rdd.scope.noOverride":"true","spark.master":"spark://spark-master:7077","spark.hadoop.fs.s3a.secret.key":"*********(redacted)","spark.executor.id":"driver","spark.app.name":"dm_user_cohort_analysis","spark.hadoop.fs.s3a.access.key":"*********(redacted)","spark.submit.deployMode":"client","spark.hadoop.fs.s3a.path.style.access":"true","spark.driver.host":"73850a3d530b","spark.app.id":"app-20260720151940-0099","spark.eventLog.compress":"true","spark.eventLog.enabled":"true","spark.executor.extraJavaOptions":"-Djava.net.preferIPv6Addresses=false -XX:+IgnoreUnrecognizedVMOptions --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.base/sun.nio.cs=ALL-UNNAMED --add-opens=java.base/sun.security.action=ALL-UNNAMED --add-opens=java.base/sun.util.calendar=ALL-UNNAMED --add-opens=java.security.jgss/sun.security.krb5=ALL-UNNAMED -Djdk.reflect.useDirectMethodHandle=false","spark.sql.execution.root.id":"0","spark.hadoop.fs.s3a.connection.ssl.enabled":"false","spark.serializer.objectStreamReset":"100","spark.driver.extraJavaOptions":"-Djava.net.preferIPv6Addresses=false -XX:+IgnoreUnrecognizedVMOptions --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.base/sun.nio.cs=ALL-UNNAMED --add-opens=java.base/sun.security.action=ALL-UNNAMED --add-opens=java.base/sun.util.calendar=ALL-UNNAMED --add-opens=java.security.jgss/sun.security.krb5=ALL-UNNAMED -Djdk.reflect.useDirectMethodHandle=false"}} {"Event":"SparkListenerExecutorAdded","Timestamp":1784546403537,"Executor ID":"0","Executor Info":{"Host":"172.28.0.49","Total Cores":5,"Log Urls":{"stdout":"http://172.28.0.49:8081/logPage/?appId=app-20260720151940-0099&executorId=0&logType=stdout","stderr":"http://172.28.0.49:8081/logPage/?appId=app-20260720151940-0099&executorId=0&logType=stderr"},"Attributes":{},"Resources":{},"Resource Profile Id":0,"Registration Time":1784546403537}} {"Event":"SparkListenerBlockManagerAdded","Block Manager ID":{"Executor ID":"0","Host":"172.28.0.49","Port":46735},"Maximum Memory":455501414,"Timestamp":1784546403576,"Maximum Onheap Memory":455501414,"Maximum Offheap Memory":0} {"Event":"SparkListenerTaskStart","Stage ID":0,"Stage Attempt ID":0,"Task Info":{"Task ID":0,"Index":0,"Attempt":0,"Partition ID":0,"Launch Time":1784546403618,"Executor ID":"0","Host":"172.28.0.49","Locality":"PROCESS_LOCAL","Speculative":false,"Getting Result Time":0,"Finish Time":0,"Failed":false,"Killed":false,"Accumulables":[]}} {"Event":"SparkListenerTaskStart","Stage ID":1,"Stage Attempt ID":0,"Task Info":{"Task ID":1,"Index":0,"Attempt":0,"Partition ID":0,"Launch Time":1784546403630,"Executor ID":"0","Host":"172.28.0.49","Locality":"PROCESS_LOCAL","Speculative":false,"Getting Result Time":0,"Finish Time":0,"Failed":false,"Killed":false,"Accumulables":[]}} {"Event":"SparkListenerTaskStart","Stage ID":2,"Stage Attempt ID":0,"Task Info":{"Task ID":2,"Index":0,"Attempt":0,"Partition ID":0,"Launch Time":1784546403631,"Executor ID":"0","Host":"172.28.0.49","Locality":"PROCESS_LOCAL","Speculative":false,"Getting Result Time":0,"Finish Time":0,"Failed":false,"Killed":false,"Accumulables":[]}} {"Event":"SparkListenerTaskEnd","Stage ID":0,"Stage Attempt ID":0,"Task Type":"ResultTask","Task End Reason":{"Reason":"Success"},"Task Info":{"Task ID":0,"Index":0,"Attempt":0,"Partition ID":0,"Launch Time":1784546403618,"Executor ID":"0","Host":"172.28.0.49","Locality":"PROCESS_LOCAL","Speculative":false,"Getting Result Time":0,"Finish Time":1784546405222,"Failed":false,"Killed":false,"Accumulables":[{"ID":114,"Name":"number of output rows","Update":"20","Value":"20","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":342,"Name":"duration","Update":"941","Value":"941","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":343,"Name":"number of output rows","Update":"20","Value":"20","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":460,"Name":"internal.metrics.executorDeserializeTime","Update":359,"Value":359,"Internal":true,"Count Failed Values":true},{"ID":461,"Name":"internal.metrics.executorDeserializeCpuTime","Update":176451314,"Value":176451314,"Internal":true,"Count Failed Values":true},{"ID":462,"Name":"internal.metrics.executorRunTime","Update":1195,"Value":1195,"Internal":true,"Count Failed Values":true},{"ID":463,"Name":"internal.metrics.executorCpuTime","Update":578496558,"Value":578496558,"Internal":true,"Count Failed Values":true},{"ID":464,"Name":"internal.metrics.resultSize","Update":1979,"Value":1979,"Internal":true,"Count Failed Values":true},{"ID":465,"Name":"internal.metrics.jvmGCTime","Update":12,"Value":12,"Internal":true,"Count Failed Values":true},{"ID":466,"Name":"internal.metrics.resultSerializationTime","Update":3,"Value":3,"Internal":true,"Count Failed Values":true},{"ID":491,"Name":"internal.metrics.input.bytesRead","Update":1032,"Value":1032,"Internal":true,"Count Failed Values":true},{"ID":492,"Name":"internal.metrics.input.recordsRead","Update":20,"Value":20,"Internal":true,"Count Failed Values":true}]},"Task Executor Metrics":{"JVMHeapMemory":0,"JVMOffHeapMemory":0,"OnHeapExecutionMemory":0,"OffHeapExecutionMemory":0,"OnHeapStorageMemory":0,"OffHeapStorageMemory":0,"OnHeapUnifiedMemory":0,"OffHeapUnifiedMemory":0,"DirectPoolMemory":0,"MappedPoolMemory":0,"ProcessTreeJVMVMemory":0,"ProcessTreeJVMRSSMemory":0,"ProcessTreePythonVMemory":0,"ProcessTreePythonRSSMemory":0,"ProcessTreeOtherVMemory":0,"ProcessTreeOtherRSSMemory":0,"MinorGCCount":0,"MinorGCTime":0,"MajorGCCount":0,"MajorGCTime":0,"TotalGCTime":0},"Task Metrics":{"Executor Deserialize Time":359,"Executor Deserialize CPU Time":176451314,"Executor Run Time":1195,"Executor CPU Time":578496558,"Peak Execution Memory":0,"Result Size":1979,"JVM GC Time":12,"Result Serialization Time":3,"Memory Bytes Spilled":0,"Disk Bytes Spilled":0,"Shuffle Read Metrics":{"Remote Blocks Fetched":0,"Local Blocks Fetched":0,"Fetch Wait Time":0,"Remote Bytes Read":0,"Remote Bytes Read To Disk":0,"Local Bytes Read":0,"Total Records Read":0,"Remote Requests Duration":0,"Push Based Shuffle":{"Corrupt Merged Block Chunks":0,"Merged Fetch Fallback Count":0,"Merged Remote Blocks Fetched":0,"Merged Local Blocks Fetched":0,"Merged Remote Chunks Fetched":0,"Merged Local Chunks Fetched":0,"Merged Remote Bytes Read":0,"Merged Local Bytes Read":0,"Merged Remote Requests Duration":0}},"Shuffle Write Metrics":{"Shuffle Bytes Written":0,"Shuffle Write Time":0,"Shuffle Records Written":0},"Input Metrics":{"Bytes Read":1032,"Records Read":20},"Output Metrics":{"Bytes Written":0,"Records Written":0},"Updated Blocks":[]}} {"Event":"SparkListenerStageCompleted","Stage Info":{"Stage ID":0,"Stage Attempt ID":0,"Stage Name":"$anonfun$withThreadLocalCaptured$1 at FutureTask.java:264","Number of Tasks":1,"RDD Info":[{"RDD ID":5,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"0\",\"name\":\"BroadcastExchange\"}","Callsite":"$anonfun$withThreadLocalCaptured$1 at FutureTask.java:264","Parent IDs":[4],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"DETERMINATE","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":4,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"3\",\"name\":\"WholeStageCodegen (1)\"}","Callsite":"$anonfun$withThreadLocalCaptured$1 at FutureTask.java:264","Parent IDs":[2],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"DETERMINATE","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":1,"Name":"FileScanRDD","Scope":"{\"id\":\"9\",\"name\":\"Scan csv \"}","Callsite":"$anonfun$withThreadLocalCaptured$1 at FutureTask.java:264","Parent IDs":[],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"DETERMINATE","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":2,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"9\",\"name\":\"Scan csv \"}","Callsite":"$anonfun$withThreadLocalCaptured$1 at FutureTask.java:264","Parent IDs":[1],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"DETERMINATE","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0}],"Parent IDs":[],"Details":"org.apache.spark.sql.execution.SQLExecution$.$anonfun$withThreadLocalCaptured$1(SQLExecution.scala:219)\njava.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)\njava.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)\njava.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)\njava.base/java.lang.Thread.run(Thread.java:840)","Submission Time":1784546387224,"Completion Time":1784546405227,"Accumulables":[{"ID":114,"Name":"number of output rows","Value":"20","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":342,"Name":"duration","Value":"941","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":343,"Name":"number of output rows","Value":"20","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":460,"Name":"internal.metrics.executorDeserializeTime","Value":359,"Internal":true,"Count Failed Values":true},{"ID":461,"Name":"internal.metrics.executorDeserializeCpuTime","Value":176451314,"Internal":true,"Count Failed Values":true},{"ID":462,"Name":"internal.metrics.executorRunTime","Value":1195,"Internal":true,"Count Failed Values":true},{"ID":463,"Name":"internal.metrics.executorCpuTime","Value":578496558,"Internal":true,"Count Failed Values":true},{"ID":464,"Name":"internal.metrics.resultSize","Value":1979,"Internal":true,"Count Failed Values":true},{"ID":465,"Name":"internal.metrics.jvmGCTime","Value":12,"Internal":true,"Count Failed Values":true},{"ID":466,"Name":"internal.metrics.resultSerializationTime","Value":3,"Internal":true,"Count Failed Values":true},{"ID":491,"Name":"internal.metrics.input.bytesRead","Value":1032,"Internal":true,"Count Failed Values":true},{"ID":492,"Name":"internal.metrics.input.recordsRead","Value":20,"Internal":true,"Count Failed Values":true}],"Resource Profile Id":0,"Shuffle Push Enabled":false,"Shuffle Push Mergers Count":0}} {"Event":"SparkListenerJobEnd","Job ID":0,"Completion Time":1784546405230,"Job Result":{"Result":"JobSucceeded"}} {"Event":"SparkListenerTaskEnd","Stage ID":2,"Stage Attempt ID":0,"Task Type":"ShuffleMapTask","Task End Reason":{"Reason":"Success"},"Task Info":{"Task ID":2,"Index":0,"Attempt":0,"Partition ID":0,"Launch Time":1784546403631,"Executor ID":"0","Host":"172.28.0.49","Locality":"PROCESS_LOCAL","Speculative":false,"Getting Result Time":0,"Finish Time":1784546405226,"Failed":false,"Killed":false,"Accumulables":[{"ID":236,"Name":"number of output rows","Update":"58","Value":"58","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":430,"Name":"data size","Update":"264","Value":"264","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":449,"Name":"shuffle bytes written","Update":"693","Value":"693","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":450,"Name":"shuffle records written","Update":"11","Value":"11","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":451,"Name":"shuffle write time","Update":"8940662","Value":"8940662","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":452,"Name":"duration","Update":"921","Value":"921","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":453,"Name":"number of output rows","Update":"11","Value":"11","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":454,"Name":"peak memory","Update":"262144","Value":"262144","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":456,"Name":"time in aggregation build","Update":"860","Value":"860","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":459,"Name":"number of output rows","Update":"58","Value":"58","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":530,"Name":"internal.metrics.executorDeserializeTime","Update":378,"Value":378,"Internal":true,"Count Failed Values":true},{"ID":531,"Name":"internal.metrics.executorDeserializeCpuTime","Update":192282470,"Value":192282470,"Internal":true,"Count Failed Values":true},{"ID":532,"Name":"internal.metrics.executorRunTime","Update":1192,"Value":1192,"Internal":true,"Count Failed Values":true},{"ID":533,"Name":"internal.metrics.executorCpuTime","Update":386832713,"Value":386832713,"Internal":true,"Count Failed Values":true},{"ID":534,"Name":"internal.metrics.resultSize","Update":2858,"Value":2858,"Internal":true,"Count Failed Values":true},{"ID":535,"Name":"internal.metrics.jvmGCTime","Update":12,"Value":12,"Internal":true,"Count Failed Values":true},{"ID":536,"Name":"internal.metrics.resultSerializationTime","Update":1,"Value":1,"Internal":true,"Count Failed Values":true},{"ID":539,"Name":"internal.metrics.peakExecutionMemory","Update":262144,"Value":262144,"Internal":true,"Count Failed Values":true},{"ID":558,"Name":"internal.metrics.shuffle.write.bytesWritten","Update":693,"Value":693,"Internal":true,"Count Failed Values":true},{"ID":559,"Name":"internal.metrics.shuffle.write.recordsWritten","Update":11,"Value":11,"Internal":true,"Count Failed Values":true},{"ID":560,"Name":"internal.metrics.shuffle.write.writeTime","Update":8940662,"Value":8940662,"Internal":true,"Count Failed Values":true},{"ID":561,"Name":"internal.metrics.input.bytesRead","Update":1850,"Value":1850,"Internal":true,"Count Failed Values":true},{"ID":562,"Name":"internal.metrics.input.recordsRead","Update":58,"Value":58,"Internal":true,"Count Failed Values":true}]},"Task Executor Metrics":{"JVMHeapMemory":0,"JVMOffHeapMemory":0,"OnHeapExecutionMemory":0,"OffHeapExecutionMemory":0,"OnHeapStorageMemory":0,"OffHeapStorageMemory":0,"OnHeapUnifiedMemory":0,"OffHeapUnifiedMemory":0,"DirectPoolMemory":0,"MappedPoolMemory":0,"ProcessTreeJVMVMemory":0,"ProcessTreeJVMRSSMemory":0,"ProcessTreePythonVMemory":0,"ProcessTreePythonRSSMemory":0,"ProcessTreeOtherVMemory":0,"ProcessTreeOtherRSSMemory":0,"MinorGCCount":0,"MinorGCTime":0,"MajorGCCount":0,"MajorGCTime":0,"TotalGCTime":0},"Task Metrics":{"Executor Deserialize Time":378,"Executor Deserialize CPU Time":192282470,"Executor Run Time":1192,"Executor CPU Time":386832713,"Peak Execution Memory":262144,"Result Size":2858,"JVM GC Time":12,"Result Serialization Time":1,"Memory Bytes Spilled":0,"Disk Bytes Spilled":0,"Shuffle Read Metrics":{"Remote Blocks Fetched":0,"Local Blocks Fetched":0,"Fetch Wait Time":0,"Remote Bytes Read":0,"Remote Bytes Read To Disk":0,"Local Bytes Read":0,"Total Records Read":0,"Remote Requests Duration":0,"Push Based Shuffle":{"Corrupt Merged Block Chunks":0,"Merged Fetch Fallback Count":0,"Merged Remote Blocks Fetched":0,"Merged Local Blocks Fetched":0,"Merged Remote Chunks Fetched":0,"Merged Local Chunks Fetched":0,"Merged Remote Bytes Read":0,"Merged Local Bytes Read":0,"Merged Remote Requests Duration":0}},"Shuffle Write Metrics":{"Shuffle Bytes Written":693,"Shuffle Write Time":8940662,"Shuffle Records Written":11},"Input Metrics":{"Bytes Read":1850,"Records Read":58},"Output Metrics":{"Bytes Written":0,"Records Written":0},"Updated Blocks":[]}} {"Event":"SparkListenerStageCompleted","Stage Info":{"Stage ID":2,"Stage Attempt ID":0,"Stage Name":"parquet at NativeMethodAccessorImpl.java:0","Number of Tasks":1,"RDD Info":[{"RDD ID":11,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"11\",\"name\":\"Exchange\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[10],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"DETERMINATE","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":8,"Name":"FileScanRDD","Scope":"{\"id\":\"16\",\"name\":\"Scan csv \"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"DETERMINATE","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":9,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"16\",\"name\":\"Scan csv \"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[8],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"DETERMINATE","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":10,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"12\",\"name\":\"WholeStageCodegen (3)\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[9],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"DETERMINATE","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0}],"Parent IDs":[],"Details":"org.apache.spark.sql.DataFrameWriter.parquet(DataFrameWriter.scala:792)\njava.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\njava.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)\njava.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\njava.base/java.lang.reflect.Method.invoke(Method.java:569)\npy4j.reflection.MethodInvoker.invoke(MethodInvoker.java:244)\npy4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:374)\npy4j.Gateway.invoke(Gateway.java:282)\npy4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:132)\npy4j.commands.CallCommand.execute(CallCommand.java:79)\npy4j.ClientServerConnection.waitForCommands(ClientServerConnection.java:182)\npy4j.ClientServerConnection.run(ClientServerConnection.java:106)\njava.base/java.lang.Thread.run(Thread.java:840)","Submission Time":1784546387357,"Completion Time":1784546405231,"Accumulables":[{"ID":236,"Name":"number of output rows","Value":"58","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":430,"Name":"data size","Value":"264","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":449,"Name":"shuffle bytes written","Value":"693","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":450,"Name":"shuffle records written","Value":"11","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":451,"Name":"shuffle write time","Value":"8940662","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":452,"Name":"duration","Value":"921","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":453,"Name":"number of output rows","Value":"11","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":454,"Name":"peak memory","Value":"262144","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":456,"Name":"time in aggregation build","Value":"860","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":459,"Name":"number of output rows","Value":"58","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":530,"Name":"internal.metrics.executorDeserializeTime","Value":378,"Internal":true,"Count Failed Values":true},{"ID":531,"Name":"internal.metrics.executorDeserializeCpuTime","Value":192282470,"Internal":true,"Count Failed Values":true},{"ID":532,"Name":"internal.metrics.executorRunTime","Value":1192,"Internal":true,"Count Failed Values":true},{"ID":533,"Name":"internal.metrics.executorCpuTime","Value":386832713,"Internal":true,"Count Failed Values":true},{"ID":534,"Name":"internal.metrics.resultSize","Value":2858,"Internal":true,"Count Failed Values":true},{"ID":535,"Name":"internal.metrics.jvmGCTime","Value":12,"Internal":true,"Count Failed Values":true},{"ID":536,"Name":"internal.metrics.resultSerializationTime","Value":1,"Internal":true,"Count Failed Values":true},{"ID":539,"Name":"internal.metrics.peakExecutionMemory","Value":262144,"Internal":true,"Count Failed Values":true},{"ID":558,"Name":"internal.metrics.shuffle.write.bytesWritten","Value":693,"Internal":true,"Count Failed Values":true},{"ID":559,"Name":"internal.metrics.shuffle.write.recordsWritten","Value":11,"Internal":true,"Count Failed Values":true},{"ID":560,"Name":"internal.metrics.shuffle.write.writeTime","Value":8940662,"Internal":true,"Count Failed Values":true},{"ID":561,"Name":"internal.metrics.input.bytesRead","Value":1850,"Internal":true,"Count Failed Values":true},{"ID":562,"Name":"internal.metrics.input.recordsRead","Value":58,"Internal":true,"Count Failed Values":true}],"Resource Profile Id":0,"Shuffle Push Enabled":false,"Shuffle Push Mergers Count":0}} {"Event":"SparkListenerJobEnd","Job ID":2,"Completion Time":1784546405234,"Job Result":{"Result":"JobSucceeded"}} {"Event":"SparkListenerTaskEnd","Stage ID":1,"Stage Attempt ID":0,"Task Type":"ShuffleMapTask","Task End Reason":{"Reason":"Success"},"Task Info":{"Task ID":1,"Index":0,"Attempt":0,"Partition ID":0,"Launch Time":1784546403630,"Executor ID":"0","Host":"172.28.0.49","Locality":"PROCESS_LOCAL","Speculative":false,"Getting Result Time":0,"Finish Time":1784546405227,"Failed":false,"Killed":false,"Accumulables":[{"ID":192,"Name":"number of output rows","Update":"45","Value":"45","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":389,"Name":"data size","Update":"1080","Value":"1080","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":408,"Name":"shuffle bytes written","Update":"2582","Value":"2582","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":409,"Name":"shuffle records written","Update":"45","Value":"45","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":410,"Name":"shuffle write time","Update":"21402880","Value":"21402880","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":411,"Name":"duration","Update":"918","Value":"918","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":412,"Name":"number of output rows","Update":"45","Value":"45","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":413,"Name":"peak memory","Update":"262144","Value":"262144","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":415,"Name":"time in aggregation build","Update":"844","Value":"844","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":418,"Name":"number of output rows","Update":"45","Value":"45","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":495,"Name":"internal.metrics.executorDeserializeTime","Update":378,"Value":378,"Internal":true,"Count Failed Values":true},{"ID":496,"Name":"internal.metrics.executorDeserializeCpuTime","Update":202832990,"Value":202832990,"Internal":true,"Count Failed Values":true},{"ID":497,"Name":"internal.metrics.executorRunTime","Update":1192,"Value":1192,"Internal":true,"Count Failed Values":true},{"ID":498,"Name":"internal.metrics.executorCpuTime","Update":543131124,"Value":543131124,"Internal":true,"Count Failed Values":true},{"ID":499,"Name":"internal.metrics.resultSize","Update":2858,"Value":2858,"Internal":true,"Count Failed Values":true},{"ID":500,"Name":"internal.metrics.jvmGCTime","Update":12,"Value":12,"Internal":true,"Count Failed Values":true},{"ID":501,"Name":"internal.metrics.resultSerializationTime","Update":1,"Value":1,"Internal":true,"Count Failed Values":true},{"ID":504,"Name":"internal.metrics.peakExecutionMemory","Update":262144,"Value":262144,"Internal":true,"Count Failed Values":true},{"ID":523,"Name":"internal.metrics.shuffle.write.bytesWritten","Update":2582,"Value":2582,"Internal":true,"Count Failed Values":true},{"ID":524,"Name":"internal.metrics.shuffle.write.recordsWritten","Update":45,"Value":45,"Internal":true,"Count Failed Values":true},{"ID":525,"Name":"internal.metrics.shuffle.write.writeTime","Update":21402880,"Value":21402880,"Internal":true,"Count Failed Values":true},{"ID":526,"Name":"internal.metrics.input.bytesRead","Update":1442,"Value":1442,"Internal":true,"Count Failed Values":true},{"ID":527,"Name":"internal.metrics.input.recordsRead","Update":45,"Value":45,"Internal":true,"Count Failed Values":true}]},"Task Executor Metrics":{"JVMHeapMemory":0,"JVMOffHeapMemory":0,"OnHeapExecutionMemory":0,"OffHeapExecutionMemory":0,"OnHeapStorageMemory":0,"OffHeapStorageMemory":0,"OnHeapUnifiedMemory":0,"OffHeapUnifiedMemory":0,"DirectPoolMemory":0,"MappedPoolMemory":0,"ProcessTreeJVMVMemory":0,"ProcessTreeJVMRSSMemory":0,"ProcessTreePythonVMemory":0,"ProcessTreePythonRSSMemory":0,"ProcessTreeOtherVMemory":0,"ProcessTreeOtherRSSMemory":0,"MinorGCCount":0,"MinorGCTime":0,"MajorGCCount":0,"MajorGCTime":0,"TotalGCTime":0},"Task Metrics":{"Executor Deserialize Time":378,"Executor Deserialize CPU Time":202832990,"Executor Run Time":1192,"Executor CPU Time":543131124,"Peak Execution Memory":262144,"Result Size":2858,"JVM GC Time":12,"Result Serialization Time":1,"Memory Bytes Spilled":0,"Disk Bytes Spilled":0,"Shuffle Read Metrics":{"Remote Blocks Fetched":0,"Local Blocks Fetched":0,"Fetch Wait Time":0,"Remote Bytes Read":0,"Remote Bytes Read To Disk":0,"Local Bytes Read":0,"Total Records Read":0,"Remote Requests Duration":0,"Push Based Shuffle":{"Corrupt Merged Block Chunks":0,"Merged Fetch Fallback Count":0,"Merged Remote Blocks Fetched":0,"Merged Local Blocks Fetched":0,"Merged Remote Chunks Fetched":0,"Merged Local Chunks Fetched":0,"Merged Remote Bytes Read":0,"Merged Local Bytes Read":0,"Merged Remote Requests Duration":0}},"Shuffle Write Metrics":{"Shuffle Bytes Written":2582,"Shuffle Write Time":21402880,"Shuffle Records Written":45},"Input Metrics":{"Bytes Read":1442,"Records Read":45},"Output Metrics":{"Bytes Written":0,"Records Written":0},"Updated Blocks":[]}} {"Event":"SparkListenerStageCompleted","Stage Info":{"Stage ID":1,"Stage Attempt ID":0,"Stage Name":"parquet at NativeMethodAccessorImpl.java:0","Number of Tasks":1,"RDD Info":[{"RDD ID":7,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"1\",\"name\":\"Exchange\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[6],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"DETERMINATE","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":3,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"10\",\"name\":\"Scan csv \"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[0],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"DETERMINATE","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":6,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"2\",\"name\":\"WholeStageCodegen (2)\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[3],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"DETERMINATE","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":0,"Name":"FileScanRDD","Scope":"{\"id\":\"10\",\"name\":\"Scan csv \"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"DETERMINATE","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0}],"Parent IDs":[],"Details":"org.apache.spark.sql.DataFrameWriter.parquet(DataFrameWriter.scala:792)\njava.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\njava.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)\njava.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\njava.base/java.lang.reflect.Method.invoke(Method.java:569)\npy4j.reflection.MethodInvoker.invoke(MethodInvoker.java:244)\npy4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:374)\npy4j.Gateway.invoke(Gateway.java:282)\npy4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:132)\npy4j.commands.CallCommand.execute(CallCommand.java:79)\npy4j.ClientServerConnection.waitForCommands(ClientServerConnection.java:182)\npy4j.ClientServerConnection.run(ClientServerConnection.java:106)\njava.base/java.lang.Thread.run(Thread.java:840)","Submission Time":1784546387282,"Completion Time":1784546405236,"Accumulables":[{"ID":192,"Name":"number of output rows","Value":"45","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":389,"Name":"data size","Value":"1080","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":408,"Name":"shuffle bytes written","Value":"2582","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":409,"Name":"shuffle records written","Value":"45","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":410,"Name":"shuffle write time","Value":"21402880","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":411,"Name":"duration","Value":"918","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":412,"Name":"number of output rows","Value":"45","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":413,"Name":"peak memory","Value":"262144","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":415,"Name":"time in aggregation build","Value":"844","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":418,"Name":"number of output rows","Value":"45","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":495,"Name":"internal.metrics.executorDeserializeTime","Value":378,"Internal":true,"Count Failed Values":true},{"ID":496,"Name":"internal.metrics.executorDeserializeCpuTime","Value":202832990,"Internal":true,"Count Failed Values":true},{"ID":497,"Name":"internal.metrics.executorRunTime","Value":1192,"Internal":true,"Count Failed Values":true},{"ID":498,"Name":"internal.metrics.executorCpuTime","Value":543131124,"Internal":true,"Count Failed Values":true},{"ID":499,"Name":"internal.metrics.resultSize","Value":2858,"Internal":true,"Count Failed Values":true},{"ID":500,"Name":"internal.metrics.jvmGCTime","Value":12,"Internal":true,"Count Failed Values":true},{"ID":501,"Name":"internal.metrics.resultSerializationTime","Value":1,"Internal":true,"Count Failed Values":true},{"ID":504,"Name":"internal.metrics.peakExecutionMemory","Value":262144,"Internal":true,"Count Failed Values":true},{"ID":523,"Name":"internal.metrics.shuffle.write.bytesWritten","Value":2582,"Internal":true,"Count Failed Values":true},{"ID":524,"Name":"internal.metrics.shuffle.write.recordsWritten","Value":45,"Internal":true,"Count Failed Values":true},{"ID":525,"Name":"internal.metrics.shuffle.write.writeTime","Value":21402880,"Internal":true,"Count Failed Values":true},{"ID":526,"Name":"internal.metrics.input.bytesRead","Value":1442,"Internal":true,"Count Failed Values":true},{"ID":527,"Name":"internal.metrics.input.recordsRead","Value":45,"Internal":true,"Count Failed Values":true}],"Resource Profile Id":0,"Shuffle Push Enabled":false,"Shuffle Push Mergers Count":0}} {"Event":"SparkListenerJobEnd","Job ID":1,"Completion Time":1784546405237,"Job Result":{"Result":"JobSucceeded"}} {"Event":"org.apache.spark.sql.execution.ui.SparkListenerDriverAccumUpdates","executionId":0,"accumUpdates":[[341,13],[340,18],[339,18642],[338,20],[337,1048736]]} {"Event":"org.apache.spark.sql.execution.ui.SparkListenerSQLAdaptiveExecutionUpdate","executionId":0,"physicalPlanDescription":"== Physical Plan ==\nAdaptiveSparkPlan (75)\n+- == Current Plan ==\n Execute InsertIntoHadoopFsRelationCommand (41)\n +- WriteFiles (40)\n +- Sort (39)\n +- Exchange (38)\n +- Project (37)\n +- HashAggregate (36)\n +- Exchange (35)\n +- HashAggregate (34)\n +- HashAggregate (33)\n +- Exchange (32)\n +- HashAggregate (31)\n +- Expand (30)\n +- BroadcastHashJoin LeftOuter BuildRight (29)\n :- BroadcastHashJoin LeftOuter BuildRight (19)\n : :- Project (8)\n : : +- BroadcastHashJoin LeftOuter BuildRight (7)\n : : :- Project (2)\n : : : +- Scan csv (1)\n : : +- BroadcastQueryStage (6)\n : : +- BroadcastExchange (5)\n : : +- * Filter (4)\n : : +- Scan csv (3)\n : +- BroadcastExchange (18)\n : +- HashAggregate (17)\n : +- Exchange (16)\n : +- HashAggregate (15)\n : +- HashAggregate (14)\n : +- ShuffleQueryStage (13)\n : +- Exchange (12)\n : +- * HashAggregate (11)\n : +- * Filter (10)\n : +- Scan csv (9)\n +- BroadcastQueryStage (28)\n +- BroadcastExchange (27)\n +- * HashAggregate (26)\n +- AQEShuffleRead (25)\n +- ShuffleQueryStage (24), Statistics(sizeInBytes=264.0 B, rowCount=11)\n +- Exchange (23)\n +- * HashAggregate (22)\n +- * Filter (21)\n +- Scan csv (20)\n+- == Initial Plan ==\n Execute InsertIntoHadoopFsRelationCommand (74)\n +- WriteFiles (73)\n +- Sort (72)\n +- Exchange (71)\n +- Project (70)\n +- HashAggregate (69)\n +- Exchange (68)\n +- HashAggregate (67)\n +- HashAggregate (66)\n +- Exchange (65)\n +- HashAggregate (64)\n +- Expand (63)\n +- BroadcastHashJoin LeftOuter BuildRight (62)\n :- BroadcastHashJoin LeftOuter BuildRight (56)\n : :- Project (47)\n : : +- BroadcastHashJoin LeftOuter BuildRight (46)\n : : :- Project (43)\n : : : +- Scan csv (42)\n : : +- BroadcastExchange (45)\n : : +- Filter (44)\n : : +- Scan csv (3)\n : +- BroadcastExchange (55)\n : +- HashAggregate (54)\n : +- Exchange (53)\n : +- HashAggregate (52)\n : +- HashAggregate (51)\n : +- Exchange (50)\n : +- HashAggregate (49)\n : +- Filter (48)\n : +- Scan csv (9)\n +- BroadcastExchange (61)\n +- HashAggregate (60)\n +- Exchange (59)\n +- HashAggregate (58)\n +- Filter (57)\n +- Scan csv (20)\n\n\n(1) Scan csv \nOutput [2]: [id#0L, registration_date#4]\nBatched: false\nLocation: InMemoryFileIndex [s3a://apavlovets-bucket/raw/users.csv]\nReadSchema: struct\n\n(2) Project\nOutput [2]: [id#0L AS user_id#26L, date_trunc(month, registration_date#4, Some(Europe/Samara)) AS cohort_month_ts#27]\nInput [2]: [id#0L, registration_date#4]\n\n(3) Scan csv \nOutput [2]: [id#53L, registration_date#57]\nBatched: false\nLocation: InMemoryFileIndex [s3a://apavlovets-bucket/raw/users.csv]\nPushedFilters: [IsNotNull(id)]\nReadSchema: struct\n\n(4) Filter [codegen id : 1]\nInput [2]: [id#53L, registration_date#57]\nCondition : isnotnull(id#53L)\n\n(5) BroadcastExchange\nInput [2]: [id#53L, registration_date#57]\nArguments: HashedRelationBroadcastMode(List(input[0, bigint, false]),false), [plan_id=213]\n\n(6) BroadcastQueryStage\nOutput [2]: [id#53L, registration_date#57]\nArguments: 0\n\n(7) BroadcastHashJoin\nLeft keys [1]: [user_id#26L]\nRight keys [1]: [id#53L]\nJoin type: LeftOuter\nJoin condition: None\n\n(8) Project\nOutput [3]: [user_id#26L, cohort_month_ts#27, registration_date#57]\nInput [4]: [user_id#26L, cohort_month_ts#27, id#53L, registration_date#57]\n\n(9) Scan csv \nOutput [2]: [user_id#11L, course_id#12L]\nBatched: false\nLocation: InMemoryFileIndex [s3a://apavlovets-bucket/raw/enrollments.csv]\nPushedFilters: [IsNotNull(user_id)]\nReadSchema: struct\n\n(10) Filter [codegen id : 2]\nInput [2]: [user_id#11L, course_id#12L]\nCondition : isnotnull(user_id#11L)\n\n(11) HashAggregate [codegen id : 2]\nInput [2]: [user_id#11L, course_id#12L]\nKeys [2]: [user_id#11L, course_id#12L]\nFunctions: []\nAggregate Attributes: []\nResults [2]: [user_id#11L, course_id#12L]\n\n(12) Exchange\nInput [2]: [user_id#11L, course_id#12L]\nArguments: hashpartitioning(user_id#11L, course_id#12L, 200), ENSURE_REQUIREMENTS, [plan_id=226]\n\n(13) ShuffleQueryStage\nOutput [2]: [user_id#11L, course_id#12L]\nArguments: 1\n\n(14) HashAggregate\nInput [2]: [user_id#11L, course_id#12L]\nKeys [2]: [user_id#11L, course_id#12L]\nFunctions: []\nAggregate Attributes: []\nResults [2]: [user_id#11L, course_id#12L]\n\n(15) HashAggregate\nInput [2]: [user_id#11L, course_id#12L]\nKeys [1]: [user_id#11L]\nFunctions [1]: [partial_count(distinct course_id#12L)]\nAggregate Attributes [1]: [count(course_id#12L)#36L]\nResults [2]: [user_id#11L, count#203L]\n\n(16) Exchange\nInput [2]: [user_id#11L, count#203L]\nArguments: hashpartitioning(user_id#11L, 200), ENSURE_REQUIREMENTS, [plan_id=238]\n\n(17) HashAggregate\nInput [2]: [user_id#11L, count#203L]\nKeys [1]: [user_id#11L]\nFunctions [1]: [count(distinct course_id#12L)]\nAggregate Attributes [1]: [count(course_id#12L)#36L]\nResults [2]: [user_id#11L, count(course_id#12L)#36L AS courses_count#35L]\n\n(18) BroadcastExchange\nInput [2]: [user_id#11L, courses_count#35L]\nArguments: HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=317]\n\n(19) BroadcastHashJoin\nLeft keys [1]: [user_id#26L]\nRight keys [1]: [user_id#11L]\nJoin type: LeftOuter\nJoin condition: None\n\n(20) Scan csv \nOutput [2]: [user_id#19L, viewed_at#21]\nBatched: false\nLocation: InMemoryFileIndex [s3a://apavlovets-bucket/raw/lesson_views.csv]\nPushedFilters: [IsNotNull(user_id)]\nReadSchema: struct\n\n(21) Filter [codegen id : 3]\nInput [2]: [user_id#19L, viewed_at#21]\nCondition : isnotnull(user_id#19L)\n\n(22) HashAggregate [codegen id : 3]\nInput [2]: [user_id#19L, viewed_at#21]\nKeys [1]: [user_id#19L]\nFunctions [1]: [partial_min(viewed_at#21)]\nAggregate Attributes [1]: [min#205]\nResults [2]: [user_id#19L, min#206]\n\n(23) Exchange\nInput [2]: [user_id#19L, min#206]\nArguments: hashpartitioning(user_id#19L, 200), ENSURE_REQUIREMENTS, [plan_id=246]\n\n(24) ShuffleQueryStage\nOutput [2]: [user_id#19L, min#206]\nArguments: 2\n\n(25) AQEShuffleRead\nInput [2]: [user_id#19L, min#206]\nArguments: coalesced\n\n(26) HashAggregate [codegen id : 4]\nInput [2]: [user_id#19L, min#206]\nKeys [1]: [user_id#19L]\nFunctions [1]: [min(viewed_at#21)]\nAggregate Attributes [1]: [min(viewed_at#21)#46]\nResults [2]: [user_id#19L, min(viewed_at#21)#46 AS first_viewed_at#47]\n\n(27) BroadcastExchange\nInput [2]: [user_id#19L, first_viewed_at#47]\nArguments: HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=384]\n\n(28) BroadcastQueryStage\nOutput [2]: [user_id#19L, first_viewed_at#47]\nArguments: 3\n\n(29) BroadcastHashJoin\nLeft keys [1]: [user_id#26L]\nRight keys [1]: [user_id#19L]\nJoin type: LeftOuter\nJoin condition: None\n\n(30) Expand\nInput [7]: [user_id#26L, cohort_month_ts#27, registration_date#57, user_id#11L, courses_count#35L, user_id#19L, first_viewed_at#47]\nArguments: [[cohort_month_ts#27, null, null, null, 0, courses_count#35L, datediff(cast(first_viewed_at#47 as date), cast(registration_date#57 as date))], [cohort_month_ts#27, user_id#26L, null, null, 1, null, null], [cohort_month_ts#27, null, user_id#11L, null, 2, null, null], [cohort_month_ts#27, null, null, user_id#19L, 3, null, null]], [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, ue.courses_count#173L, datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174]\n\n(31) HashAggregate\nInput [7]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, ue.courses_count#173L, datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174]\nKeys [5]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169]\nFunctions [2]: [partial_avg(ue.courses_count#173L), partial_avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174)]\nAggregate Attributes [4]: [sum#193, count#194L, sum#195, count#196L]\nResults [9]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, sum#197, count#198L, sum#199, count#200L]\n\n(32) Exchange\nInput [9]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, sum#197, count#198L, sum#199, count#200L]\nArguments: hashpartitioning(cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, 200), ENSURE_REQUIREMENTS, [plan_id=395]\n\n(33) HashAggregate\nInput [9]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, sum#197, count#198L, sum#199, count#200L]\nKeys [5]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169]\nFunctions [2]: [avg(ue.courses_count#173L), avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174)]\nAggregate Attributes [2]: [avg(ue.courses_count#173L)#127, avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174)#129]\nResults [7]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, avg(ue.courses_count#173L)#127 AS avg(ue.courses_count)#175, avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174)#129 AS avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177]\n\n(34) HashAggregate\nInput [7]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, avg(ue.courses_count)#175, avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177]\nKeys [1]: [cohort_month_ts#27]\nFunctions [5]: [partial_count(c.user_id#170L) FILTER (WHERE (gid#169 = 1)), partial_count(ue.user_id#171L) FILTER (WHERE (gid#169 = 2)), partial_count(ufv.user_id#172L) FILTER (WHERE (gid#169 = 3)), partial_first(avg(ue.courses_count)#175, true) FILTER (WHERE (gid#169 = 0)), partial_first(avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177, true) FILTER (WHERE (gid#169 = 0))]\nAggregate Attributes [7]: [count#179L, count#180L, count#181L, first#182, valueSet#183, first#184, valueSet#185]\nResults [8]: [cohort_month_ts#27, count#186L, count#187L, count#188L, first#189, valueSet#190, first#191, valueSet#192]\n\n(35) Exchange\nInput [8]: [cohort_month_ts#27, count#186L, count#187L, count#188L, first#189, valueSet#190, first#191, valueSet#192]\nArguments: hashpartitioning(cohort_month_ts#27, 200), ENSURE_REQUIREMENTS, [plan_id=398]\n\n(36) HashAggregate\nInput [8]: [cohort_month_ts#27, count#186L, count#187L, count#188L, first#189, valueSet#190, first#191, valueSet#192]\nKeys [1]: [cohort_month_ts#27]\nFunctions [5]: [count(c.user_id#170L), count(ue.user_id#171L), count(ufv.user_id#172L), first(avg(ue.courses_count)#175, true), first(avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177, true)]\nAggregate Attributes [5]: [count(c.user_id#170L)#131L, count(ue.user_id#171L)#132L, count(ufv.user_id#172L)#133L, first(avg(ue.courses_count)#175) ignore nulls#176, first(avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177) ignore nulls#178]\nResults [6]: [cohort_month_ts#27, count(c.user_id#170L)#131L AS users_in_cohort#124L, count(ue.user_id#171L)#132L AS enrolled_users#125L, count(ufv.user_id#172L)#133L AS active_users#126L, round(first(avg(ue.courses_count)#175) ignore nulls#176, 2) AS avg_courses_per_user#128, round(first(avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177) ignore nulls#178, 2) AS avg_time_to_first_view#130]\n\n(37) Project\nOutput [7]: [date_format(cohort_month_ts#27, yyyy-MM, Some(Europe/Samara)) AS cohort_month#154, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130, CASE WHEN NOT (users_in_cohort#124L = 0) THEN round(((cast(active_users#126L as double) * 100.0) / cast(users_in_cohort#124L as double)), 2) END AS retention_rate#146]\nInput [6]: [cohort_month_ts#27, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130]\n\n(38) Exchange\nInput [7]: [cohort_month#154, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130, retention_rate#146]\nArguments: rangepartitioning(cohort_month#154 ASC NULLS FIRST, 200), ENSURE_REQUIREMENTS, [plan_id=401]\n\n(39) Sort\nInput [7]: [cohort_month#154, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130, retention_rate#146]\nArguments: [cohort_month#154 ASC NULLS FIRST], true, 0\n\n(40) WriteFiles\nInput [7]: [cohort_month#154, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130, retention_rate#146]\n\n(41) Execute InsertIntoHadoopFsRelationCommand\nInput: []\nArguments: s3a://apavlovets-bucket/marts/user_cohort_analysis.parquet, false, Parquet, [path=s3a://apavlovets-bucket/marts/user_cohort_analysis.parquet], Overwrite, [cohort_month, users_in_cohort, enrolled_users, active_users, avg_courses_per_user, avg_time_to_first_view, retention_rate]\n\n(42) Scan csv \nOutput [2]: [id#0L, registration_date#4]\nBatched: false\nLocation: InMemoryFileIndex [s3a://apavlovets-bucket/raw/users.csv]\nReadSchema: struct\n\n(43) Project\nOutput [2]: [id#0L AS user_id#26L, date_trunc(month, registration_date#4, Some(Europe/Samara)) AS cohort_month_ts#27]\nInput [2]: [id#0L, registration_date#4]\n\n(44) Filter\nInput [2]: [id#53L, registration_date#57]\nCondition : isnotnull(id#53L)\n\n(45) BroadcastExchange\nInput [2]: [id#53L, registration_date#57]\nArguments: HashedRelationBroadcastMode(List(input[0, bigint, false]),false), [plan_id=119]\n\n(46) BroadcastHashJoin\nLeft keys [1]: [user_id#26L]\nRight keys [1]: [id#53L]\nJoin type: LeftOuter\nJoin condition: None\n\n(47) Project\nOutput [3]: [user_id#26L, cohort_month_ts#27, registration_date#57]\nInput [4]: [user_id#26L, cohort_month_ts#27, id#53L, registration_date#57]\n\n(48) Filter\nInput [2]: [user_id#11L, course_id#12L]\nCondition : isnotnull(user_id#11L)\n\n(49) HashAggregate\nInput [2]: [user_id#11L, course_id#12L]\nKeys [2]: [user_id#11L, course_id#12L]\nFunctions: []\nAggregate Attributes: []\nResults [2]: [user_id#11L, course_id#12L]\n\n(50) Exchange\nInput [2]: [user_id#11L, course_id#12L]\nArguments: hashpartitioning(user_id#11L, course_id#12L, 200), ENSURE_REQUIREMENTS, [plan_id=122]\n\n(51) HashAggregate\nInput [2]: [user_id#11L, course_id#12L]\nKeys [2]: [user_id#11L, course_id#12L]\nFunctions: []\nAggregate Attributes: []\nResults [2]: [user_id#11L, course_id#12L]\n\n(52) HashAggregate\nInput [2]: [user_id#11L, course_id#12L]\nKeys [1]: [user_id#11L]\nFunctions [1]: [partial_count(distinct course_id#12L)]\nAggregate Attributes [1]: [count(course_id#12L)#36L]\nResults [2]: [user_id#11L, count#203L]\n\n(53) Exchange\nInput [2]: [user_id#11L, count#203L]\nArguments: hashpartitioning(user_id#11L, 200), ENSURE_REQUIREMENTS, [plan_id=126]\n\n(54) HashAggregate\nInput [2]: [user_id#11L, count#203L]\nKeys [1]: [user_id#11L]\nFunctions [1]: [count(distinct course_id#12L)]\nAggregate Attributes [1]: [count(course_id#12L)#36L]\nResults [2]: [user_id#11L, count(course_id#12L)#36L AS courses_count#35L]\n\n(55) BroadcastExchange\nInput [2]: [user_id#11L, courses_count#35L]\nArguments: HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=129]\n\n(56) BroadcastHashJoin\nLeft keys [1]: [user_id#26L]\nRight keys [1]: [user_id#11L]\nJoin type: LeftOuter\nJoin condition: None\n\n(57) Filter\nInput [2]: [user_id#19L, viewed_at#21]\nCondition : isnotnull(user_id#19L)\n\n(58) HashAggregate\nInput [2]: [user_id#19L, viewed_at#21]\nKeys [1]: [user_id#19L]\nFunctions [1]: [partial_min(viewed_at#21)]\nAggregate Attributes [1]: [min#205]\nResults [2]: [user_id#19L, min#206]\n\n(59) Exchange\nInput [2]: [user_id#19L, min#206]\nArguments: hashpartitioning(user_id#19L, 200), ENSURE_REQUIREMENTS, [plan_id=131]\n\n(60) HashAggregate\nInput [2]: [user_id#19L, min#206]\nKeys [1]: [user_id#19L]\nFunctions [1]: [min(viewed_at#21)]\nAggregate Attributes [1]: [min(viewed_at#21)#46]\nResults [2]: [user_id#19L, min(viewed_at#21)#46 AS first_viewed_at#47]\n\n(61) BroadcastExchange\nInput [2]: [user_id#19L, first_viewed_at#47]\nArguments: HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=134]\n\n(62) BroadcastHashJoin\nLeft keys [1]: [user_id#26L]\nRight keys [1]: [user_id#19L]\nJoin type: LeftOuter\nJoin condition: None\n\n(63) Expand\nInput [7]: [user_id#26L, cohort_month_ts#27, registration_date#57, user_id#11L, courses_count#35L, user_id#19L, first_viewed_at#47]\nArguments: [[cohort_month_ts#27, null, null, null, 0, courses_count#35L, datediff(cast(first_viewed_at#47 as date), cast(registration_date#57 as date))], [cohort_month_ts#27, user_id#26L, null, null, 1, null, null], [cohort_month_ts#27, null, user_id#11L, null, 2, null, null], [cohort_month_ts#27, null, null, user_id#19L, 3, null, null]], [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, ue.courses_count#173L, datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174]\n\n(64) HashAggregate\nInput [7]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, ue.courses_count#173L, datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174]\nKeys [5]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169]\nFunctions [2]: [partial_avg(ue.courses_count#173L), partial_avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174)]\nAggregate Attributes [4]: [sum#193, count#194L, sum#195, count#196L]\nResults [9]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, sum#197, count#198L, sum#199, count#200L]\n\n(65) Exchange\nInput [9]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, sum#197, count#198L, sum#199, count#200L]\nArguments: hashpartitioning(cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, 200), ENSURE_REQUIREMENTS, [plan_id=139]\n\n(66) HashAggregate\nInput [9]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, sum#197, count#198L, sum#199, count#200L]\nKeys [5]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169]\nFunctions [2]: [avg(ue.courses_count#173L), avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174)]\nAggregate Attributes [2]: [avg(ue.courses_count#173L)#127, avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174)#129]\nResults [7]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, avg(ue.courses_count#173L)#127 AS avg(ue.courses_count)#175, avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174)#129 AS avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177]\n\n(67) HashAggregate\nInput [7]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, avg(ue.courses_count)#175, avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177]\nKeys [1]: [cohort_month_ts#27]\nFunctions [5]: [partial_count(c.user_id#170L) FILTER (WHERE (gid#169 = 1)), partial_count(ue.user_id#171L) FILTER (WHERE (gid#169 = 2)), partial_count(ufv.user_id#172L) FILTER (WHERE (gid#169 = 3)), partial_first(avg(ue.courses_count)#175, true) FILTER (WHERE (gid#169 = 0)), partial_first(avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177, true) FILTER (WHERE (gid#169 = 0))]\nAggregate Attributes [7]: [count#179L, count#180L, count#181L, first#182, valueSet#183, first#184, valueSet#185]\nResults [8]: [cohort_month_ts#27, count#186L, count#187L, count#188L, first#189, valueSet#190, first#191, valueSet#192]\n\n(68) Exchange\nInput [8]: [cohort_month_ts#27, count#186L, count#187L, count#188L, first#189, valueSet#190, first#191, valueSet#192]\nArguments: hashpartitioning(cohort_month_ts#27, 200), ENSURE_REQUIREMENTS, [plan_id=143]\n\n(69) HashAggregate\nInput [8]: [cohort_month_ts#27, count#186L, count#187L, count#188L, first#189, valueSet#190, first#191, valueSet#192]\nKeys [1]: [cohort_month_ts#27]\nFunctions [5]: [count(c.user_id#170L), count(ue.user_id#171L), count(ufv.user_id#172L), first(avg(ue.courses_count)#175, true), first(avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177, true)]\nAggregate Attributes [5]: [count(c.user_id#170L)#131L, count(ue.user_id#171L)#132L, count(ufv.user_id#172L)#133L, first(avg(ue.courses_count)#175) ignore nulls#176, first(avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177) ignore nulls#178]\nResults [6]: [cohort_month_ts#27, count(c.user_id#170L)#131L AS users_in_cohort#124L, count(ue.user_id#171L)#132L AS enrolled_users#125L, count(ufv.user_id#172L)#133L AS active_users#126L, round(first(avg(ue.courses_count)#175) ignore nulls#176, 2) AS avg_courses_per_user#128, round(first(avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177) ignore nulls#178, 2) AS avg_time_to_first_view#130]\n\n(70) Project\nOutput [7]: [date_format(cohort_month_ts#27, yyyy-MM, Some(Europe/Samara)) AS cohort_month#154, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130, CASE WHEN NOT (users_in_cohort#124L = 0) THEN round(((cast(active_users#126L as double) * 100.0) / cast(users_in_cohort#124L as double)), 2) END AS retention_rate#146]\nInput [6]: [cohort_month_ts#27, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130]\n\n(71) Exchange\nInput [7]: [cohort_month#154, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130, retention_rate#146]\nArguments: rangepartitioning(cohort_month#154 ASC NULLS FIRST, 200), ENSURE_REQUIREMENTS, [plan_id=147]\n\n(72) Sort\nInput [7]: [cohort_month#154, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130, retention_rate#146]\nArguments: [cohort_month#154 ASC NULLS FIRST], true, 0\n\n(73) WriteFiles\nInput [7]: [cohort_month#154, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130, retention_rate#146]\n\n(74) Execute InsertIntoHadoopFsRelationCommand\nInput: []\nArguments: s3a://apavlovets-bucket/marts/user_cohort_analysis.parquet, false, Parquet, [path=s3a://apavlovets-bucket/marts/user_cohort_analysis.parquet], Overwrite, [cohort_month, users_in_cohort, enrolled_users, active_users, avg_courses_per_user, avg_time_to_first_view, retention_rate]\n\n(75) AdaptiveSparkPlan\nOutput: []\nArguments: isFinalPlan=false\n\n","sparkPlanInfo":{"nodeName":"AdaptiveSparkPlan","simpleString":"AdaptiveSparkPlan isFinalPlan=false","children":[{"nodeName":"Execute InsertIntoHadoopFsRelationCommand","simpleString":"Execute InsertIntoHadoopFsRelationCommand s3a://apavlovets-bucket/marts/user_cohort_analysis.parquet, false, Parquet, [path=s3a://apavlovets-bucket/marts/user_cohort_analysis.parquet], Overwrite, [cohort_month, users_in_cohort, enrolled_users, active_users, avg_courses_per_user, avg_time_to_first_view, retention_rate]","children":[{"nodeName":"WriteFiles","simpleString":"WriteFiles","children":[{"nodeName":"Sort","simpleString":"Sort [cohort_month#154 ASC NULLS FIRST], true, 0","children":[{"nodeName":"Exchange","simpleString":"Exchange rangepartitioning(cohort_month#154 ASC NULLS FIRST, 200), ENSURE_REQUIREMENTS, [plan_id=401]","children":[{"nodeName":"Project","simpleString":"Project [date_format(cohort_month_ts#27, yyyy-MM, Some(Europe/Samara)) AS cohort_month#154, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130, CASE WHEN NOT (users_in_cohort#124L = 0) THEN round(((cast(active_users#126L as double) * 100.0) / cast(users_in_cohort#124L as double)), 2) END AS retention_rate#146]","children":[{"nodeName":"HashAggregate","simpleString":"HashAggregate(keys=[cohort_month_ts#27], functions=[count(c.user_id#170L), count(ue.user_id#171L), count(ufv.user_id#172L), first(avg(ue.courses_count)#175, true), first(avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177, true)])","children":[{"nodeName":"Exchange","simpleString":"Exchange hashpartitioning(cohort_month_ts#27, 200), ENSURE_REQUIREMENTS, [plan_id=398]","children":[{"nodeName":"HashAggregate","simpleString":"HashAggregate(keys=[cohort_month_ts#27], functions=[partial_count(c.user_id#170L) FILTER (WHERE (gid#169 = 1)), partial_count(ue.user_id#171L) FILTER (WHERE (gid#169 = 2)), partial_count(ufv.user_id#172L) FILTER (WHERE (gid#169 = 3)), partial_first(avg(ue.courses_count)#175, true) FILTER (WHERE (gid#169 = 0)), partial_first(avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177, true) FILTER (WHERE (gid#169 = 0))])","children":[{"nodeName":"HashAggregate","simpleString":"HashAggregate(keys=[cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169], functions=[avg(ue.courses_count#173L), avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174)])","children":[{"nodeName":"Exchange","simpleString":"Exchange hashpartitioning(cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, 200), ENSURE_REQUIREMENTS, [plan_id=395]","children":[{"nodeName":"HashAggregate","simpleString":"HashAggregate(keys=[cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169], functions=[partial_avg(ue.courses_count#173L), partial_avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174)])","children":[{"nodeName":"Expand","simpleString":"Expand [[cohort_month_ts#27, null, null, null, 0, courses_count#35L, datediff(cast(first_viewed_at#47 as date), cast(registration_date#57 as date))], [cohort_month_ts#27, user_id#26L, null, null, 1, null, null], [cohort_month_ts#27, null, user_id#11L, null, 2, null, null], [cohort_month_ts#27, null, null, user_id#19L, 3, null, null]], [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, ue.courses_count#173L, datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174]","children":[{"nodeName":"BroadcastHashJoin","simpleString":"BroadcastHashJoin [user_id#26L], [user_id#19L], LeftOuter, BuildRight, false","children":[{"nodeName":"BroadcastHashJoin","simpleString":"BroadcastHashJoin [user_id#26L], [user_id#11L], LeftOuter, BuildRight, false","children":[{"nodeName":"Project","simpleString":"Project [user_id#26L, cohort_month_ts#27, registration_date#57]","children":[{"nodeName":"BroadcastHashJoin","simpleString":"BroadcastHashJoin [user_id#26L], [id#53L], LeftOuter, BuildRight, false","children":[{"nodeName":"Project","simpleString":"Project [id#0L AS user_id#26L, date_trunc(month, registration_date#4, Some(Europe/Samara)) AS cohort_month_ts#27]","children":[{"nodeName":"Scan csv ","simpleString":"FileScan csv [id#0L,registration_date#4] Batched: false, DataFilters: [], Format: CSV, Location: InMemoryFileIndex(1 paths)[s3a://apavlovets-bucket/raw/users.csv], PartitionFilters: [], PushedFilters: [], ReadSchema: struct","children":[],"metadata":{"Location":"InMemoryFileIndex(1 paths)[s3a://apavlovets-bucket/raw/users.csv]","ReadSchema":"struct","Format":"CSV","Batched":"false","PartitionFilters":"[]","PushedFilters":"[]","DataFilters":"[]"},"metrics":[{"name":"number of output rows","accumulatorId":668,"metricType":"sum"},{"name":"number of files read","accumulatorId":669,"metricType":"sum"},{"name":"metadata time","accumulatorId":670,"metricType":"timing"},{"name":"size of files read","accumulatorId":671,"metricType":"size"}]}],"metadata":{},"metrics":[]},{"nodeName":"BroadcastQueryStage","simpleString":"BroadcastQueryStage 0","children":[{"nodeName":"BroadcastExchange","simpleString":"BroadcastExchange HashedRelationBroadcastMode(List(input[0, bigint, false]),false), [plan_id=213]","children":[{"nodeName":"WholeStageCodegen (1)","simpleString":"WholeStageCodegen (1)","children":[{"nodeName":"Filter","simpleString":"Filter isnotnull(id#53L)","children":[{"nodeName":"InputAdapter","simpleString":"InputAdapter","children":[{"nodeName":"Scan csv ","simpleString":"FileScan csv [id#53L,registration_date#57] Batched: false, DataFilters: [isnotnull(id#53L)], Format: CSV, Location: InMemoryFileIndex(1 paths)[s3a://apavlovets-bucket/raw/users.csv], PartitionFilters: [], PushedFilters: [IsNotNull(id)], ReadSchema: struct","children":[],"metadata":{"Location":"InMemoryFileIndex(1 paths)[s3a://apavlovets-bucket/raw/users.csv]","ReadSchema":"struct","Format":"CSV","Batched":"false","PartitionFilters":"[]","PushedFilters":"[IsNotNull(id)]","DataFilters":"[isnotnull(id#53L)]"},"metrics":[{"name":"number of output rows","accumulatorId":114,"metricType":"sum"},{"name":"number of files read","accumulatorId":115,"metricType":"sum"},{"name":"metadata time","accumulatorId":116,"metricType":"timing"},{"name":"size of files read","accumulatorId":117,"metricType":"size"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"number of output rows","accumulatorId":343,"metricType":"sum"}]}],"metadata":{},"metrics":[{"name":"duration","accumulatorId":342,"metricType":"timing"}]}],"metadata":{},"metrics":[{"name":"time to broadcast","accumulatorId":341,"metricType":"timing"},{"name":"time to build","accumulatorId":340,"metricType":"timing"},{"name":"time to collect","accumulatorId":339,"metricType":"timing"},{"name":"number of output rows","accumulatorId":338,"metricType":"sum"},{"name":"data size","accumulatorId":337,"metricType":"size"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"number of output rows","accumulatorId":667,"metricType":"sum"}]}],"metadata":{},"metrics":[]},{"nodeName":"BroadcastExchange","simpleString":"BroadcastExchange HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=317]","children":[{"nodeName":"HashAggregate","simpleString":"HashAggregate(keys=[user_id#11L], functions=[count(distinct course_id#12L)])","children":[{"nodeName":"Exchange","simpleString":"Exchange hashpartitioning(user_id#11L, 200), ENSURE_REQUIREMENTS, [plan_id=238]","children":[{"nodeName":"HashAggregate","simpleString":"HashAggregate(keys=[user_id#11L], functions=[partial_count(distinct course_id#12L)])","children":[{"nodeName":"HashAggregate","simpleString":"HashAggregate(keys=[user_id#11L, course_id#12L], functions=[])","children":[{"nodeName":"ShuffleQueryStage","simpleString":"ShuffleQueryStage 1","children":[{"nodeName":"Exchange","simpleString":"Exchange hashpartitioning(user_id#11L, course_id#12L, 200), ENSURE_REQUIREMENTS, [plan_id=226]","children":[{"nodeName":"WholeStageCodegen (2)","simpleString":"WholeStageCodegen (2)","children":[{"nodeName":"HashAggregate","simpleString":"HashAggregate(keys=[user_id#11L, course_id#12L], functions=[])","children":[{"nodeName":"Filter","simpleString":"Filter isnotnull(user_id#11L)","children":[{"nodeName":"InputAdapter","simpleString":"InputAdapter","children":[{"nodeName":"Scan csv ","simpleString":"FileScan csv [user_id#11L,course_id#12L] Batched: false, DataFilters: [isnotnull(user_id#11L)], Format: CSV, Location: InMemoryFileIndex(1 paths)[s3a://apavlovets-bucket/raw/enrollments.csv], PartitionFilters: [], PushedFilters: [IsNotNull(user_id)], ReadSchema: struct","children":[],"metadata":{"Location":"InMemoryFileIndex(1 paths)[s3a://apavlovets-bucket/raw/enrollments.csv]","ReadSchema":"struct","Format":"CSV","Batched":"false","PartitionFilters":"[]","PushedFilters":"[IsNotNull(user_id)]","DataFilters":"[isnotnull(user_id#11L)]"},"metrics":[{"name":"number of output rows","accumulatorId":192,"metricType":"sum"},{"name":"number of files read","accumulatorId":193,"metricType":"sum"},{"name":"metadata time","accumulatorId":194,"metricType":"timing"},{"name":"size of files read","accumulatorId":195,"metricType":"size"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"number of output rows","accumulatorId":418,"metricType":"sum"}]}],"metadata":{},"metrics":[{"name":"spill size","accumulatorId":414,"metricType":"size"},{"name":"time in aggregation build","accumulatorId":415,"metricType":"timing"},{"name":"peak memory","accumulatorId":413,"metricType":"size"},{"name":"number of output rows","accumulatorId":412,"metricType":"sum"},{"name":"number of sort fallback tasks","accumulatorId":417,"metricType":"sum"},{"name":"avg hash probes per key","accumulatorId":416,"metricType":"average"}]}],"metadata":{},"metrics":[{"name":"duration","accumulatorId":411,"metricType":"timing"}]}],"metadata":{},"metrics":[{"name":"shuffle records written","accumulatorId":409,"metricType":"sum"},{"name":"local merged chunks fetched","accumulatorId":403,"metricType":"sum"},{"name":"shuffle write time","accumulatorId":410,"metricType":"nsTiming"},{"name":"remote merged bytes read","accumulatorId":404,"metricType":"size"},{"name":"local merged blocks fetched","accumulatorId":401,"metricType":"sum"},{"name":"corrupt merged block chunks","accumulatorId":398,"metricType":"sum"},{"name":"remote merged reqs duration","accumulatorId":407,"metricType":"timing"},{"name":"remote merged blocks fetched","accumulatorId":400,"metricType":"sum"},{"name":"records read","accumulatorId":397,"metricType":"sum"},{"name":"local bytes read","accumulatorId":395,"metricType":"size"},{"name":"fetch wait time","accumulatorId":396,"metricType":"timing"},{"name":"remote bytes read","accumulatorId":393,"metricType":"size"},{"name":"merged fetch fallback count","accumulatorId":399,"metricType":"sum"},{"name":"local blocks read","accumulatorId":392,"metricType":"sum"},{"name":"remote merged chunks fetched","accumulatorId":402,"metricType":"sum"},{"name":"remote blocks read","accumulatorId":391,"metricType":"sum"},{"name":"data size","accumulatorId":389,"metricType":"size"},{"name":"local merged bytes read","accumulatorId":405,"metricType":"size"},{"name":"number of partitions","accumulatorId":390,"metricType":"sum"},{"name":"remote reqs duration","accumulatorId":406,"metricType":"timing"},{"name":"remote bytes read to disk","accumulatorId":394,"metricType":"size"},{"name":"shuffle bytes written","accumulatorId":408,"metricType":"size"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"spill size","accumulatorId":385,"metricType":"size"},{"name":"time in aggregation build","accumulatorId":386,"metricType":"timing"},{"name":"peak memory","accumulatorId":384,"metricType":"size"},{"name":"number of output rows","accumulatorId":383,"metricType":"sum"},{"name":"number of sort fallback tasks","accumulatorId":388,"metricType":"sum"},{"name":"avg hash probes per key","accumulatorId":387,"metricType":"average"}]}],"metadata":{},"metrics":[{"name":"spill size","accumulatorId":379,"metricType":"size"},{"name":"time in aggregation build","accumulatorId":380,"metricType":"timing"},{"name":"peak memory","accumulatorId":378,"metricType":"size"},{"name":"number of output rows","accumulatorId":377,"metricType":"sum"},{"name":"number of sort fallback tasks","accumulatorId":382,"metricType":"sum"},{"name":"avg hash probes per key","accumulatorId":381,"metricType":"average"}]}],"metadata":{},"metrics":[{"name":"shuffle records written","accumulatorId":375,"metricType":"sum"},{"name":"local merged chunks fetched","accumulatorId":369,"metricType":"sum"},{"name":"shuffle write time","accumulatorId":376,"metricType":"nsTiming"},{"name":"remote merged bytes read","accumulatorId":370,"metricType":"size"},{"name":"local merged blocks fetched","accumulatorId":367,"metricType":"sum"},{"name":"corrupt merged block chunks","accumulatorId":364,"metricType":"sum"},{"name":"remote merged reqs duration","accumulatorId":373,"metricType":"timing"},{"name":"remote merged blocks fetched","accumulatorId":366,"metricType":"sum"},{"name":"records read","accumulatorId":363,"metricType":"sum"},{"name":"local bytes read","accumulatorId":361,"metricType":"size"},{"name":"fetch wait time","accumulatorId":362,"metricType":"timing"},{"name":"remote bytes read","accumulatorId":359,"metricType":"size"},{"name":"merged fetch fallback count","accumulatorId":365,"metricType":"sum"},{"name":"local blocks read","accumulatorId":358,"metricType":"sum"},{"name":"remote merged chunks fetched","accumulatorId":368,"metricType":"sum"},{"name":"remote blocks read","accumulatorId":357,"metricType":"sum"},{"name":"data size","accumulatorId":355,"metricType":"size"},{"name":"local merged bytes read","accumulatorId":371,"metricType":"size"},{"name":"number of partitions","accumulatorId":356,"metricType":"sum"},{"name":"remote reqs duration","accumulatorId":372,"metricType":"timing"},{"name":"remote bytes read to disk","accumulatorId":360,"metricType":"size"},{"name":"shuffle bytes written","accumulatorId":374,"metricType":"size"}]}],"metadata":{},"metrics":[{"name":"spill size","accumulatorId":351,"metricType":"size"},{"name":"time in aggregation build","accumulatorId":352,"metricType":"timing"},{"name":"peak memory","accumulatorId":350,"metricType":"size"},{"name":"number of output rows","accumulatorId":349,"metricType":"sum"},{"name":"number of sort fallback tasks","accumulatorId":354,"metricType":"sum"},{"name":"avg hash probes per key","accumulatorId":353,"metricType":"average"}]}],"metadata":{},"metrics":[{"name":"time to broadcast","accumulatorId":676,"metricType":"timing"},{"name":"time to build","accumulatorId":675,"metricType":"timing"},{"name":"time to collect","accumulatorId":674,"metricType":"timing"},{"name":"number of output rows","accumulatorId":673,"metricType":"sum"},{"name":"data size","accumulatorId":672,"metricType":"size"}]}],"metadata":{},"metrics":[{"name":"number of output rows","accumulatorId":666,"metricType":"sum"}]},{"nodeName":"BroadcastQueryStage","simpleString":"BroadcastQueryStage 3","children":[{"nodeName":"BroadcastExchange","simpleString":"BroadcastExchange HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=384]","children":[{"nodeName":"WholeStageCodegen (4)","simpleString":"WholeStageCodegen (4)","children":[{"nodeName":"HashAggregate","simpleString":"HashAggregate(keys=[user_id#19L], functions=[min(viewed_at#21)])","children":[{"nodeName":"InputAdapter","simpleString":"InputAdapter","children":[{"nodeName":"AQEShuffleRead","simpleString":"AQEShuffleRead coalesced","children":[{"nodeName":"ShuffleQueryStage","simpleString":"ShuffleQueryStage 2","children":[{"nodeName":"Exchange","simpleString":"Exchange hashpartitioning(user_id#19L, 200), ENSURE_REQUIREMENTS, [plan_id=246]","children":[{"nodeName":"WholeStageCodegen (3)","simpleString":"WholeStageCodegen (3)","children":[{"nodeName":"HashAggregate","simpleString":"HashAggregate(keys=[user_id#19L], functions=[partial_min(viewed_at#21)])","children":[{"nodeName":"Filter","simpleString":"Filter isnotnull(user_id#19L)","children":[{"nodeName":"InputAdapter","simpleString":"InputAdapter","children":[{"nodeName":"Scan csv ","simpleString":"FileScan csv [user_id#19L,viewed_at#21] Batched: false, DataFilters: [isnotnull(user_id#19L)], Format: CSV, Location: InMemoryFileIndex(1 paths)[s3a://apavlovets-bucket/raw/lesson_views.csv], PartitionFilters: [], PushedFilters: [IsNotNull(user_id)], ReadSchema: struct","children":[],"metadata":{"Location":"InMemoryFileIndex(1 paths)[s3a://apavlovets-bucket/raw/lesson_views.csv]","ReadSchema":"struct","Format":"CSV","Batched":"false","PartitionFilters":"[]","PushedFilters":"[IsNotNull(user_id)]","DataFilters":"[isnotnull(user_id#19L)]"},"metrics":[{"name":"number of output rows","accumulatorId":236,"metricType":"sum"},{"name":"number of files read","accumulatorId":237,"metricType":"sum"},{"name":"metadata time","accumulatorId":238,"metricType":"timing"},{"name":"size of files read","accumulatorId":239,"metricType":"size"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"number of output rows","accumulatorId":459,"metricType":"sum"}]}],"metadata":{},"metrics":[{"name":"spill size","accumulatorId":455,"metricType":"size"},{"name":"time in aggregation build","accumulatorId":456,"metricType":"timing"},{"name":"peak memory","accumulatorId":454,"metricType":"size"},{"name":"number of output rows","accumulatorId":453,"metricType":"sum"},{"name":"number of sort fallback tasks","accumulatorId":458,"metricType":"sum"},{"name":"avg hash probes per key","accumulatorId":457,"metricType":"average"}]}],"metadata":{},"metrics":[{"name":"duration","accumulatorId":452,"metricType":"timing"}]}],"metadata":{},"metrics":[{"name":"shuffle records written","accumulatorId":450,"metricType":"sum"},{"name":"local merged chunks fetched","accumulatorId":444,"metricType":"sum"},{"name":"shuffle write time","accumulatorId":451,"metricType":"nsTiming"},{"name":"remote merged bytes read","accumulatorId":445,"metricType":"size"},{"name":"local merged blocks fetched","accumulatorId":442,"metricType":"sum"},{"name":"corrupt merged block chunks","accumulatorId":439,"metricType":"sum"},{"name":"remote merged reqs duration","accumulatorId":448,"metricType":"timing"},{"name":"remote merged blocks fetched","accumulatorId":441,"metricType":"sum"},{"name":"records read","accumulatorId":438,"metricType":"sum"},{"name":"local bytes read","accumulatorId":436,"metricType":"size"},{"name":"fetch wait time","accumulatorId":437,"metricType":"timing"},{"name":"remote bytes read","accumulatorId":434,"metricType":"size"},{"name":"merged fetch fallback count","accumulatorId":440,"metricType":"sum"},{"name":"local blocks read","accumulatorId":433,"metricType":"sum"},{"name":"remote merged chunks fetched","accumulatorId":443,"metricType":"sum"},{"name":"remote blocks read","accumulatorId":432,"metricType":"sum"},{"name":"data size","accumulatorId":430,"metricType":"size"},{"name":"local merged bytes read","accumulatorId":446,"metricType":"size"},{"name":"number of partitions","accumulatorId":431,"metricType":"sum"},{"name":"remote reqs duration","accumulatorId":447,"metricType":"timing"},{"name":"remote bytes read to disk","accumulatorId":435,"metricType":"size"},{"name":"shuffle bytes written","accumulatorId":449,"metricType":"size"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"number of partitions","accumulatorId":689,"metricType":"sum"},{"name":"partition data size","accumulatorId":690,"metricType":"size"},{"name":"number of coalesced partitions","accumulatorId":691,"metricType":"sum"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"spill size","accumulatorId":685,"metricType":"size"},{"name":"time in aggregation build","accumulatorId":686,"metricType":"timing"},{"name":"peak memory","accumulatorId":684,"metricType":"size"},{"name":"number of output rows","accumulatorId":683,"metricType":"sum"},{"name":"number of sort fallback tasks","accumulatorId":688,"metricType":"sum"},{"name":"avg hash probes per key","accumulatorId":687,"metricType":"average"}]}],"metadata":{},"metrics":[{"name":"duration","accumulatorId":682,"metricType":"timing"}]}],"metadata":{},"metrics":[{"name":"time to broadcast","accumulatorId":681,"metricType":"timing"},{"name":"time to build","accumulatorId":680,"metricType":"timing"},{"name":"time to collect","accumulatorId":679,"metricType":"timing"},{"name":"number of output rows","accumulatorId":678,"metricType":"sum"},{"name":"data size","accumulatorId":677,"metricType":"size"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"number of output rows","accumulatorId":665,"metricType":"sum"}]}],"metadata":{},"metrics":[{"name":"number of output rows","accumulatorId":664,"metricType":"sum"}]}],"metadata":{},"metrics":[{"name":"spill size","accumulatorId":660,"metricType":"size"},{"name":"time in aggregation build","accumulatorId":661,"metricType":"timing"},{"name":"peak memory","accumulatorId":659,"metricType":"size"},{"name":"number of output rows","accumulatorId":658,"metricType":"sum"},{"name":"number of sort fallback tasks","accumulatorId":663,"metricType":"sum"},{"name":"avg hash probes per key","accumulatorId":662,"metricType":"average"}]}],"metadata":{},"metrics":[{"name":"shuffle records written","accumulatorId":656,"metricType":"sum"},{"name":"local merged chunks fetched","accumulatorId":650,"metricType":"sum"},{"name":"shuffle write time","accumulatorId":657,"metricType":"nsTiming"},{"name":"remote merged bytes read","accumulatorId":651,"metricType":"size"},{"name":"local merged blocks fetched","accumulatorId":648,"metricType":"sum"},{"name":"corrupt merged block chunks","accumulatorId":645,"metricType":"sum"},{"name":"remote merged reqs duration","accumulatorId":654,"metricType":"timing"},{"name":"remote merged blocks fetched","accumulatorId":647,"metricType":"sum"},{"name":"records read","accumulatorId":644,"metricType":"sum"},{"name":"local bytes read","accumulatorId":642,"metricType":"size"},{"name":"fetch wait time","accumulatorId":643,"metricType":"timing"},{"name":"remote bytes read","accumulatorId":640,"metricType":"size"},{"name":"merged fetch fallback count","accumulatorId":646,"metricType":"sum"},{"name":"local blocks read","accumulatorId":639,"metricType":"sum"},{"name":"remote merged chunks fetched","accumulatorId":649,"metricType":"sum"},{"name":"remote blocks read","accumulatorId":638,"metricType":"sum"},{"name":"data size","accumulatorId":636,"metricType":"size"},{"name":"local merged bytes read","accumulatorId":652,"metricType":"size"},{"name":"number of partitions","accumulatorId":637,"metricType":"sum"},{"name":"remote reqs duration","accumulatorId":653,"metricType":"timing"},{"name":"remote bytes read to disk","accumulatorId":641,"metricType":"size"},{"name":"shuffle bytes written","accumulatorId":655,"metricType":"size"}]}],"metadata":{},"metrics":[{"name":"spill size","accumulatorId":632,"metricType":"size"},{"name":"time in aggregation build","accumulatorId":633,"metricType":"timing"},{"name":"peak memory","accumulatorId":631,"metricType":"size"},{"name":"number of output rows","accumulatorId":630,"metricType":"sum"},{"name":"number of sort fallback tasks","accumulatorId":635,"metricType":"sum"},{"name":"avg hash probes per key","accumulatorId":634,"metricType":"average"}]}],"metadata":{},"metrics":[{"name":"spill size","accumulatorId":626,"metricType":"size"},{"name":"time in aggregation build","accumulatorId":627,"metricType":"timing"},{"name":"peak memory","accumulatorId":625,"metricType":"size"},{"name":"number of output rows","accumulatorId":624,"metricType":"sum"},{"name":"number of sort fallback tasks","accumulatorId":629,"metricType":"sum"},{"name":"avg hash probes per key","accumulatorId":628,"metricType":"average"}]}],"metadata":{},"metrics":[{"name":"shuffle records written","accumulatorId":622,"metricType":"sum"},{"name":"local merged chunks fetched","accumulatorId":616,"metricType":"sum"},{"name":"shuffle write time","accumulatorId":623,"metricType":"nsTiming"},{"name":"remote merged bytes read","accumulatorId":617,"metricType":"size"},{"name":"local merged blocks fetched","accumulatorId":614,"metricType":"sum"},{"name":"corrupt merged block chunks","accumulatorId":611,"metricType":"sum"},{"name":"remote merged reqs duration","accumulatorId":620,"metricType":"timing"},{"name":"remote merged blocks fetched","accumulatorId":613,"metricType":"sum"},{"name":"records read","accumulatorId":610,"metricType":"sum"},{"name":"local bytes read","accumulatorId":608,"metricType":"size"},{"name":"fetch wait time","accumulatorId":609,"metricType":"timing"},{"name":"remote bytes read","accumulatorId":606,"metricType":"size"},{"name":"merged fetch fallback count","accumulatorId":612,"metricType":"sum"},{"name":"local blocks read","accumulatorId":605,"metricType":"sum"},{"name":"remote merged chunks fetched","accumulatorId":615,"metricType":"sum"},{"name":"remote blocks read","accumulatorId":604,"metricType":"sum"},{"name":"data size","accumulatorId":602,"metricType":"size"},{"name":"local merged bytes read","accumulatorId":618,"metricType":"size"},{"name":"number of partitions","accumulatorId":603,"metricType":"sum"},{"name":"remote reqs duration","accumulatorId":619,"metricType":"timing"},{"name":"remote bytes read to disk","accumulatorId":607,"metricType":"size"},{"name":"shuffle bytes written","accumulatorId":621,"metricType":"size"}]}],"metadata":{},"metrics":[{"name":"spill size","accumulatorId":598,"metricType":"size"},{"name":"time in aggregation build","accumulatorId":599,"metricType":"timing"},{"name":"peak memory","accumulatorId":597,"metricType":"size"},{"name":"number of output rows","accumulatorId":596,"metricType":"sum"},{"name":"number of sort fallback tasks","accumulatorId":601,"metricType":"sum"},{"name":"avg hash probes per key","accumulatorId":600,"metricType":"average"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"shuffle records written","accumulatorId":594,"metricType":"sum"},{"name":"local merged chunks fetched","accumulatorId":588,"metricType":"sum"},{"name":"shuffle write time","accumulatorId":595,"metricType":"nsTiming"},{"name":"remote merged bytes read","accumulatorId":589,"metricType":"size"},{"name":"local merged blocks fetched","accumulatorId":586,"metricType":"sum"},{"name":"corrupt merged block chunks","accumulatorId":583,"metricType":"sum"},{"name":"remote merged reqs duration","accumulatorId":592,"metricType":"timing"},{"name":"remote merged blocks fetched","accumulatorId":585,"metricType":"sum"},{"name":"records read","accumulatorId":582,"metricType":"sum"},{"name":"local bytes read","accumulatorId":580,"metricType":"size"},{"name":"fetch wait time","accumulatorId":581,"metricType":"timing"},{"name":"remote bytes read","accumulatorId":578,"metricType":"size"},{"name":"merged fetch fallback count","accumulatorId":584,"metricType":"sum"},{"name":"local blocks read","accumulatorId":577,"metricType":"sum"},{"name":"remote merged chunks fetched","accumulatorId":587,"metricType":"sum"},{"name":"remote blocks read","accumulatorId":576,"metricType":"sum"},{"name":"data size","accumulatorId":574,"metricType":"size"},{"name":"local merged bytes read","accumulatorId":590,"metricType":"size"},{"name":"number of partitions","accumulatorId":575,"metricType":"sum"},{"name":"remote reqs duration","accumulatorId":591,"metricType":"timing"},{"name":"remote bytes read to disk","accumulatorId":579,"metricType":"size"},{"name":"shuffle bytes written","accumulatorId":593,"metricType":"size"}]}],"metadata":{},"metrics":[{"name":"sort time","accumulatorId":571,"metricType":"timing"},{"name":"peak memory","accumulatorId":572,"metricType":"size"},{"name":"spill size","accumulatorId":573,"metricType":"size"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"task commit time","accumulatorId":569,"metricType":"timing"},{"name":"number of written files","accumulatorId":565,"metricType":"sum"},{"name":"job commit time","accumulatorId":570,"metricType":"timing"},{"name":"number of output rows","accumulatorId":567,"metricType":"sum"},{"name":"number of dynamic part","accumulatorId":568,"metricType":"sum"},{"name":"written output","accumulatorId":566,"metricType":"size"}]}],"metadata":{},"metrics":[]}} {"Event":"org.apache.spark.sql.execution.ui.SparkListenerDriverAccumUpdates","executionId":0,"accumUpdates":[[689,1],[691,1],[690,726]]} {"Event":"org.apache.spark.sql.execution.ui.SparkListenerSQLAdaptiveExecutionUpdate","executionId":0,"physicalPlanDescription":"== Physical Plan ==\nAdaptiveSparkPlan (77)\n+- == Current Plan ==\n Execute InsertIntoHadoopFsRelationCommand (43)\n +- WriteFiles (42)\n +- Sort (41)\n +- Exchange (40)\n +- Project (39)\n +- HashAggregate (38)\n +- Exchange (37)\n +- HashAggregate (36)\n +- HashAggregate (35)\n +- Exchange (34)\n +- HashAggregate (33)\n +- Expand (32)\n +- BroadcastHashJoin LeftOuter BuildRight (31)\n :- BroadcastHashJoin LeftOuter BuildRight (21)\n : :- Project (8)\n : : +- BroadcastHashJoin LeftOuter BuildRight (7)\n : : :- Project (2)\n : : : +- Scan csv (1)\n : : +- BroadcastQueryStage (6), Statistics(sizeInBytes=1024.2 KiB, rowCount=20)\n : : +- BroadcastExchange (5)\n : : +- * Filter (4)\n : : +- Scan csv (3)\n : +- BroadcastExchange (20)\n : +- HashAggregate (19)\n : +- ShuffleQueryStage (18)\n : +- Exchange (17)\n : +- * HashAggregate (16)\n : +- * HashAggregate (15)\n : +- AQEShuffleRead (14)\n : +- ShuffleQueryStage (13), Statistics(sizeInBytes=1080.0 B, rowCount=45)\n : +- Exchange (12)\n : +- * HashAggregate (11)\n : +- * Filter (10)\n : +- Scan csv (9)\n +- BroadcastQueryStage (30)\n +- BroadcastExchange (29)\n +- * HashAggregate (28)\n +- AQEShuffleRead (27)\n +- ShuffleQueryStage (26), Statistics(sizeInBytes=264.0 B, rowCount=11)\n +- Exchange (25)\n +- * HashAggregate (24)\n +- * Filter (23)\n +- Scan csv (22)\n+- == Initial Plan ==\n Execute InsertIntoHadoopFsRelationCommand (76)\n +- WriteFiles (75)\n +- Sort (74)\n +- Exchange (73)\n +- Project (72)\n +- HashAggregate (71)\n +- Exchange (70)\n +- HashAggregate (69)\n +- HashAggregate (68)\n +- Exchange (67)\n +- HashAggregate (66)\n +- Expand (65)\n +- BroadcastHashJoin LeftOuter BuildRight (64)\n :- BroadcastHashJoin LeftOuter BuildRight (58)\n : :- Project (49)\n : : +- BroadcastHashJoin LeftOuter BuildRight (48)\n : : :- Project (45)\n : : : +- Scan csv (44)\n : : +- BroadcastExchange (47)\n : : +- Filter (46)\n : : +- Scan csv (3)\n : +- BroadcastExchange (57)\n : +- HashAggregate (56)\n : +- Exchange (55)\n : +- HashAggregate (54)\n : +- HashAggregate (53)\n : +- Exchange (52)\n : +- HashAggregate (51)\n : +- Filter (50)\n : +- Scan csv (9)\n +- BroadcastExchange (63)\n +- HashAggregate (62)\n +- Exchange (61)\n +- HashAggregate (60)\n +- Filter (59)\n +- Scan csv (22)\n\n\n(1) Scan csv \nOutput [2]: [id#0L, registration_date#4]\nBatched: false\nLocation: InMemoryFileIndex [s3a://apavlovets-bucket/raw/users.csv]\nReadSchema: struct\n\n(2) Project\nOutput [2]: [id#0L AS user_id#26L, date_trunc(month, registration_date#4, Some(Europe/Samara)) AS cohort_month_ts#27]\nInput [2]: [id#0L, registration_date#4]\n\n(3) Scan csv \nOutput [2]: [id#53L, registration_date#57]\nBatched: false\nLocation: InMemoryFileIndex [s3a://apavlovets-bucket/raw/users.csv]\nPushedFilters: [IsNotNull(id)]\nReadSchema: struct\n\n(4) Filter [codegen id : 1]\nInput [2]: [id#53L, registration_date#57]\nCondition : isnotnull(id#53L)\n\n(5) BroadcastExchange\nInput [2]: [id#53L, registration_date#57]\nArguments: HashedRelationBroadcastMode(List(input[0, bigint, false]),false), [plan_id=213]\n\n(6) BroadcastQueryStage\nOutput [2]: [id#53L, registration_date#57]\nArguments: 0\n\n(7) BroadcastHashJoin\nLeft keys [1]: [user_id#26L]\nRight keys [1]: [id#53L]\nJoin type: LeftOuter\nJoin condition: None\n\n(8) Project\nOutput [3]: [user_id#26L, cohort_month_ts#27, registration_date#57]\nInput [4]: [user_id#26L, cohort_month_ts#27, id#53L, registration_date#57]\n\n(9) Scan csv \nOutput [2]: [user_id#11L, course_id#12L]\nBatched: false\nLocation: InMemoryFileIndex [s3a://apavlovets-bucket/raw/enrollments.csv]\nPushedFilters: [IsNotNull(user_id)]\nReadSchema: struct\n\n(10) Filter [codegen id : 2]\nInput [2]: [user_id#11L, course_id#12L]\nCondition : isnotnull(user_id#11L)\n\n(11) HashAggregate [codegen id : 2]\nInput [2]: [user_id#11L, course_id#12L]\nKeys [2]: [user_id#11L, course_id#12L]\nFunctions: []\nAggregate Attributes: []\nResults [2]: [user_id#11L, course_id#12L]\n\n(12) Exchange\nInput [2]: [user_id#11L, course_id#12L]\nArguments: hashpartitioning(user_id#11L, course_id#12L, 200), ENSURE_REQUIREMENTS, [plan_id=226]\n\n(13) ShuffleQueryStage\nOutput [2]: [user_id#11L, course_id#12L]\nArguments: 1\n\n(14) AQEShuffleRead\nInput [2]: [user_id#11L, course_id#12L]\nArguments: coalesced\n\n(15) HashAggregate [codegen id : 5]\nInput [2]: [user_id#11L, course_id#12L]\nKeys [2]: [user_id#11L, course_id#12L]\nFunctions: []\nAggregate Attributes: []\nResults [2]: [user_id#11L, course_id#12L]\n\n(16) HashAggregate [codegen id : 5]\nInput [2]: [user_id#11L, course_id#12L]\nKeys [1]: [user_id#11L]\nFunctions [1]: [partial_count(distinct course_id#12L)]\nAggregate Attributes [1]: [count(course_id#12L)#36L]\nResults [2]: [user_id#11L, count#203L]\n\n(17) Exchange\nInput [2]: [user_id#11L, count#203L]\nArguments: hashpartitioning(user_id#11L, 200), ENSURE_REQUIREMENTS, [plan_id=507]\n\n(18) ShuffleQueryStage\nOutput [2]: [user_id#11L, count#203L]\nArguments: 4\n\n(19) HashAggregate\nInput [2]: [user_id#11L, count#203L]\nKeys [1]: [user_id#11L]\nFunctions [1]: [count(distinct course_id#12L)]\nAggregate Attributes [1]: [count(course_id#12L)#36L]\nResults [2]: [user_id#11L, count(course_id#12L)#36L AS courses_count#35L]\n\n(20) BroadcastExchange\nInput [2]: [user_id#11L, courses_count#35L]\nArguments: HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=519]\n\n(21) BroadcastHashJoin\nLeft keys [1]: [user_id#26L]\nRight keys [1]: [user_id#11L]\nJoin type: LeftOuter\nJoin condition: None\n\n(22) Scan csv \nOutput [2]: [user_id#19L, viewed_at#21]\nBatched: false\nLocation: InMemoryFileIndex [s3a://apavlovets-bucket/raw/lesson_views.csv]\nPushedFilters: [IsNotNull(user_id)]\nReadSchema: struct\n\n(23) Filter [codegen id : 3]\nInput [2]: [user_id#19L, viewed_at#21]\nCondition : isnotnull(user_id#19L)\n\n(24) HashAggregate [codegen id : 3]\nInput [2]: [user_id#19L, viewed_at#21]\nKeys [1]: [user_id#19L]\nFunctions [1]: [partial_min(viewed_at#21)]\nAggregate Attributes [1]: [min#205]\nResults [2]: [user_id#19L, min#206]\n\n(25) Exchange\nInput [2]: [user_id#19L, min#206]\nArguments: hashpartitioning(user_id#19L, 200), ENSURE_REQUIREMENTS, [plan_id=246]\n\n(26) ShuffleQueryStage\nOutput [2]: [user_id#19L, min#206]\nArguments: 2\n\n(27) AQEShuffleRead\nInput [2]: [user_id#19L, min#206]\nArguments: coalesced\n\n(28) HashAggregate [codegen id : 4]\nInput [2]: [user_id#19L, min#206]\nKeys [1]: [user_id#19L]\nFunctions [1]: [min(viewed_at#21)]\nAggregate Attributes [1]: [min(viewed_at#21)#46]\nResults [2]: [user_id#19L, min(viewed_at#21)#46 AS first_viewed_at#47]\n\n(29) BroadcastExchange\nInput [2]: [user_id#19L, first_viewed_at#47]\nArguments: HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=384]\n\n(30) BroadcastQueryStage\nOutput [2]: [user_id#19L, first_viewed_at#47]\nArguments: 3\n\n(31) BroadcastHashJoin\nLeft keys [1]: [user_id#26L]\nRight keys [1]: [user_id#19L]\nJoin type: LeftOuter\nJoin condition: None\n\n(32) Expand\nInput [7]: [user_id#26L, cohort_month_ts#27, registration_date#57, user_id#11L, courses_count#35L, user_id#19L, first_viewed_at#47]\nArguments: [[cohort_month_ts#27, null, null, null, 0, courses_count#35L, datediff(cast(first_viewed_at#47 as date), cast(registration_date#57 as date))], [cohort_month_ts#27, user_id#26L, null, null, 1, null, null], [cohort_month_ts#27, null, user_id#11L, null, 2, null, null], [cohort_month_ts#27, null, null, user_id#19L, 3, null, null]], [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, ue.courses_count#173L, datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174]\n\n(33) HashAggregate\nInput [7]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, ue.courses_count#173L, datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174]\nKeys [5]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169]\nFunctions [2]: [partial_avg(ue.courses_count#173L), partial_avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174)]\nAggregate Attributes [4]: [sum#193, count#194L, sum#195, count#196L]\nResults [9]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, sum#197, count#198L, sum#199, count#200L]\n\n(34) Exchange\nInput [9]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, sum#197, count#198L, sum#199, count#200L]\nArguments: hashpartitioning(cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, 200), ENSURE_REQUIREMENTS, [plan_id=524]\n\n(35) HashAggregate\nInput [9]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, sum#197, count#198L, sum#199, count#200L]\nKeys [5]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169]\nFunctions [2]: [avg(ue.courses_count#173L), avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174)]\nAggregate Attributes [2]: [avg(ue.courses_count#173L)#127, avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174)#129]\nResults [7]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, avg(ue.courses_count#173L)#127 AS avg(ue.courses_count)#175, avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174)#129 AS avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177]\n\n(36) HashAggregate\nInput [7]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, avg(ue.courses_count)#175, avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177]\nKeys [1]: [cohort_month_ts#27]\nFunctions [5]: [partial_count(c.user_id#170L) FILTER (WHERE (gid#169 = 1)), partial_count(ue.user_id#171L) FILTER (WHERE (gid#169 = 2)), partial_count(ufv.user_id#172L) FILTER (WHERE (gid#169 = 3)), partial_first(avg(ue.courses_count)#175, true) FILTER (WHERE (gid#169 = 0)), partial_first(avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177, true) FILTER (WHERE (gid#169 = 0))]\nAggregate Attributes [7]: [count#179L, count#180L, count#181L, first#182, valueSet#183, first#184, valueSet#185]\nResults [8]: [cohort_month_ts#27, count#186L, count#187L, count#188L, first#189, valueSet#190, first#191, valueSet#192]\n\n(37) Exchange\nInput [8]: [cohort_month_ts#27, count#186L, count#187L, count#188L, first#189, valueSet#190, first#191, valueSet#192]\nArguments: hashpartitioning(cohort_month_ts#27, 200), ENSURE_REQUIREMENTS, [plan_id=527]\n\n(38) HashAggregate\nInput [8]: [cohort_month_ts#27, count#186L, count#187L, count#188L, first#189, valueSet#190, first#191, valueSet#192]\nKeys [1]: [cohort_month_ts#27]\nFunctions [5]: [count(c.user_id#170L), count(ue.user_id#171L), count(ufv.user_id#172L), first(avg(ue.courses_count)#175, true), first(avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177, true)]\nAggregate Attributes [5]: [count(c.user_id#170L)#131L, count(ue.user_id#171L)#132L, count(ufv.user_id#172L)#133L, first(avg(ue.courses_count)#175) ignore nulls#176, first(avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177) ignore nulls#178]\nResults [6]: [cohort_month_ts#27, count(c.user_id#170L)#131L AS users_in_cohort#124L, count(ue.user_id#171L)#132L AS enrolled_users#125L, count(ufv.user_id#172L)#133L AS active_users#126L, round(first(avg(ue.courses_count)#175) ignore nulls#176, 2) AS avg_courses_per_user#128, round(first(avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177) ignore nulls#178, 2) AS avg_time_to_first_view#130]\n\n(39) Project\nOutput [7]: [date_format(cohort_month_ts#27, yyyy-MM, Some(Europe/Samara)) AS cohort_month#154, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130, CASE WHEN NOT (users_in_cohort#124L = 0) THEN round(((cast(active_users#126L as double) * 100.0) / cast(users_in_cohort#124L as double)), 2) END AS retention_rate#146]\nInput [6]: [cohort_month_ts#27, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130]\n\n(40) Exchange\nInput [7]: [cohort_month#154, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130, retention_rate#146]\nArguments: rangepartitioning(cohort_month#154 ASC NULLS FIRST, 200), ENSURE_REQUIREMENTS, [plan_id=530]\n\n(41) Sort\nInput [7]: [cohort_month#154, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130, retention_rate#146]\nArguments: [cohort_month#154 ASC NULLS FIRST], true, 0\n\n(42) WriteFiles\nInput [7]: [cohort_month#154, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130, retention_rate#146]\n\n(43) Execute InsertIntoHadoopFsRelationCommand\nInput: []\nArguments: s3a://apavlovets-bucket/marts/user_cohort_analysis.parquet, false, Parquet, [path=s3a://apavlovets-bucket/marts/user_cohort_analysis.parquet], Overwrite, [cohort_month, users_in_cohort, enrolled_users, active_users, avg_courses_per_user, avg_time_to_first_view, retention_rate]\n\n(44) Scan csv \nOutput [2]: [id#0L, registration_date#4]\nBatched: false\nLocation: InMemoryFileIndex [s3a://apavlovets-bucket/raw/users.csv]\nReadSchema: struct\n\n(45) Project\nOutput [2]: [id#0L AS user_id#26L, date_trunc(month, registration_date#4, Some(Europe/Samara)) AS cohort_month_ts#27]\nInput [2]: [id#0L, registration_date#4]\n\n(46) Filter\nInput [2]: [id#53L, registration_date#57]\nCondition : isnotnull(id#53L)\n\n(47) BroadcastExchange\nInput [2]: [id#53L, registration_date#57]\nArguments: HashedRelationBroadcastMode(List(input[0, bigint, false]),false), [plan_id=119]\n\n(48) BroadcastHashJoin\nLeft keys [1]: [user_id#26L]\nRight keys [1]: [id#53L]\nJoin type: LeftOuter\nJoin condition: None\n\n(49) Project\nOutput [3]: [user_id#26L, cohort_month_ts#27, registration_date#57]\nInput [4]: [user_id#26L, cohort_month_ts#27, id#53L, registration_date#57]\n\n(50) Filter\nInput [2]: [user_id#11L, course_id#12L]\nCondition : isnotnull(user_id#11L)\n\n(51) HashAggregate\nInput [2]: [user_id#11L, course_id#12L]\nKeys [2]: [user_id#11L, course_id#12L]\nFunctions: []\nAggregate Attributes: []\nResults [2]: [user_id#11L, course_id#12L]\n\n(52) Exchange\nInput [2]: [user_id#11L, course_id#12L]\nArguments: hashpartitioning(user_id#11L, course_id#12L, 200), ENSURE_REQUIREMENTS, [plan_id=122]\n\n(53) HashAggregate\nInput [2]: [user_id#11L, course_id#12L]\nKeys [2]: [user_id#11L, course_id#12L]\nFunctions: []\nAggregate Attributes: []\nResults [2]: [user_id#11L, course_id#12L]\n\n(54) HashAggregate\nInput [2]: [user_id#11L, course_id#12L]\nKeys [1]: [user_id#11L]\nFunctions [1]: [partial_count(distinct course_id#12L)]\nAggregate Attributes [1]: [count(course_id#12L)#36L]\nResults [2]: [user_id#11L, count#203L]\n\n(55) Exchange\nInput [2]: [user_id#11L, count#203L]\nArguments: hashpartitioning(user_id#11L, 200), ENSURE_REQUIREMENTS, [plan_id=126]\n\n(56) HashAggregate\nInput [2]: [user_id#11L, count#203L]\nKeys [1]: [user_id#11L]\nFunctions [1]: [count(distinct course_id#12L)]\nAggregate Attributes [1]: [count(course_id#12L)#36L]\nResults [2]: [user_id#11L, count(course_id#12L)#36L AS courses_count#35L]\n\n(57) BroadcastExchange\nInput [2]: [user_id#11L, courses_count#35L]\nArguments: HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=129]\n\n(58) BroadcastHashJoin\nLeft keys [1]: [user_id#26L]\nRight keys [1]: [user_id#11L]\nJoin type: LeftOuter\nJoin condition: None\n\n(59) Filter\nInput [2]: [user_id#19L, viewed_at#21]\nCondition : isnotnull(user_id#19L)\n\n(60) HashAggregate\nInput [2]: [user_id#19L, viewed_at#21]\nKeys [1]: [user_id#19L]\nFunctions [1]: [partial_min(viewed_at#21)]\nAggregate Attributes [1]: [min#205]\nResults [2]: [user_id#19L, min#206]\n\n(61) Exchange\nInput [2]: [user_id#19L, min#206]\nArguments: hashpartitioning(user_id#19L, 200), ENSURE_REQUIREMENTS, [plan_id=131]\n\n(62) HashAggregate\nInput [2]: [user_id#19L, min#206]\nKeys [1]: [user_id#19L]\nFunctions [1]: [min(viewed_at#21)]\nAggregate Attributes [1]: [min(viewed_at#21)#46]\nResults [2]: [user_id#19L, min(viewed_at#21)#46 AS first_viewed_at#47]\n\n(63) BroadcastExchange\nInput [2]: [user_id#19L, first_viewed_at#47]\nArguments: HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=134]\n\n(64) BroadcastHashJoin\nLeft keys [1]: [user_id#26L]\nRight keys [1]: [user_id#19L]\nJoin type: LeftOuter\nJoin condition: None\n\n(65) Expand\nInput [7]: [user_id#26L, cohort_month_ts#27, registration_date#57, user_id#11L, courses_count#35L, user_id#19L, first_viewed_at#47]\nArguments: [[cohort_month_ts#27, null, null, null, 0, courses_count#35L, datediff(cast(first_viewed_at#47 as date), cast(registration_date#57 as date))], [cohort_month_ts#27, user_id#26L, null, null, 1, null, null], [cohort_month_ts#27, null, user_id#11L, null, 2, null, null], [cohort_month_ts#27, null, null, user_id#19L, 3, null, null]], [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, ue.courses_count#173L, datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174]\n\n(66) HashAggregate\nInput [7]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, ue.courses_count#173L, datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174]\nKeys [5]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169]\nFunctions [2]: [partial_avg(ue.courses_count#173L), partial_avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174)]\nAggregate Attributes [4]: [sum#193, count#194L, sum#195, count#196L]\nResults [9]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, sum#197, count#198L, sum#199, count#200L]\n\n(67) Exchange\nInput [9]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, sum#197, count#198L, sum#199, count#200L]\nArguments: hashpartitioning(cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, 200), ENSURE_REQUIREMENTS, [plan_id=139]\n\n(68) HashAggregate\nInput [9]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, sum#197, count#198L, sum#199, count#200L]\nKeys [5]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169]\nFunctions [2]: [avg(ue.courses_count#173L), avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174)]\nAggregate Attributes [2]: [avg(ue.courses_count#173L)#127, avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174)#129]\nResults [7]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, avg(ue.courses_count#173L)#127 AS avg(ue.courses_count)#175, avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174)#129 AS avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177]\n\n(69) HashAggregate\nInput [7]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, avg(ue.courses_count)#175, avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177]\nKeys [1]: [cohort_month_ts#27]\nFunctions [5]: [partial_count(c.user_id#170L) FILTER (WHERE (gid#169 = 1)), partial_count(ue.user_id#171L) FILTER (WHERE (gid#169 = 2)), partial_count(ufv.user_id#172L) FILTER (WHERE (gid#169 = 3)), partial_first(avg(ue.courses_count)#175, true) FILTER (WHERE (gid#169 = 0)), partial_first(avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177, true) FILTER (WHERE (gid#169 = 0))]\nAggregate Attributes [7]: [count#179L, count#180L, count#181L, first#182, valueSet#183, first#184, valueSet#185]\nResults [8]: [cohort_month_ts#27, count#186L, count#187L, count#188L, first#189, valueSet#190, first#191, valueSet#192]\n\n(70) Exchange\nInput [8]: [cohort_month_ts#27, count#186L, count#187L, count#188L, first#189, valueSet#190, first#191, valueSet#192]\nArguments: hashpartitioning(cohort_month_ts#27, 200), ENSURE_REQUIREMENTS, [plan_id=143]\n\n(71) HashAggregate\nInput [8]: [cohort_month_ts#27, count#186L, count#187L, count#188L, first#189, valueSet#190, first#191, valueSet#192]\nKeys [1]: [cohort_month_ts#27]\nFunctions [5]: [count(c.user_id#170L), count(ue.user_id#171L), count(ufv.user_id#172L), first(avg(ue.courses_count)#175, true), first(avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177, true)]\nAggregate Attributes [5]: [count(c.user_id#170L)#131L, count(ue.user_id#171L)#132L, count(ufv.user_id#172L)#133L, first(avg(ue.courses_count)#175) ignore nulls#176, first(avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177) ignore nulls#178]\nResults [6]: [cohort_month_ts#27, count(c.user_id#170L)#131L AS users_in_cohort#124L, count(ue.user_id#171L)#132L AS enrolled_users#125L, count(ufv.user_id#172L)#133L AS active_users#126L, round(first(avg(ue.courses_count)#175) ignore nulls#176, 2) AS avg_courses_per_user#128, round(first(avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177) ignore nulls#178, 2) AS avg_time_to_first_view#130]\n\n(72) Project\nOutput [7]: [date_format(cohort_month_ts#27, yyyy-MM, Some(Europe/Samara)) AS cohort_month#154, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130, CASE WHEN NOT (users_in_cohort#124L = 0) THEN round(((cast(active_users#126L as double) * 100.0) / cast(users_in_cohort#124L as double)), 2) END AS retention_rate#146]\nInput [6]: [cohort_month_ts#27, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130]\n\n(73) Exchange\nInput [7]: [cohort_month#154, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130, retention_rate#146]\nArguments: rangepartitioning(cohort_month#154 ASC NULLS FIRST, 200), ENSURE_REQUIREMENTS, [plan_id=147]\n\n(74) Sort\nInput [7]: [cohort_month#154, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130, retention_rate#146]\nArguments: [cohort_month#154 ASC NULLS FIRST], true, 0\n\n(75) WriteFiles\nInput [7]: [cohort_month#154, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130, retention_rate#146]\n\n(76) Execute InsertIntoHadoopFsRelationCommand\nInput: []\nArguments: s3a://apavlovets-bucket/marts/user_cohort_analysis.parquet, false, Parquet, [path=s3a://apavlovets-bucket/marts/user_cohort_analysis.parquet], Overwrite, [cohort_month, users_in_cohort, enrolled_users, active_users, avg_courses_per_user, avg_time_to_first_view, retention_rate]\n\n(77) AdaptiveSparkPlan\nOutput: []\nArguments: isFinalPlan=false\n\n","sparkPlanInfo":{"nodeName":"AdaptiveSparkPlan","simpleString":"AdaptiveSparkPlan isFinalPlan=false","children":[{"nodeName":"Execute InsertIntoHadoopFsRelationCommand","simpleString":"Execute InsertIntoHadoopFsRelationCommand s3a://apavlovets-bucket/marts/user_cohort_analysis.parquet, false, Parquet, [path=s3a://apavlovets-bucket/marts/user_cohort_analysis.parquet], Overwrite, [cohort_month, users_in_cohort, enrolled_users, active_users, avg_courses_per_user, avg_time_to_first_view, retention_rate]","children":[{"nodeName":"WriteFiles","simpleString":"WriteFiles","children":[{"nodeName":"Sort","simpleString":"Sort [cohort_month#154 ASC NULLS FIRST], true, 0","children":[{"nodeName":"Exchange","simpleString":"Exchange rangepartitioning(cohort_month#154 ASC NULLS FIRST, 200), ENSURE_REQUIREMENTS, [plan_id=530]","children":[{"nodeName":"Project","simpleString":"Project [date_format(cohort_month_ts#27, yyyy-MM, Some(Europe/Samara)) AS cohort_month#154, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130, CASE WHEN NOT (users_in_cohort#124L = 0) THEN round(((cast(active_users#126L as double) * 100.0) / cast(users_in_cohort#124L as double)), 2) END AS retention_rate#146]","children":[{"nodeName":"HashAggregate","simpleString":"HashAggregate(keys=[cohort_month_ts#27], functions=[count(c.user_id#170L), count(ue.user_id#171L), count(ufv.user_id#172L), first(avg(ue.courses_count)#175, true), first(avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177, true)])","children":[{"nodeName":"Exchange","simpleString":"Exchange hashpartitioning(cohort_month_ts#27, 200), ENSURE_REQUIREMENTS, [plan_id=527]","children":[{"nodeName":"HashAggregate","simpleString":"HashAggregate(keys=[cohort_month_ts#27], functions=[partial_count(c.user_id#170L) FILTER (WHERE (gid#169 = 1)), partial_count(ue.user_id#171L) FILTER (WHERE (gid#169 = 2)), partial_count(ufv.user_id#172L) FILTER (WHERE (gid#169 = 3)), partial_first(avg(ue.courses_count)#175, true) FILTER (WHERE (gid#169 = 0)), partial_first(avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177, true) FILTER (WHERE (gid#169 = 0))])","children":[{"nodeName":"HashAggregate","simpleString":"HashAggregate(keys=[cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169], functions=[avg(ue.courses_count#173L), avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174)])","children":[{"nodeName":"Exchange","simpleString":"Exchange hashpartitioning(cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, 200), ENSURE_REQUIREMENTS, [plan_id=524]","children":[{"nodeName":"HashAggregate","simpleString":"HashAggregate(keys=[cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169], functions=[partial_avg(ue.courses_count#173L), partial_avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174)])","children":[{"nodeName":"Expand","simpleString":"Expand [[cohort_month_ts#27, null, null, null, 0, courses_count#35L, datediff(cast(first_viewed_at#47 as date), cast(registration_date#57 as date))], [cohort_month_ts#27, user_id#26L, null, null, 1, null, null], [cohort_month_ts#27, null, user_id#11L, null, 2, null, null], [cohort_month_ts#27, null, null, user_id#19L, 3, null, null]], [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, ue.courses_count#173L, datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174]","children":[{"nodeName":"BroadcastHashJoin","simpleString":"BroadcastHashJoin [user_id#26L], [user_id#19L], LeftOuter, BuildRight, false","children":[{"nodeName":"BroadcastHashJoin","simpleString":"BroadcastHashJoin [user_id#26L], [user_id#11L], LeftOuter, BuildRight, false","children":[{"nodeName":"Project","simpleString":"Project [user_id#26L, cohort_month_ts#27, registration_date#57]","children":[{"nodeName":"BroadcastHashJoin","simpleString":"BroadcastHashJoin [user_id#26L], [id#53L], LeftOuter, BuildRight, false","children":[{"nodeName":"Project","simpleString":"Project [id#0L AS user_id#26L, date_trunc(month, registration_date#4, Some(Europe/Samara)) AS cohort_month_ts#27]","children":[{"nodeName":"Scan csv ","simpleString":"FileScan csv [id#0L,registration_date#4] Batched: false, DataFilters: [], Format: CSV, Location: InMemoryFileIndex(1 paths)[s3a://apavlovets-bucket/raw/users.csv], PartitionFilters: [], PushedFilters: [], ReadSchema: struct","children":[],"metadata":{"Location":"InMemoryFileIndex(1 paths)[s3a://apavlovets-bucket/raw/users.csv]","ReadSchema":"struct","Format":"CSV","Batched":"false","PartitionFilters":"[]","PushedFilters":"[]","DataFilters":"[]"},"metrics":[{"name":"number of output rows","accumulatorId":795,"metricType":"sum"},{"name":"number of files read","accumulatorId":796,"metricType":"sum"},{"name":"metadata time","accumulatorId":797,"metricType":"timing"},{"name":"size of files read","accumulatorId":798,"metricType":"size"}]}],"metadata":{},"metrics":[]},{"nodeName":"BroadcastQueryStage","simpleString":"BroadcastQueryStage 0","children":[{"nodeName":"BroadcastExchange","simpleString":"BroadcastExchange HashedRelationBroadcastMode(List(input[0, bigint, false]),false), [plan_id=213]","children":[{"nodeName":"WholeStageCodegen (1)","simpleString":"WholeStageCodegen (1)","children":[{"nodeName":"Filter","simpleString":"Filter isnotnull(id#53L)","children":[{"nodeName":"InputAdapter","simpleString":"InputAdapter","children":[{"nodeName":"Scan csv ","simpleString":"FileScan csv [id#53L,registration_date#57] Batched: false, DataFilters: [isnotnull(id#53L)], Format: CSV, Location: InMemoryFileIndex(1 paths)[s3a://apavlovets-bucket/raw/users.csv], PartitionFilters: [], PushedFilters: [IsNotNull(id)], ReadSchema: struct","children":[],"metadata":{"Location":"InMemoryFileIndex(1 paths)[s3a://apavlovets-bucket/raw/users.csv]","ReadSchema":"struct","Format":"CSV","Batched":"false","PartitionFilters":"[]","PushedFilters":"[IsNotNull(id)]","DataFilters":"[isnotnull(id#53L)]"},"metrics":[{"name":"number of output rows","accumulatorId":114,"metricType":"sum"},{"name":"number of files read","accumulatorId":115,"metricType":"sum"},{"name":"metadata time","accumulatorId":116,"metricType":"timing"},{"name":"size of files read","accumulatorId":117,"metricType":"size"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"number of output rows","accumulatorId":343,"metricType":"sum"}]}],"metadata":{},"metrics":[{"name":"duration","accumulatorId":342,"metricType":"timing"}]}],"metadata":{},"metrics":[{"name":"time to broadcast","accumulatorId":341,"metricType":"timing"},{"name":"time to build","accumulatorId":340,"metricType":"timing"},{"name":"time to collect","accumulatorId":339,"metricType":"timing"},{"name":"number of output rows","accumulatorId":338,"metricType":"sum"},{"name":"data size","accumulatorId":337,"metricType":"size"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"number of output rows","accumulatorId":794,"metricType":"sum"}]}],"metadata":{},"metrics":[]},{"nodeName":"BroadcastExchange","simpleString":"BroadcastExchange HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=519]","children":[{"nodeName":"HashAggregate","simpleString":"HashAggregate(keys=[user_id#11L], functions=[count(distinct course_id#12L)])","children":[{"nodeName":"ShuffleQueryStage","simpleString":"ShuffleQueryStage 4","children":[{"nodeName":"Exchange","simpleString":"Exchange hashpartitioning(user_id#11L, 200), ENSURE_REQUIREMENTS, [plan_id=507]","children":[{"nodeName":"WholeStageCodegen (5)","simpleString":"WholeStageCodegen (5)","children":[{"nodeName":"HashAggregate","simpleString":"HashAggregate(keys=[user_id#11L], functions=[partial_count(distinct course_id#12L)])","children":[{"nodeName":"HashAggregate","simpleString":"HashAggregate(keys=[user_id#11L, course_id#12L], functions=[])","children":[{"nodeName":"InputAdapter","simpleString":"InputAdapter","children":[{"nodeName":"AQEShuffleRead","simpleString":"AQEShuffleRead coalesced","children":[{"nodeName":"ShuffleQueryStage","simpleString":"ShuffleQueryStage 1","children":[{"nodeName":"Exchange","simpleString":"Exchange hashpartitioning(user_id#11L, course_id#12L, 200), ENSURE_REQUIREMENTS, [plan_id=226]","children":[{"nodeName":"WholeStageCodegen (2)","simpleString":"WholeStageCodegen (2)","children":[{"nodeName":"HashAggregate","simpleString":"HashAggregate(keys=[user_id#11L, course_id#12L], functions=[])","children":[{"nodeName":"Filter","simpleString":"Filter isnotnull(user_id#11L)","children":[{"nodeName":"InputAdapter","simpleString":"InputAdapter","children":[{"nodeName":"Scan csv ","simpleString":"FileScan csv [user_id#11L,course_id#12L] Batched: false, DataFilters: [isnotnull(user_id#11L)], Format: CSV, Location: InMemoryFileIndex(1 paths)[s3a://apavlovets-bucket/raw/enrollments.csv], PartitionFilters: [], PushedFilters: [IsNotNull(user_id)], ReadSchema: struct","children":[],"metadata":{"Location":"InMemoryFileIndex(1 paths)[s3a://apavlovets-bucket/raw/enrollments.csv]","ReadSchema":"struct","Format":"CSV","Batched":"false","PartitionFilters":"[]","PushedFilters":"[IsNotNull(user_id)]","DataFilters":"[isnotnull(user_id#11L)]"},"metrics":[{"name":"number of output rows","accumulatorId":192,"metricType":"sum"},{"name":"number of files read","accumulatorId":193,"metricType":"sum"},{"name":"metadata time","accumulatorId":194,"metricType":"timing"},{"name":"size of files read","accumulatorId":195,"metricType":"size"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"number of output rows","accumulatorId":418,"metricType":"sum"}]}],"metadata":{},"metrics":[{"name":"spill size","accumulatorId":414,"metricType":"size"},{"name":"time in aggregation build","accumulatorId":415,"metricType":"timing"},{"name":"peak memory","accumulatorId":413,"metricType":"size"},{"name":"number of output rows","accumulatorId":412,"metricType":"sum"},{"name":"number of sort fallback tasks","accumulatorId":417,"metricType":"sum"},{"name":"avg hash probes per key","accumulatorId":416,"metricType":"average"}]}],"metadata":{},"metrics":[{"name":"duration","accumulatorId":411,"metricType":"timing"}]}],"metadata":{},"metrics":[{"name":"shuffle records written","accumulatorId":409,"metricType":"sum"},{"name":"local merged chunks fetched","accumulatorId":403,"metricType":"sum"},{"name":"shuffle write time","accumulatorId":410,"metricType":"nsTiming"},{"name":"remote merged bytes read","accumulatorId":404,"metricType":"size"},{"name":"local merged blocks fetched","accumulatorId":401,"metricType":"sum"},{"name":"corrupt merged block chunks","accumulatorId":398,"metricType":"sum"},{"name":"remote merged reqs duration","accumulatorId":407,"metricType":"timing"},{"name":"remote merged blocks fetched","accumulatorId":400,"metricType":"sum"},{"name":"records read","accumulatorId":397,"metricType":"sum"},{"name":"local bytes read","accumulatorId":395,"metricType":"size"},{"name":"fetch wait time","accumulatorId":396,"metricType":"timing"},{"name":"remote bytes read","accumulatorId":393,"metricType":"size"},{"name":"merged fetch fallback count","accumulatorId":399,"metricType":"sum"},{"name":"local blocks read","accumulatorId":392,"metricType":"sum"},{"name":"remote merged chunks fetched","accumulatorId":402,"metricType":"sum"},{"name":"remote blocks read","accumulatorId":391,"metricType":"sum"},{"name":"data size","accumulatorId":389,"metricType":"size"},{"name":"local merged bytes read","accumulatorId":405,"metricType":"size"},{"name":"number of partitions","accumulatorId":390,"metricType":"sum"},{"name":"remote reqs duration","accumulatorId":406,"metricType":"timing"},{"name":"remote bytes read to disk","accumulatorId":394,"metricType":"size"},{"name":"shuffle bytes written","accumulatorId":408,"metricType":"size"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"number of partitions","accumulatorId":845,"metricType":"sum"},{"name":"partition data size","accumulatorId":846,"metricType":"size"},{"name":"number of coalesced partitions","accumulatorId":847,"metricType":"sum"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"spill size","accumulatorId":841,"metricType":"size"},{"name":"time in aggregation build","accumulatorId":842,"metricType":"timing"},{"name":"peak memory","accumulatorId":840,"metricType":"size"},{"name":"number of output rows","accumulatorId":839,"metricType":"sum"},{"name":"number of sort fallback tasks","accumulatorId":844,"metricType":"sum"},{"name":"avg hash probes per key","accumulatorId":843,"metricType":"average"}]}],"metadata":{},"metrics":[{"name":"spill size","accumulatorId":835,"metricType":"size"},{"name":"time in aggregation build","accumulatorId":836,"metricType":"timing"},{"name":"peak memory","accumulatorId":834,"metricType":"size"},{"name":"number of output rows","accumulatorId":833,"metricType":"sum"},{"name":"number of sort fallback tasks","accumulatorId":838,"metricType":"sum"},{"name":"avg hash probes per key","accumulatorId":837,"metricType":"average"}]}],"metadata":{},"metrics":[{"name":"duration","accumulatorId":832,"metricType":"timing"}]}],"metadata":{},"metrics":[{"name":"shuffle records written","accumulatorId":830,"metricType":"sum"},{"name":"local merged chunks fetched","accumulatorId":824,"metricType":"sum"},{"name":"shuffle write time","accumulatorId":831,"metricType":"nsTiming"},{"name":"remote merged bytes read","accumulatorId":825,"metricType":"size"},{"name":"local merged blocks fetched","accumulatorId":822,"metricType":"sum"},{"name":"corrupt merged block chunks","accumulatorId":819,"metricType":"sum"},{"name":"remote merged reqs duration","accumulatorId":828,"metricType":"timing"},{"name":"remote merged blocks fetched","accumulatorId":821,"metricType":"sum"},{"name":"records read","accumulatorId":818,"metricType":"sum"},{"name":"local bytes read","accumulatorId":816,"metricType":"size"},{"name":"fetch wait time","accumulatorId":817,"metricType":"timing"},{"name":"remote bytes read","accumulatorId":814,"metricType":"size"},{"name":"merged fetch fallback count","accumulatorId":820,"metricType":"sum"},{"name":"local blocks read","accumulatorId":813,"metricType":"sum"},{"name":"remote merged chunks fetched","accumulatorId":823,"metricType":"sum"},{"name":"remote blocks read","accumulatorId":812,"metricType":"sum"},{"name":"data size","accumulatorId":810,"metricType":"size"},{"name":"local merged bytes read","accumulatorId":826,"metricType":"size"},{"name":"number of partitions","accumulatorId":811,"metricType":"sum"},{"name":"remote reqs duration","accumulatorId":827,"metricType":"timing"},{"name":"remote bytes read to disk","accumulatorId":815,"metricType":"size"},{"name":"shuffle bytes written","accumulatorId":829,"metricType":"size"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"spill size","accumulatorId":806,"metricType":"size"},{"name":"time in aggregation build","accumulatorId":807,"metricType":"timing"},{"name":"peak memory","accumulatorId":805,"metricType":"size"},{"name":"number of output rows","accumulatorId":804,"metricType":"sum"},{"name":"number of sort fallback tasks","accumulatorId":809,"metricType":"sum"},{"name":"avg hash probes per key","accumulatorId":808,"metricType":"average"}]}],"metadata":{},"metrics":[{"name":"time to broadcast","accumulatorId":803,"metricType":"timing"},{"name":"time to build","accumulatorId":802,"metricType":"timing"},{"name":"time to collect","accumulatorId":801,"metricType":"timing"},{"name":"number of output rows","accumulatorId":800,"metricType":"sum"},{"name":"data size","accumulatorId":799,"metricType":"size"}]}],"metadata":{},"metrics":[{"name":"number of output rows","accumulatorId":793,"metricType":"sum"}]},{"nodeName":"BroadcastQueryStage","simpleString":"BroadcastQueryStage 3","children":[{"nodeName":"BroadcastExchange","simpleString":"BroadcastExchange HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=384]","children":[{"nodeName":"WholeStageCodegen (4)","simpleString":"WholeStageCodegen (4)","children":[{"nodeName":"HashAggregate","simpleString":"HashAggregate(keys=[user_id#19L], functions=[min(viewed_at#21)])","children":[{"nodeName":"InputAdapter","simpleString":"InputAdapter","children":[{"nodeName":"AQEShuffleRead","simpleString":"AQEShuffleRead coalesced","children":[{"nodeName":"ShuffleQueryStage","simpleString":"ShuffleQueryStage 2","children":[{"nodeName":"Exchange","simpleString":"Exchange hashpartitioning(user_id#19L, 200), ENSURE_REQUIREMENTS, [plan_id=246]","children":[{"nodeName":"WholeStageCodegen (3)","simpleString":"WholeStageCodegen (3)","children":[{"nodeName":"HashAggregate","simpleString":"HashAggregate(keys=[user_id#19L], functions=[partial_min(viewed_at#21)])","children":[{"nodeName":"Filter","simpleString":"Filter isnotnull(user_id#19L)","children":[{"nodeName":"InputAdapter","simpleString":"InputAdapter","children":[{"nodeName":"Scan csv ","simpleString":"FileScan csv [user_id#19L,viewed_at#21] Batched: false, DataFilters: [isnotnull(user_id#19L)], Format: CSV, Location: InMemoryFileIndex(1 paths)[s3a://apavlovets-bucket/raw/lesson_views.csv], PartitionFilters: [], PushedFilters: [IsNotNull(user_id)], ReadSchema: struct","children":[],"metadata":{"Location":"InMemoryFileIndex(1 paths)[s3a://apavlovets-bucket/raw/lesson_views.csv]","ReadSchema":"struct","Format":"CSV","Batched":"false","PartitionFilters":"[]","PushedFilters":"[IsNotNull(user_id)]","DataFilters":"[isnotnull(user_id#19L)]"},"metrics":[{"name":"number of output rows","accumulatorId":236,"metricType":"sum"},{"name":"number of files read","accumulatorId":237,"metricType":"sum"},{"name":"metadata time","accumulatorId":238,"metricType":"timing"},{"name":"size of files read","accumulatorId":239,"metricType":"size"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"number of output rows","accumulatorId":459,"metricType":"sum"}]}],"metadata":{},"metrics":[{"name":"spill size","accumulatorId":455,"metricType":"size"},{"name":"time in aggregation build","accumulatorId":456,"metricType":"timing"},{"name":"peak memory","accumulatorId":454,"metricType":"size"},{"name":"number of output rows","accumulatorId":453,"metricType":"sum"},{"name":"number of sort fallback tasks","accumulatorId":458,"metricType":"sum"},{"name":"avg hash probes per key","accumulatorId":457,"metricType":"average"}]}],"metadata":{},"metrics":[{"name":"duration","accumulatorId":452,"metricType":"timing"}]}],"metadata":{},"metrics":[{"name":"shuffle records written","accumulatorId":450,"metricType":"sum"},{"name":"local merged chunks fetched","accumulatorId":444,"metricType":"sum"},{"name":"shuffle write time","accumulatorId":451,"metricType":"nsTiming"},{"name":"remote merged bytes read","accumulatorId":445,"metricType":"size"},{"name":"local merged blocks fetched","accumulatorId":442,"metricType":"sum"},{"name":"corrupt merged block chunks","accumulatorId":439,"metricType":"sum"},{"name":"remote merged reqs duration","accumulatorId":448,"metricType":"timing"},{"name":"remote merged blocks fetched","accumulatorId":441,"metricType":"sum"},{"name":"records read","accumulatorId":438,"metricType":"sum"},{"name":"local bytes read","accumulatorId":436,"metricType":"size"},{"name":"fetch wait time","accumulatorId":437,"metricType":"timing"},{"name":"remote bytes read","accumulatorId":434,"metricType":"size"},{"name":"merged fetch fallback count","accumulatorId":440,"metricType":"sum"},{"name":"local blocks read","accumulatorId":433,"metricType":"sum"},{"name":"remote merged chunks fetched","accumulatorId":443,"metricType":"sum"},{"name":"remote blocks read","accumulatorId":432,"metricType":"sum"},{"name":"data size","accumulatorId":430,"metricType":"size"},{"name":"local merged bytes read","accumulatorId":446,"metricType":"size"},{"name":"number of partitions","accumulatorId":431,"metricType":"sum"},{"name":"remote reqs duration","accumulatorId":447,"metricType":"timing"},{"name":"remote bytes read to disk","accumulatorId":435,"metricType":"size"},{"name":"shuffle bytes written","accumulatorId":449,"metricType":"size"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"number of partitions","accumulatorId":689,"metricType":"sum"},{"name":"partition data size","accumulatorId":690,"metricType":"size"},{"name":"number of coalesced partitions","accumulatorId":691,"metricType":"sum"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"spill size","accumulatorId":685,"metricType":"size"},{"name":"time in aggregation build","accumulatorId":686,"metricType":"timing"},{"name":"peak memory","accumulatorId":684,"metricType":"size"},{"name":"number of output rows","accumulatorId":683,"metricType":"sum"},{"name":"number of sort fallback tasks","accumulatorId":688,"metricType":"sum"},{"name":"avg hash probes per key","accumulatorId":687,"metricType":"average"}]}],"metadata":{},"metrics":[{"name":"duration","accumulatorId":682,"metricType":"timing"}]}],"metadata":{},"metrics":[{"name":"time to broadcast","accumulatorId":681,"metricType":"timing"},{"name":"time to build","accumulatorId":680,"metricType":"timing"},{"name":"time to collect","accumulatorId":679,"metricType":"timing"},{"name":"number of output rows","accumulatorId":678,"metricType":"sum"},{"name":"data size","accumulatorId":677,"metricType":"size"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"number of output rows","accumulatorId":792,"metricType":"sum"}]}],"metadata":{},"metrics":[{"name":"number of output rows","accumulatorId":791,"metricType":"sum"}]}],"metadata":{},"metrics":[{"name":"spill size","accumulatorId":787,"metricType":"size"},{"name":"time in aggregation build","accumulatorId":788,"metricType":"timing"},{"name":"peak memory","accumulatorId":786,"metricType":"size"},{"name":"number of output rows","accumulatorId":785,"metricType":"sum"},{"name":"number of sort fallback tasks","accumulatorId":790,"metricType":"sum"},{"name":"avg hash probes per key","accumulatorId":789,"metricType":"average"}]}],"metadata":{},"metrics":[{"name":"shuffle records written","accumulatorId":783,"metricType":"sum"},{"name":"local merged chunks fetched","accumulatorId":777,"metricType":"sum"},{"name":"shuffle write time","accumulatorId":784,"metricType":"nsTiming"},{"name":"remote merged bytes read","accumulatorId":778,"metricType":"size"},{"name":"local merged blocks fetched","accumulatorId":775,"metricType":"sum"},{"name":"corrupt merged block chunks","accumulatorId":772,"metricType":"sum"},{"name":"remote merged reqs duration","accumulatorId":781,"metricType":"timing"},{"name":"remote merged blocks fetched","accumulatorId":774,"metricType":"sum"},{"name":"records read","accumulatorId":771,"metricType":"sum"},{"name":"local bytes read","accumulatorId":769,"metricType":"size"},{"name":"fetch wait time","accumulatorId":770,"metricType":"timing"},{"name":"remote bytes read","accumulatorId":767,"metricType":"size"},{"name":"merged fetch fallback count","accumulatorId":773,"metricType":"sum"},{"name":"local blocks read","accumulatorId":766,"metricType":"sum"},{"name":"remote merged chunks fetched","accumulatorId":776,"metricType":"sum"},{"name":"remote blocks read","accumulatorId":765,"metricType":"sum"},{"name":"data size","accumulatorId":763,"metricType":"size"},{"name":"local merged bytes read","accumulatorId":779,"metricType":"size"},{"name":"number of partitions","accumulatorId":764,"metricType":"sum"},{"name":"remote reqs duration","accumulatorId":780,"metricType":"timing"},{"name":"remote bytes read to disk","accumulatorId":768,"metricType":"size"},{"name":"shuffle bytes written","accumulatorId":782,"metricType":"size"}]}],"metadata":{},"metrics":[{"name":"spill size","accumulatorId":759,"metricType":"size"},{"name":"time in aggregation build","accumulatorId":760,"metricType":"timing"},{"name":"peak memory","accumulatorId":758,"metricType":"size"},{"name":"number of output rows","accumulatorId":757,"metricType":"sum"},{"name":"number of sort fallback tasks","accumulatorId":762,"metricType":"sum"},{"name":"avg hash probes per key","accumulatorId":761,"metricType":"average"}]}],"metadata":{},"metrics":[{"name":"spill size","accumulatorId":753,"metricType":"size"},{"name":"time in aggregation build","accumulatorId":754,"metricType":"timing"},{"name":"peak memory","accumulatorId":752,"metricType":"size"},{"name":"number of output rows","accumulatorId":751,"metricType":"sum"},{"name":"number of sort fallback tasks","accumulatorId":756,"metricType":"sum"},{"name":"avg hash probes per key","accumulatorId":755,"metricType":"average"}]}],"metadata":{},"metrics":[{"name":"shuffle records written","accumulatorId":749,"metricType":"sum"},{"name":"local merged chunks fetched","accumulatorId":743,"metricType":"sum"},{"name":"shuffle write time","accumulatorId":750,"metricType":"nsTiming"},{"name":"remote merged bytes read","accumulatorId":744,"metricType":"size"},{"name":"local merged blocks fetched","accumulatorId":741,"metricType":"sum"},{"name":"corrupt merged block chunks","accumulatorId":738,"metricType":"sum"},{"name":"remote merged reqs duration","accumulatorId":747,"metricType":"timing"},{"name":"remote merged blocks fetched","accumulatorId":740,"metricType":"sum"},{"name":"records read","accumulatorId":737,"metricType":"sum"},{"name":"local bytes read","accumulatorId":735,"metricType":"size"},{"name":"fetch wait time","accumulatorId":736,"metricType":"timing"},{"name":"remote bytes read","accumulatorId":733,"metricType":"size"},{"name":"merged fetch fallback count","accumulatorId":739,"metricType":"sum"},{"name":"local blocks read","accumulatorId":732,"metricType":"sum"},{"name":"remote merged chunks fetched","accumulatorId":742,"metricType":"sum"},{"name":"remote blocks read","accumulatorId":731,"metricType":"sum"},{"name":"data size","accumulatorId":729,"metricType":"size"},{"name":"local merged bytes read","accumulatorId":745,"metricType":"size"},{"name":"number of partitions","accumulatorId":730,"metricType":"sum"},{"name":"remote reqs duration","accumulatorId":746,"metricType":"timing"},{"name":"remote bytes read to disk","accumulatorId":734,"metricType":"size"},{"name":"shuffle bytes written","accumulatorId":748,"metricType":"size"}]}],"metadata":{},"metrics":[{"name":"spill size","accumulatorId":725,"metricType":"size"},{"name":"time in aggregation build","accumulatorId":726,"metricType":"timing"},{"name":"peak memory","accumulatorId":724,"metricType":"size"},{"name":"number of output rows","accumulatorId":723,"metricType":"sum"},{"name":"number of sort fallback tasks","accumulatorId":728,"metricType":"sum"},{"name":"avg hash probes per key","accumulatorId":727,"metricType":"average"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"shuffle records written","accumulatorId":721,"metricType":"sum"},{"name":"local merged chunks fetched","accumulatorId":715,"metricType":"sum"},{"name":"shuffle write time","accumulatorId":722,"metricType":"nsTiming"},{"name":"remote merged bytes read","accumulatorId":716,"metricType":"size"},{"name":"local merged blocks fetched","accumulatorId":713,"metricType":"sum"},{"name":"corrupt merged block chunks","accumulatorId":710,"metricType":"sum"},{"name":"remote merged reqs duration","accumulatorId":719,"metricType":"timing"},{"name":"remote merged blocks fetched","accumulatorId":712,"metricType":"sum"},{"name":"records read","accumulatorId":709,"metricType":"sum"},{"name":"local bytes read","accumulatorId":707,"metricType":"size"},{"name":"fetch wait time","accumulatorId":708,"metricType":"timing"},{"name":"remote bytes read","accumulatorId":705,"metricType":"size"},{"name":"merged fetch fallback count","accumulatorId":711,"metricType":"sum"},{"name":"local blocks read","accumulatorId":704,"metricType":"sum"},{"name":"remote merged chunks fetched","accumulatorId":714,"metricType":"sum"},{"name":"remote blocks read","accumulatorId":703,"metricType":"sum"},{"name":"data size","accumulatorId":701,"metricType":"size"},{"name":"local merged bytes read","accumulatorId":717,"metricType":"size"},{"name":"number of partitions","accumulatorId":702,"metricType":"sum"},{"name":"remote reqs duration","accumulatorId":718,"metricType":"timing"},{"name":"remote bytes read to disk","accumulatorId":706,"metricType":"size"},{"name":"shuffle bytes written","accumulatorId":720,"metricType":"size"}]}],"metadata":{},"metrics":[{"name":"sort time","accumulatorId":698,"metricType":"timing"},{"name":"peak memory","accumulatorId":699,"metricType":"size"},{"name":"spill size","accumulatorId":700,"metricType":"size"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"task commit time","accumulatorId":696,"metricType":"timing"},{"name":"number of written files","accumulatorId":692,"metricType":"sum"},{"name":"job commit time","accumulatorId":697,"metricType":"timing"},{"name":"number of output rows","accumulatorId":694,"metricType":"sum"},{"name":"number of dynamic part","accumulatorId":695,"metricType":"sum"},{"name":"written output","accumulatorId":693,"metricType":"size"}]}],"metadata":{},"metrics":[]}} {"Event":"SparkListenerJobStart","Job ID":3,"Submission Time":1784546405369,"Stage Infos":[{"Stage ID":3,"Stage Attempt ID":0,"Stage Name":"parquet at NativeMethodAccessorImpl.java:0","Number of Tasks":1,"RDD Info":[{"RDD ID":11,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"11\",\"name\":\"Exchange\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[10],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"DETERMINATE","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":8,"Name":"FileScanRDD","Scope":"{\"id\":\"16\",\"name\":\"Scan csv \"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"DETERMINATE","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":9,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"16\",\"name\":\"Scan csv \"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[8],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"DETERMINATE","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":10,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"12\",\"name\":\"WholeStageCodegen (3)\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[9],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"DETERMINATE","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0}],"Parent IDs":[],"Details":"org.apache.spark.sql.DataFrameWriter.parquet(DataFrameWriter.scala:792)\njava.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\njava.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)\njava.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\njava.base/java.lang.reflect.Method.invoke(Method.java:569)\npy4j.reflection.MethodInvoker.invoke(MethodInvoker.java:244)\npy4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:374)\npy4j.Gateway.invoke(Gateway.java:282)\npy4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:132)\npy4j.commands.CallCommand.execute(CallCommand.java:79)\npy4j.ClientServerConnection.waitForCommands(ClientServerConnection.java:182)\npy4j.ClientServerConnection.run(ClientServerConnection.java:106)\njava.base/java.lang.Thread.run(Thread.java:840)","Accumulables":[],"Resource Profile Id":0,"Shuffle Push Enabled":false,"Shuffle Push Mergers Count":0},{"Stage ID":4,"Stage Attempt ID":0,"Stage Name":"$anonfun$withThreadLocalCaptured$1 at FutureTask.java:264","Number of Tasks":1,"RDD Info":[{"RDD ID":14,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"21\",\"name\":\"BroadcastExchange\"}","Callsite":"$anonfun$withThreadLocalCaptured$1 at FutureTask.java:264","Parent IDs":[13],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"UNORDERED","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":13,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"22\",\"name\":\"WholeStageCodegen (4)\"}","Callsite":"$anonfun$withThreadLocalCaptured$1 at FutureTask.java:264","Parent IDs":[12],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"UNORDERED","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":12,"Name":"ShuffledRowRDD","Scope":"{\"id\":\"25\",\"name\":\"AQEShuffleRead\"}","Callsite":"$anonfun$withThreadLocalCaptured$1 at FutureTask.java:264","Parent IDs":[11],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"UNORDERED","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0}],"Parent IDs":[3],"Details":"org.apache.spark.sql.execution.SQLExecution$.$anonfun$withThreadLocalCaptured$1(SQLExecution.scala:219)\njava.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)\njava.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)\njava.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)\njava.base/java.lang.Thread.run(Thread.java:840)","Accumulables":[],"Resource Profile Id":0,"Shuffle Push Enabled":false,"Shuffle Push Mergers Count":0}],"Stage IDs":[3,4],"Properties":{"spark.driver.port":"34351","spark.submit.pyFiles":"","spark.app.startTime":"1784546379461","spark.rdd.scope":"{\"id\":\"21\",\"name\":\"BroadcastExchange\"}","spark.hadoop.fs.s3a.endpoint":"http://minio:9000","spark.rdd.compress":"True","spark.hadoop.fs.s3a.impl":"org.apache.hadoop.fs.s3a.S3AFileSystem","spark.app.submitTime":"1784546378209","spark.eventLog.dir":"file:/opt/spark-events","spark.hadoop.fs.s3a.aws.credentials.provider":"org.apache.hadoop.fs.s3a.SimpleAWSCredentialsProvider","spark.sql.execution.id":"0","spark.sql.warehouse.dir":"file:/opt/airflow/spark-warehouse","spark.rdd.scope.noOverride":"true","spark.master":"spark://spark-master:7077","spark.job.interruptOnCancel":"true","spark.hadoop.fs.s3a.secret.key":"*********(redacted)","spark.executor.id":"driver","spark.app.name":"dm_user_cohort_analysis","spark.hadoop.fs.s3a.access.key":"*********(redacted)","spark.submit.deployMode":"client","spark.hadoop.fs.s3a.path.style.access":"true","spark.driver.host":"73850a3d530b","spark.app.id":"app-20260720151940-0099","spark.eventLog.compress":"true","spark.eventLog.enabled":"true","spark.job.tags":"broadcast exchange (runId 5348d0ad-0bea-493e-a996-3f98fe74bc9e)","__fetch_continuous_blocks_in_batch_enabled":"true","spark.executor.extraJavaOptions":"-Djava.net.preferIPv6Addresses=false -XX:+IgnoreUnrecognizedVMOptions --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.base/sun.nio.cs=ALL-UNNAMED --add-opens=java.base/sun.security.action=ALL-UNNAMED --add-opens=java.base/sun.util.calendar=ALL-UNNAMED --add-opens=java.security.jgss/sun.security.krb5=ALL-UNNAMED -Djdk.reflect.useDirectMethodHandle=false","spark.sql.execution.root.id":"0","spark.hadoop.fs.s3a.connection.ssl.enabled":"false","spark.serializer.objectStreamReset":"100","spark.driver.extraJavaOptions":"-Djava.net.preferIPv6Addresses=false -XX:+IgnoreUnrecognizedVMOptions --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.base/sun.nio.cs=ALL-UNNAMED --add-opens=java.base/sun.security.action=ALL-UNNAMED --add-opens=java.base/sun.util.calendar=ALL-UNNAMED --add-opens=java.security.jgss/sun.security.krb5=ALL-UNNAMED -Djdk.reflect.useDirectMethodHandle=false"}} {"Event":"SparkListenerStageSubmitted","Stage Info":{"Stage ID":4,"Stage Attempt ID":0,"Stage Name":"$anonfun$withThreadLocalCaptured$1 at FutureTask.java:264","Number of Tasks":1,"RDD Info":[{"RDD ID":14,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"21\",\"name\":\"BroadcastExchange\"}","Callsite":"$anonfun$withThreadLocalCaptured$1 at FutureTask.java:264","Parent IDs":[13],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"UNORDERED","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":13,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"22\",\"name\":\"WholeStageCodegen (4)\"}","Callsite":"$anonfun$withThreadLocalCaptured$1 at FutureTask.java:264","Parent IDs":[12],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"UNORDERED","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":12,"Name":"ShuffledRowRDD","Scope":"{\"id\":\"25\",\"name\":\"AQEShuffleRead\"}","Callsite":"$anonfun$withThreadLocalCaptured$1 at FutureTask.java:264","Parent IDs":[11],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"UNORDERED","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0}],"Parent IDs":[3],"Details":"org.apache.spark.sql.execution.SQLExecution$.$anonfun$withThreadLocalCaptured$1(SQLExecution.scala:219)\njava.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)\njava.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)\njava.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)\njava.base/java.lang.Thread.run(Thread.java:840)","Submission Time":1784546405378,"Accumulables":[],"Resource Profile Id":0,"Shuffle Push Enabled":false,"Shuffle Push Mergers Count":0},"Properties":{"spark.driver.port":"34351","spark.submit.pyFiles":"","spark.app.startTime":"1784546379461","spark.rdd.scope":"{\"id\":\"21\",\"name\":\"BroadcastExchange\"}","spark.hadoop.fs.s3a.endpoint":"http://minio:9000","spark.rdd.compress":"True","spark.hadoop.fs.s3a.impl":"org.apache.hadoop.fs.s3a.S3AFileSystem","spark.app.submitTime":"1784546378209","spark.eventLog.dir":"file:/opt/spark-events","spark.hadoop.fs.s3a.aws.credentials.provider":"org.apache.hadoop.fs.s3a.SimpleAWSCredentialsProvider","spark.sql.execution.id":"0","spark.sql.warehouse.dir":"file:/opt/airflow/spark-warehouse","spark.rdd.scope.noOverride":"true","spark.master":"spark://spark-master:7077","spark.job.interruptOnCancel":"true","spark.hadoop.fs.s3a.secret.key":"*********(redacted)","spark.executor.id":"driver","spark.app.name":"dm_user_cohort_analysis","spark.hadoop.fs.s3a.access.key":"*********(redacted)","spark.submit.deployMode":"client","spark.hadoop.fs.s3a.path.style.access":"true","spark.driver.host":"73850a3d530b","spark.app.id":"app-20260720151940-0099","spark.eventLog.compress":"true","spark.eventLog.enabled":"true","spark.job.tags":"broadcast exchange (runId 5348d0ad-0bea-493e-a996-3f98fe74bc9e)","__fetch_continuous_blocks_in_batch_enabled":"true","spark.executor.extraJavaOptions":"-Djava.net.preferIPv6Addresses=false -XX:+IgnoreUnrecognizedVMOptions --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.base/sun.nio.cs=ALL-UNNAMED --add-opens=java.base/sun.security.action=ALL-UNNAMED --add-opens=java.base/sun.util.calendar=ALL-UNNAMED --add-opens=java.security.jgss/sun.security.krb5=ALL-UNNAMED -Djdk.reflect.useDirectMethodHandle=false","spark.sql.execution.root.id":"0","spark.hadoop.fs.s3a.connection.ssl.enabled":"false","spark.serializer.objectStreamReset":"100","spark.driver.extraJavaOptions":"-Djava.net.preferIPv6Addresses=false -XX:+IgnoreUnrecognizedVMOptions --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.base/sun.nio.cs=ALL-UNNAMED --add-opens=java.base/sun.security.action=ALL-UNNAMED --add-opens=java.base/sun.util.calendar=ALL-UNNAMED --add-opens=java.security.jgss/sun.security.krb5=ALL-UNNAMED -Djdk.reflect.useDirectMethodHandle=false"}} {"Event":"SparkListenerTaskStart","Stage ID":4,"Stage Attempt ID":0,"Task Info":{"Task ID":3,"Index":0,"Attempt":0,"Partition ID":0,"Launch Time":1784546405385,"Executor ID":"0","Host":"172.28.0.49","Locality":"NODE_LOCAL","Speculative":false,"Getting Result Time":0,"Finish Time":0,"Failed":false,"Killed":false,"Accumulables":[]}} {"Event":"org.apache.spark.sql.execution.ui.SparkListenerDriverAccumUpdates","executionId":0,"accumUpdates":[[845,1],[847,1],[846,2704]]} {"Event":"org.apache.spark.sql.execution.ui.SparkListenerDriverAccumUpdates","executionId":0,"accumUpdates":[[811,200]]} {"Event":"SparkListenerJobStart","Job ID":4,"Submission Time":1784546405411,"Stage Infos":[{"Stage ID":5,"Stage Attempt ID":0,"Stage Name":"parquet at NativeMethodAccessorImpl.java:0","Number of Tasks":1,"RDD Info":[{"RDD ID":7,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"1\",\"name\":\"Exchange\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[6],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"DETERMINATE","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":3,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"10\",\"name\":\"Scan csv \"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[0],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"DETERMINATE","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":6,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"2\",\"name\":\"WholeStageCodegen (2)\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[3],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"DETERMINATE","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":0,"Name":"FileScanRDD","Scope":"{\"id\":\"10\",\"name\":\"Scan csv \"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"DETERMINATE","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0}],"Parent IDs":[],"Details":"org.apache.spark.sql.DataFrameWriter.parquet(DataFrameWriter.scala:792)\njava.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\njava.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)\njava.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\njava.base/java.lang.reflect.Method.invoke(Method.java:569)\npy4j.reflection.MethodInvoker.invoke(MethodInvoker.java:244)\npy4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:374)\npy4j.Gateway.invoke(Gateway.java:282)\npy4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:132)\npy4j.commands.CallCommand.execute(CallCommand.java:79)\npy4j.ClientServerConnection.waitForCommands(ClientServerConnection.java:182)\npy4j.ClientServerConnection.run(ClientServerConnection.java:106)\njava.base/java.lang.Thread.run(Thread.java:840)","Accumulables":[],"Resource Profile Id":0,"Shuffle Push Enabled":false,"Shuffle Push Mergers Count":0},{"Stage ID":6,"Stage Attempt ID":0,"Stage Name":"parquet at NativeMethodAccessorImpl.java:0","Number of Tasks":1,"RDD Info":[{"RDD ID":17,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"26\",\"name\":\"Exchange\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[16],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"UNORDERED","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":15,"Name":"ShuffledRowRDD","Scope":"{\"id\":\"31\",\"name\":\"AQEShuffleRead\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[7],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"UNORDERED","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":16,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"27\",\"name\":\"WholeStageCodegen (5)\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[15],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"UNORDERED","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0}],"Parent IDs":[5],"Details":"org.apache.spark.sql.DataFrameWriter.parquet(DataFrameWriter.scala:792)\njava.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\njava.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)\njava.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\njava.base/java.lang.reflect.Method.invoke(Method.java:569)\npy4j.reflection.MethodInvoker.invoke(MethodInvoker.java:244)\npy4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:374)\npy4j.Gateway.invoke(Gateway.java:282)\npy4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:132)\npy4j.commands.CallCommand.execute(CallCommand.java:79)\npy4j.ClientServerConnection.waitForCommands(ClientServerConnection.java:182)\npy4j.ClientServerConnection.run(ClientServerConnection.java:106)\njava.base/java.lang.Thread.run(Thread.java:840)","Accumulables":[],"Resource Profile Id":0,"Shuffle Push Enabled":false,"Shuffle Push Mergers Count":0}],"Stage IDs":[5,6],"Properties":{"spark.driver.port":"34351","spark.submit.pyFiles":"","spark.app.startTime":"1784546379461","spark.rdd.scope":"{\"id\":\"26\",\"name\":\"Exchange\"}","spark.hadoop.fs.s3a.endpoint":"http://minio:9000","spark.rdd.compress":"True","spark.hadoop.fs.s3a.impl":"org.apache.hadoop.fs.s3a.S3AFileSystem","spark.app.submitTime":"1784546378209","spark.eventLog.dir":"file:/opt/spark-events","spark.hadoop.fs.s3a.aws.credentials.provider":"org.apache.hadoop.fs.s3a.SimpleAWSCredentialsProvider","spark.sql.execution.id":"0","spark.sql.warehouse.dir":"file:/opt/airflow/spark-warehouse","spark.rdd.scope.noOverride":"true","spark.master":"spark://spark-master:7077","spark.hadoop.fs.s3a.secret.key":"*********(redacted)","spark.executor.id":"driver","spark.app.name":"dm_user_cohort_analysis","spark.hadoop.fs.s3a.access.key":"*********(redacted)","spark.submit.deployMode":"client","spark.hadoop.fs.s3a.path.style.access":"true","spark.driver.host":"73850a3d530b","spark.app.id":"app-20260720151940-0099","spark.eventLog.compress":"true","spark.eventLog.enabled":"true","__fetch_continuous_blocks_in_batch_enabled":"true","spark.executor.extraJavaOptions":"-Djava.net.preferIPv6Addresses=false -XX:+IgnoreUnrecognizedVMOptions --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.base/sun.nio.cs=ALL-UNNAMED --add-opens=java.base/sun.security.action=ALL-UNNAMED --add-opens=java.base/sun.util.calendar=ALL-UNNAMED --add-opens=java.security.jgss/sun.security.krb5=ALL-UNNAMED -Djdk.reflect.useDirectMethodHandle=false","spark.sql.execution.root.id":"0","spark.hadoop.fs.s3a.connection.ssl.enabled":"false","spark.serializer.objectStreamReset":"100","spark.driver.extraJavaOptions":"-Djava.net.preferIPv6Addresses=false -XX:+IgnoreUnrecognizedVMOptions --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.base/sun.nio.cs=ALL-UNNAMED --add-opens=java.base/sun.security.action=ALL-UNNAMED --add-opens=java.base/sun.util.calendar=ALL-UNNAMED --add-opens=java.security.jgss/sun.security.krb5=ALL-UNNAMED -Djdk.reflect.useDirectMethodHandle=false"}} {"Event":"SparkListenerStageSubmitted","Stage Info":{"Stage ID":6,"Stage Attempt ID":0,"Stage Name":"parquet at NativeMethodAccessorImpl.java:0","Number of Tasks":1,"RDD Info":[{"RDD ID":17,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"26\",\"name\":\"Exchange\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[16],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"UNORDERED","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":15,"Name":"ShuffledRowRDD","Scope":"{\"id\":\"31\",\"name\":\"AQEShuffleRead\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[7],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"UNORDERED","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":16,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"27\",\"name\":\"WholeStageCodegen (5)\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[15],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"UNORDERED","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0}],"Parent IDs":[5],"Details":"org.apache.spark.sql.DataFrameWriter.parquet(DataFrameWriter.scala:792)\njava.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\njava.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)\njava.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\njava.base/java.lang.reflect.Method.invoke(Method.java:569)\npy4j.reflection.MethodInvoker.invoke(MethodInvoker.java:244)\npy4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:374)\npy4j.Gateway.invoke(Gateway.java:282)\npy4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:132)\npy4j.commands.CallCommand.execute(CallCommand.java:79)\npy4j.ClientServerConnection.waitForCommands(ClientServerConnection.java:182)\npy4j.ClientServerConnection.run(ClientServerConnection.java:106)\njava.base/java.lang.Thread.run(Thread.java:840)","Submission Time":1784546405417,"Accumulables":[],"Resource Profile Id":0,"Shuffle Push Enabled":false,"Shuffle Push Mergers Count":0},"Properties":{"spark.driver.port":"34351","spark.submit.pyFiles":"","spark.app.startTime":"1784546379461","spark.rdd.scope":"{\"id\":\"26\",\"name\":\"Exchange\"}","spark.hadoop.fs.s3a.endpoint":"http://minio:9000","spark.rdd.compress":"True","spark.hadoop.fs.s3a.impl":"org.apache.hadoop.fs.s3a.S3AFileSystem","spark.app.submitTime":"1784546378209","spark.eventLog.dir":"file:/opt/spark-events","spark.hadoop.fs.s3a.aws.credentials.provider":"org.apache.hadoop.fs.s3a.SimpleAWSCredentialsProvider","spark.sql.execution.id":"0","spark.sql.warehouse.dir":"file:/opt/airflow/spark-warehouse","spark.rdd.scope.noOverride":"true","spark.master":"spark://spark-master:7077","spark.hadoop.fs.s3a.secret.key":"*********(redacted)","spark.executor.id":"driver","spark.app.name":"dm_user_cohort_analysis","spark.hadoop.fs.s3a.access.key":"*********(redacted)","spark.submit.deployMode":"client","spark.hadoop.fs.s3a.path.style.access":"true","spark.driver.host":"73850a3d530b","spark.app.id":"app-20260720151940-0099","spark.eventLog.compress":"true","spark.eventLog.enabled":"true","__fetch_continuous_blocks_in_batch_enabled":"true","spark.executor.extraJavaOptions":"-Djava.net.preferIPv6Addresses=false -XX:+IgnoreUnrecognizedVMOptions --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.base/sun.nio.cs=ALL-UNNAMED --add-opens=java.base/sun.security.action=ALL-UNNAMED --add-opens=java.base/sun.util.calendar=ALL-UNNAMED --add-opens=java.security.jgss/sun.security.krb5=ALL-UNNAMED -Djdk.reflect.useDirectMethodHandle=false","spark.sql.execution.root.id":"0","spark.hadoop.fs.s3a.connection.ssl.enabled":"false","spark.serializer.objectStreamReset":"100","spark.driver.extraJavaOptions":"-Djava.net.preferIPv6Addresses=false -XX:+IgnoreUnrecognizedVMOptions --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.base/sun.nio.cs=ALL-UNNAMED --add-opens=java.base/sun.security.action=ALL-UNNAMED --add-opens=java.base/sun.util.calendar=ALL-UNNAMED --add-opens=java.security.jgss/sun.security.krb5=ALL-UNNAMED -Djdk.reflect.useDirectMethodHandle=false"}} {"Event":"SparkListenerTaskStart","Stage ID":6,"Stage Attempt ID":0,"Task Info":{"Task ID":4,"Index":0,"Attempt":0,"Partition ID":0,"Launch Time":1784546405426,"Executor ID":"0","Host":"172.28.0.49","Locality":"NODE_LOCAL","Speculative":false,"Getting Result Time":0,"Finish Time":0,"Failed":false,"Killed":false,"Accumulables":[]}} {"Event":"SparkListenerTaskEnd","Stage ID":4,"Stage Attempt ID":0,"Task Type":"ResultTask","Task End Reason":{"Reason":"Success"},"Task Info":{"Task ID":3,"Index":0,"Attempt":0,"Partition ID":0,"Launch Time":1784546405385,"Executor ID":"0","Host":"172.28.0.49","Locality":"NODE_LOCAL","Speculative":false,"Getting Result Time":0,"Finish Time":1784546405550,"Failed":false,"Killed":false,"Accumulables":[{"ID":433,"Name":"local blocks read","Update":"1","Value":"1","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":436,"Name":"local bytes read","Update":"693","Value":"693","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":437,"Name":"fetch wait time","Update":"0","Value":"0","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":438,"Name":"records read","Update":"11","Value":"11","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":682,"Name":"duration","Update":"13","Value":"13","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":683,"Name":"number of output rows","Update":"11","Value":"11","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":684,"Name":"peak memory","Update":"4456432","Value":"4456432","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":686,"Name":"time in aggregation build","Update":"6","Value":"6","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":687,"Name":"avg hash probes per key","Update":"10","Value":"10","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":848,"Name":"internal.metrics.executorDeserializeTime","Update":49,"Value":49,"Internal":true,"Count Failed Values":true},{"ID":849,"Name":"internal.metrics.executorDeserializeCpuTime","Update":39176155,"Value":39176155,"Internal":true,"Count Failed Values":true},{"ID":850,"Name":"internal.metrics.executorRunTime","Update":103,"Value":103,"Internal":true,"Count Failed Values":true},{"ID":851,"Name":"internal.metrics.executorCpuTime","Update":66956377,"Value":66956377,"Internal":true,"Count Failed Values":true},{"ID":852,"Name":"internal.metrics.resultSize","Update":5370,"Value":5370,"Internal":true,"Count Failed Values":true},{"ID":853,"Name":"internal.metrics.jvmGCTime","Update":9,"Value":9,"Internal":true,"Count Failed Values":true},{"ID":857,"Name":"internal.metrics.peakExecutionMemory","Update":4456432,"Value":4456432,"Internal":true,"Count Failed Values":true},{"ID":859,"Name":"internal.metrics.shuffle.read.remoteBlocksFetched","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":860,"Name":"internal.metrics.shuffle.read.localBlocksFetched","Update":1,"Value":1,"Internal":true,"Count Failed Values":true},{"ID":861,"Name":"internal.metrics.shuffle.read.remoteBytesRead","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":862,"Name":"internal.metrics.shuffle.read.remoteBytesReadToDisk","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":863,"Name":"internal.metrics.shuffle.read.localBytesRead","Update":693,"Value":693,"Internal":true,"Count Failed Values":true},{"ID":864,"Name":"internal.metrics.shuffle.read.fetchWaitTime","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":865,"Name":"internal.metrics.shuffle.read.recordsRead","Update":11,"Value":11,"Internal":true,"Count Failed Values":true},{"ID":866,"Name":"internal.metrics.shuffle.push.read.corruptMergedBlockChunks","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":867,"Name":"internal.metrics.shuffle.push.read.mergedFetchFallbackCount","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":868,"Name":"internal.metrics.shuffle.push.read.remoteMergedBlocksFetched","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":869,"Name":"internal.metrics.shuffle.push.read.localMergedBlocksFetched","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":870,"Name":"internal.metrics.shuffle.push.read.remoteMergedChunksFetched","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":871,"Name":"internal.metrics.shuffle.push.read.localMergedChunksFetched","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":872,"Name":"internal.metrics.shuffle.push.read.remoteMergedBytesRead","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":873,"Name":"internal.metrics.shuffle.push.read.localMergedBytesRead","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":874,"Name":"internal.metrics.shuffle.read.remoteReqsDuration","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":875,"Name":"internal.metrics.shuffle.push.read.remoteMergedReqsDuration","Update":0,"Value":0,"Internal":true,"Count Failed Values":true}]},"Task Executor Metrics":{"JVMHeapMemory":0,"JVMOffHeapMemory":0,"OnHeapExecutionMemory":0,"OffHeapExecutionMemory":0,"OnHeapStorageMemory":0,"OffHeapStorageMemory":0,"OnHeapUnifiedMemory":0,"OffHeapUnifiedMemory":0,"DirectPoolMemory":0,"MappedPoolMemory":0,"ProcessTreeJVMVMemory":0,"ProcessTreeJVMRSSMemory":0,"ProcessTreePythonVMemory":0,"ProcessTreePythonRSSMemory":0,"ProcessTreeOtherVMemory":0,"ProcessTreeOtherRSSMemory":0,"MinorGCCount":0,"MinorGCTime":0,"MajorGCCount":0,"MajorGCTime":0,"TotalGCTime":0},"Task Metrics":{"Executor Deserialize Time":49,"Executor Deserialize CPU Time":39176155,"Executor Run Time":103,"Executor CPU Time":66956377,"Peak Execution Memory":4456432,"Result Size":5370,"JVM GC Time":9,"Result Serialization Time":0,"Memory Bytes Spilled":0,"Disk Bytes Spilled":0,"Shuffle Read Metrics":{"Remote Blocks Fetched":0,"Local Blocks Fetched":1,"Fetch Wait Time":0,"Remote Bytes Read":0,"Remote Bytes Read To Disk":0,"Local Bytes Read":693,"Total Records Read":11,"Remote Requests Duration":0,"Push Based Shuffle":{"Corrupt Merged Block Chunks":0,"Merged Fetch Fallback Count":0,"Merged Remote Blocks Fetched":0,"Merged Local Blocks Fetched":0,"Merged Remote Chunks Fetched":0,"Merged Local Chunks Fetched":0,"Merged Remote Bytes Read":0,"Merged Local Bytes Read":0,"Merged Remote Requests Duration":0}},"Shuffle Write Metrics":{"Shuffle Bytes Written":0,"Shuffle Write Time":0,"Shuffle Records Written":0},"Input Metrics":{"Bytes Read":0,"Records Read":0},"Output Metrics":{"Bytes Written":0,"Records Written":0},"Updated Blocks":[]}} {"Event":"SparkListenerStageCompleted","Stage Info":{"Stage ID":4,"Stage Attempt ID":0,"Stage Name":"$anonfun$withThreadLocalCaptured$1 at FutureTask.java:264","Number of Tasks":1,"RDD Info":[{"RDD ID":14,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"21\",\"name\":\"BroadcastExchange\"}","Callsite":"$anonfun$withThreadLocalCaptured$1 at FutureTask.java:264","Parent IDs":[13],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"UNORDERED","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":13,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"22\",\"name\":\"WholeStageCodegen (4)\"}","Callsite":"$anonfun$withThreadLocalCaptured$1 at FutureTask.java:264","Parent IDs":[12],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"UNORDERED","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":12,"Name":"ShuffledRowRDD","Scope":"{\"id\":\"25\",\"name\":\"AQEShuffleRead\"}","Callsite":"$anonfun$withThreadLocalCaptured$1 at FutureTask.java:264","Parent IDs":[11],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"UNORDERED","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0}],"Parent IDs":[3],"Details":"org.apache.spark.sql.execution.SQLExecution$.$anonfun$withThreadLocalCaptured$1(SQLExecution.scala:219)\njava.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)\njava.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)\njava.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)\njava.base/java.lang.Thread.run(Thread.java:840)","Submission Time":1784546405378,"Completion Time":1784546405552,"Accumulables":[{"ID":433,"Name":"local blocks read","Value":"1","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":436,"Name":"local bytes read","Value":"693","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":437,"Name":"fetch wait time","Value":"0","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":438,"Name":"records read","Value":"11","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":682,"Name":"duration","Value":"13","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":683,"Name":"number of output rows","Value":"11","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":684,"Name":"peak memory","Value":"4456432","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":686,"Name":"time in aggregation build","Value":"6","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":687,"Name":"avg hash probes per key","Value":"10","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":848,"Name":"internal.metrics.executorDeserializeTime","Value":49,"Internal":true,"Count Failed Values":true},{"ID":849,"Name":"internal.metrics.executorDeserializeCpuTime","Value":39176155,"Internal":true,"Count Failed Values":true},{"ID":850,"Name":"internal.metrics.executorRunTime","Value":103,"Internal":true,"Count Failed Values":true},{"ID":851,"Name":"internal.metrics.executorCpuTime","Value":66956377,"Internal":true,"Count Failed Values":true},{"ID":852,"Name":"internal.metrics.resultSize","Value":5370,"Internal":true,"Count Failed Values":true},{"ID":853,"Name":"internal.metrics.jvmGCTime","Value":9,"Internal":true,"Count Failed Values":true},{"ID":857,"Name":"internal.metrics.peakExecutionMemory","Value":4456432,"Internal":true,"Count Failed Values":true},{"ID":859,"Name":"internal.metrics.shuffle.read.remoteBlocksFetched","Value":0,"Internal":true,"Count Failed Values":true},{"ID":860,"Name":"internal.metrics.shuffle.read.localBlocksFetched","Value":1,"Internal":true,"Count Failed Values":true},{"ID":861,"Name":"internal.metrics.shuffle.read.remoteBytesRead","Value":0,"Internal":true,"Count Failed Values":true},{"ID":862,"Name":"internal.metrics.shuffle.read.remoteBytesReadToDisk","Value":0,"Internal":true,"Count Failed Values":true},{"ID":863,"Name":"internal.metrics.shuffle.read.localBytesRead","Value":693,"Internal":true,"Count Failed Values":true},{"ID":864,"Name":"internal.metrics.shuffle.read.fetchWaitTime","Value":0,"Internal":true,"Count Failed Values":true},{"ID":865,"Name":"internal.metrics.shuffle.read.recordsRead","Value":11,"Internal":true,"Count Failed Values":true},{"ID":866,"Name":"internal.metrics.shuffle.push.read.corruptMergedBlockChunks","Value":0,"Internal":true,"Count Failed Values":true},{"ID":867,"Name":"internal.metrics.shuffle.push.read.mergedFetchFallbackCount","Value":0,"Internal":true,"Count Failed Values":true},{"ID":868,"Name":"internal.metrics.shuffle.push.read.remoteMergedBlocksFetched","Value":0,"Internal":true,"Count Failed Values":true},{"ID":869,"Name":"internal.metrics.shuffle.push.read.localMergedBlocksFetched","Value":0,"Internal":true,"Count Failed Values":true},{"ID":870,"Name":"internal.metrics.shuffle.push.read.remoteMergedChunksFetched","Value":0,"Internal":true,"Count Failed Values":true},{"ID":871,"Name":"internal.metrics.shuffle.push.read.localMergedChunksFetched","Value":0,"Internal":true,"Count Failed Values":true},{"ID":872,"Name":"internal.metrics.shuffle.push.read.remoteMergedBytesRead","Value":0,"Internal":true,"Count Failed Values":true},{"ID":873,"Name":"internal.metrics.shuffle.push.read.localMergedBytesRead","Value":0,"Internal":true,"Count Failed Values":true},{"ID":874,"Name":"internal.metrics.shuffle.read.remoteReqsDuration","Value":0,"Internal":true,"Count Failed Values":true},{"ID":875,"Name":"internal.metrics.shuffle.push.read.remoteMergedReqsDuration","Value":0,"Internal":true,"Count Failed Values":true}],"Resource Profile Id":0,"Shuffle Push Enabled":false,"Shuffle Push Mergers Count":0}} {"Event":"SparkListenerJobEnd","Job ID":3,"Completion Time":1784546405552,"Job Result":{"Result":"JobSucceeded"}} {"Event":"org.apache.spark.sql.execution.ui.SparkListenerDriverAccumUpdates","executionId":0,"accumUpdates":[[681,7],[680,13],[679,233],[678,11],[677,1048688]]} {"Event":"SparkListenerTaskEnd","Stage ID":6,"Stage Attempt ID":0,"Task Type":"ShuffleMapTask","Task End Reason":{"Reason":"Success"},"Task Info":{"Task ID":4,"Index":0,"Attempt":0,"Partition ID":0,"Launch Time":1784546405426,"Executor ID":"0","Host":"172.28.0.49","Locality":"NODE_LOCAL","Speculative":false,"Getting Result Time":0,"Finish Time":1784546405640,"Failed":false,"Killed":false,"Accumulables":[{"ID":392,"Name":"local blocks read","Update":"1","Value":"1","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":395,"Name":"local bytes read","Update":"2582","Value":"2582","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":396,"Name":"fetch wait time","Update":"0","Value":"0","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":397,"Name":"records read","Update":"45","Value":"45","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":810,"Name":"data size","Update":"480","Value":"480","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":829,"Name":"shuffle bytes written","Update":"1257","Value":"1257","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":830,"Name":"shuffle records written","Update":"20","Value":"20","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":831,"Name":"shuffle write time","Update":"7363955","Value":"7363955","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":832,"Name":"duration","Update":"65","Value":"65","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":833,"Name":"number of output rows","Update":"20","Value":"20","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":834,"Name":"peak memory","Update":"262144","Value":"262144","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":836,"Name":"time in aggregation build","Update":"13","Value":"13","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":839,"Name":"number of output rows","Update":"45","Value":"45","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":840,"Name":"peak memory","Update":"262144","Value":"262144","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":842,"Name":"time in aggregation build","Update":"1","Value":"1","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":883,"Name":"internal.metrics.executorDeserializeTime","Update":30,"Value":30,"Internal":true,"Count Failed Values":true},{"ID":884,"Name":"internal.metrics.executorDeserializeCpuTime","Update":20150583,"Value":20150583,"Internal":true,"Count Failed Values":true},{"ID":885,"Name":"internal.metrics.executorRunTime","Update":174,"Value":174,"Internal":true,"Count Failed Values":true},{"ID":886,"Name":"internal.metrics.executorCpuTime","Update":130333687,"Value":130333687,"Internal":true,"Count Failed Values":true},{"ID":887,"Name":"internal.metrics.resultSize","Update":5890,"Value":5890,"Internal":true,"Count Failed Values":true},{"ID":888,"Name":"internal.metrics.jvmGCTime","Update":9,"Value":9,"Internal":true,"Count Failed Values":true},{"ID":892,"Name":"internal.metrics.peakExecutionMemory","Update":524288,"Value":524288,"Internal":true,"Count Failed Values":true},{"ID":894,"Name":"internal.metrics.shuffle.read.remoteBlocksFetched","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":895,"Name":"internal.metrics.shuffle.read.localBlocksFetched","Update":1,"Value":1,"Internal":true,"Count Failed Values":true},{"ID":896,"Name":"internal.metrics.shuffle.read.remoteBytesRead","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":897,"Name":"internal.metrics.shuffle.read.remoteBytesReadToDisk","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":898,"Name":"internal.metrics.shuffle.read.localBytesRead","Update":2582,"Value":2582,"Internal":true,"Count Failed Values":true},{"ID":899,"Name":"internal.metrics.shuffle.read.fetchWaitTime","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":900,"Name":"internal.metrics.shuffle.read.recordsRead","Update":45,"Value":45,"Internal":true,"Count Failed Values":true},{"ID":901,"Name":"internal.metrics.shuffle.push.read.corruptMergedBlockChunks","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":902,"Name":"internal.metrics.shuffle.push.read.mergedFetchFallbackCount","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":903,"Name":"internal.metrics.shuffle.push.read.remoteMergedBlocksFetched","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":904,"Name":"internal.metrics.shuffle.push.read.localMergedBlocksFetched","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":905,"Name":"internal.metrics.shuffle.push.read.remoteMergedChunksFetched","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":906,"Name":"internal.metrics.shuffle.push.read.localMergedChunksFetched","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":907,"Name":"internal.metrics.shuffle.push.read.remoteMergedBytesRead","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":908,"Name":"internal.metrics.shuffle.push.read.localMergedBytesRead","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":909,"Name":"internal.metrics.shuffle.read.remoteReqsDuration","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":910,"Name":"internal.metrics.shuffle.push.read.remoteMergedReqsDuration","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":911,"Name":"internal.metrics.shuffle.write.bytesWritten","Update":1257,"Value":1257,"Internal":true,"Count Failed Values":true},{"ID":912,"Name":"internal.metrics.shuffle.write.recordsWritten","Update":20,"Value":20,"Internal":true,"Count Failed Values":true},{"ID":913,"Name":"internal.metrics.shuffle.write.writeTime","Update":7363955,"Value":7363955,"Internal":true,"Count Failed Values":true}]},"Task Executor Metrics":{"JVMHeapMemory":0,"JVMOffHeapMemory":0,"OnHeapExecutionMemory":0,"OffHeapExecutionMemory":0,"OnHeapStorageMemory":0,"OffHeapStorageMemory":0,"OnHeapUnifiedMemory":0,"OffHeapUnifiedMemory":0,"DirectPoolMemory":0,"MappedPoolMemory":0,"ProcessTreeJVMVMemory":0,"ProcessTreeJVMRSSMemory":0,"ProcessTreePythonVMemory":0,"ProcessTreePythonRSSMemory":0,"ProcessTreeOtherVMemory":0,"ProcessTreeOtherRSSMemory":0,"MinorGCCount":0,"MinorGCTime":0,"MajorGCCount":0,"MajorGCTime":0,"TotalGCTime":0},"Task Metrics":{"Executor Deserialize Time":30,"Executor Deserialize CPU Time":20150583,"Executor Run Time":174,"Executor CPU Time":130333687,"Peak Execution Memory":524288,"Result Size":5890,"JVM GC Time":9,"Result Serialization Time":0,"Memory Bytes Spilled":0,"Disk Bytes Spilled":0,"Shuffle Read Metrics":{"Remote Blocks Fetched":0,"Local Blocks Fetched":1,"Fetch Wait Time":0,"Remote Bytes Read":0,"Remote Bytes Read To Disk":0,"Local Bytes Read":2582,"Total Records Read":45,"Remote Requests Duration":0,"Push Based Shuffle":{"Corrupt Merged Block Chunks":0,"Merged Fetch Fallback Count":0,"Merged Remote Blocks Fetched":0,"Merged Local Blocks Fetched":0,"Merged Remote Chunks Fetched":0,"Merged Local Chunks Fetched":0,"Merged Remote Bytes Read":0,"Merged Local Bytes Read":0,"Merged Remote Requests Duration":0}},"Shuffle Write Metrics":{"Shuffle Bytes Written":1257,"Shuffle Write Time":7363955,"Shuffle Records Written":20},"Input Metrics":{"Bytes Read":0,"Records Read":0},"Output Metrics":{"Bytes Written":0,"Records Written":0},"Updated Blocks":[]}} {"Event":"SparkListenerStageCompleted","Stage Info":{"Stage ID":6,"Stage Attempt ID":0,"Stage Name":"parquet at NativeMethodAccessorImpl.java:0","Number of Tasks":1,"RDD Info":[{"RDD ID":17,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"26\",\"name\":\"Exchange\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[16],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"UNORDERED","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":15,"Name":"ShuffledRowRDD","Scope":"{\"id\":\"31\",\"name\":\"AQEShuffleRead\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[7],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"UNORDERED","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":16,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"27\",\"name\":\"WholeStageCodegen (5)\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[15],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"UNORDERED","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0}],"Parent IDs":[5],"Details":"org.apache.spark.sql.DataFrameWriter.parquet(DataFrameWriter.scala:792)\njava.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\njava.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)\njava.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\njava.base/java.lang.reflect.Method.invoke(Method.java:569)\npy4j.reflection.MethodInvoker.invoke(MethodInvoker.java:244)\npy4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:374)\npy4j.Gateway.invoke(Gateway.java:282)\npy4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:132)\npy4j.commands.CallCommand.execute(CallCommand.java:79)\npy4j.ClientServerConnection.waitForCommands(ClientServerConnection.java:182)\npy4j.ClientServerConnection.run(ClientServerConnection.java:106)\njava.base/java.lang.Thread.run(Thread.java:840)","Submission Time":1784546405417,"Completion Time":1784546405644,"Accumulables":[{"ID":392,"Name":"local blocks read","Value":"1","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":395,"Name":"local bytes read","Value":"2582","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":396,"Name":"fetch wait time","Value":"0","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":397,"Name":"records read","Value":"45","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":810,"Name":"data size","Value":"480","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":829,"Name":"shuffle bytes written","Value":"1257","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":830,"Name":"shuffle records written","Value":"20","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":831,"Name":"shuffle write time","Value":"7363955","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":832,"Name":"duration","Value":"65","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":833,"Name":"number of output rows","Value":"20","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":834,"Name":"peak memory","Value":"262144","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":836,"Name":"time in aggregation build","Value":"13","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":839,"Name":"number of output rows","Value":"45","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":840,"Name":"peak memory","Value":"262144","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":842,"Name":"time in aggregation build","Value":"1","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":883,"Name":"internal.metrics.executorDeserializeTime","Value":30,"Internal":true,"Count Failed Values":true},{"ID":884,"Name":"internal.metrics.executorDeserializeCpuTime","Value":20150583,"Internal":true,"Count Failed Values":true},{"ID":885,"Name":"internal.metrics.executorRunTime","Value":174,"Internal":true,"Count Failed Values":true},{"ID":886,"Name":"internal.metrics.executorCpuTime","Value":130333687,"Internal":true,"Count Failed Values":true},{"ID":887,"Name":"internal.metrics.resultSize","Value":5890,"Internal":true,"Count Failed Values":true},{"ID":888,"Name":"internal.metrics.jvmGCTime","Value":9,"Internal":true,"Count Failed Values":true},{"ID":892,"Name":"internal.metrics.peakExecutionMemory","Value":524288,"Internal":true,"Count Failed Values":true},{"ID":894,"Name":"internal.metrics.shuffle.read.remoteBlocksFetched","Value":0,"Internal":true,"Count Failed Values":true},{"ID":895,"Name":"internal.metrics.shuffle.read.localBlocksFetched","Value":1,"Internal":true,"Count Failed Values":true},{"ID":896,"Name":"internal.metrics.shuffle.read.remoteBytesRead","Value":0,"Internal":true,"Count Failed Values":true},{"ID":897,"Name":"internal.metrics.shuffle.read.remoteBytesReadToDisk","Value":0,"Internal":true,"Count Failed Values":true},{"ID":898,"Name":"internal.metrics.shuffle.read.localBytesRead","Value":2582,"Internal":true,"Count Failed Values":true},{"ID":899,"Name":"internal.metrics.shuffle.read.fetchWaitTime","Value":0,"Internal":true,"Count Failed Values":true},{"ID":900,"Name":"internal.metrics.shuffle.read.recordsRead","Value":45,"Internal":true,"Count Failed Values":true},{"ID":901,"Name":"internal.metrics.shuffle.push.read.corruptMergedBlockChunks","Value":0,"Internal":true,"Count Failed Values":true},{"ID":902,"Name":"internal.metrics.shuffle.push.read.mergedFetchFallbackCount","Value":0,"Internal":true,"Count Failed Values":true},{"ID":903,"Name":"internal.metrics.shuffle.push.read.remoteMergedBlocksFetched","Value":0,"Internal":true,"Count Failed Values":true},{"ID":904,"Name":"internal.metrics.shuffle.push.read.localMergedBlocksFetched","Value":0,"Internal":true,"Count Failed Values":true},{"ID":905,"Name":"internal.metrics.shuffle.push.read.remoteMergedChunksFetched","Value":0,"Internal":true,"Count Failed Values":true},{"ID":906,"Name":"internal.metrics.shuffle.push.read.localMergedChunksFetched","Value":0,"Internal":true,"Count Failed Values":true},{"ID":907,"Name":"internal.metrics.shuffle.push.read.remoteMergedBytesRead","Value":0,"Internal":true,"Count Failed Values":true},{"ID":908,"Name":"internal.metrics.shuffle.push.read.localMergedBytesRead","Value":0,"Internal":true,"Count Failed Values":true},{"ID":909,"Name":"internal.metrics.shuffle.read.remoteReqsDuration","Value":0,"Internal":true,"Count Failed Values":true},{"ID":910,"Name":"internal.metrics.shuffle.push.read.remoteMergedReqsDuration","Value":0,"Internal":true,"Count Failed Values":true},{"ID":911,"Name":"internal.metrics.shuffle.write.bytesWritten","Value":1257,"Internal":true,"Count Failed Values":true},{"ID":912,"Name":"internal.metrics.shuffle.write.recordsWritten","Value":20,"Internal":true,"Count Failed Values":true},{"ID":913,"Name":"internal.metrics.shuffle.write.writeTime","Value":7363955,"Internal":true,"Count Failed Values":true}],"Resource Profile Id":0,"Shuffle Push Enabled":false,"Shuffle Push Mergers Count":0}} {"Event":"SparkListenerJobEnd","Job ID":4,"Completion Time":1784546405645,"Job Result":{"Result":"JobSucceeded"}} {"Event":"org.apache.spark.sql.execution.ui.SparkListenerSQLAdaptiveExecutionUpdate","executionId":0,"physicalPlanDescription":"== Physical Plan ==\nAdaptiveSparkPlan (79)\n+- == Current Plan ==\n Execute InsertIntoHadoopFsRelationCommand (45)\n +- WriteFiles (44)\n +- Sort (43)\n +- Exchange (42)\n +- Project (41)\n +- HashAggregate (40)\n +- Exchange (39)\n +- HashAggregate (38)\n +- HashAggregate (37)\n +- Exchange (36)\n +- HashAggregate (35)\n +- Expand (34)\n +- BroadcastHashJoin LeftOuter BuildRight (33)\n :- BroadcastHashJoin LeftOuter BuildRight (23)\n : :- Project (8)\n : : +- BroadcastHashJoin LeftOuter BuildRight (7)\n : : :- Project (2)\n : : : +- Scan csv (1)\n : : +- BroadcastQueryStage (6), Statistics(sizeInBytes=1024.2 KiB, rowCount=20)\n : : +- BroadcastExchange (5)\n : : +- * Filter (4)\n : : +- Scan csv (3)\n : +- BroadcastQueryStage (22)\n : +- BroadcastExchange (21)\n : +- * HashAggregate (20)\n : +- AQEShuffleRead (19)\n : +- ShuffleQueryStage (18), Statistics(sizeInBytes=480.0 B, rowCount=20)\n : +- Exchange (17)\n : +- * HashAggregate (16)\n : +- * HashAggregate (15)\n : +- AQEShuffleRead (14)\n : +- ShuffleQueryStage (13), Statistics(sizeInBytes=1080.0 B, rowCount=45)\n : +- Exchange (12)\n : +- * HashAggregate (11)\n : +- * Filter (10)\n : +- Scan csv (9)\n +- BroadcastQueryStage (32), Statistics(sizeInBytes=1024.1 KiB, rowCount=11)\n +- BroadcastExchange (31)\n +- * HashAggregate (30)\n +- AQEShuffleRead (29)\n +- ShuffleQueryStage (28), Statistics(sizeInBytes=264.0 B, rowCount=11)\n +- Exchange (27)\n +- * HashAggregate (26)\n +- * Filter (25)\n +- Scan csv (24)\n+- == Initial Plan ==\n Execute InsertIntoHadoopFsRelationCommand (78)\n +- WriteFiles (77)\n +- Sort (76)\n +- Exchange (75)\n +- Project (74)\n +- HashAggregate (73)\n +- Exchange (72)\n +- HashAggregate (71)\n +- HashAggregate (70)\n +- Exchange (69)\n +- HashAggregate (68)\n +- Expand (67)\n +- BroadcastHashJoin LeftOuter BuildRight (66)\n :- BroadcastHashJoin LeftOuter BuildRight (60)\n : :- Project (51)\n : : +- BroadcastHashJoin LeftOuter BuildRight (50)\n : : :- Project (47)\n : : : +- Scan csv (46)\n : : +- BroadcastExchange (49)\n : : +- Filter (48)\n : : +- Scan csv (3)\n : +- BroadcastExchange (59)\n : +- HashAggregate (58)\n : +- Exchange (57)\n : +- HashAggregate (56)\n : +- HashAggregate (55)\n : +- Exchange (54)\n : +- HashAggregate (53)\n : +- Filter (52)\n : +- Scan csv (9)\n +- BroadcastExchange (65)\n +- HashAggregate (64)\n +- Exchange (63)\n +- HashAggregate (62)\n +- Filter (61)\n +- Scan csv (24)\n\n\n(1) Scan csv \nOutput [2]: [id#0L, registration_date#4]\nBatched: false\nLocation: InMemoryFileIndex [s3a://apavlovets-bucket/raw/users.csv]\nReadSchema: struct\n\n(2) Project\nOutput [2]: [id#0L AS user_id#26L, date_trunc(month, registration_date#4, Some(Europe/Samara)) AS cohort_month_ts#27]\nInput [2]: [id#0L, registration_date#4]\n\n(3) Scan csv \nOutput [2]: [id#53L, registration_date#57]\nBatched: false\nLocation: InMemoryFileIndex [s3a://apavlovets-bucket/raw/users.csv]\nPushedFilters: [IsNotNull(id)]\nReadSchema: struct\n\n(4) Filter [codegen id : 1]\nInput [2]: [id#53L, registration_date#57]\nCondition : isnotnull(id#53L)\n\n(5) BroadcastExchange\nInput [2]: [id#53L, registration_date#57]\nArguments: HashedRelationBroadcastMode(List(input[0, bigint, false]),false), [plan_id=213]\n\n(6) BroadcastQueryStage\nOutput [2]: [id#53L, registration_date#57]\nArguments: 0\n\n(7) BroadcastHashJoin\nLeft keys [1]: [user_id#26L]\nRight keys [1]: [id#53L]\nJoin type: LeftOuter\nJoin condition: None\n\n(8) Project\nOutput [3]: [user_id#26L, cohort_month_ts#27, registration_date#57]\nInput [4]: [user_id#26L, cohort_month_ts#27, id#53L, registration_date#57]\n\n(9) Scan csv \nOutput [2]: [user_id#11L, course_id#12L]\nBatched: false\nLocation: InMemoryFileIndex [s3a://apavlovets-bucket/raw/enrollments.csv]\nPushedFilters: [IsNotNull(user_id)]\nReadSchema: struct\n\n(10) Filter [codegen id : 2]\nInput [2]: [user_id#11L, course_id#12L]\nCondition : isnotnull(user_id#11L)\n\n(11) HashAggregate [codegen id : 2]\nInput [2]: [user_id#11L, course_id#12L]\nKeys [2]: [user_id#11L, course_id#12L]\nFunctions: []\nAggregate Attributes: []\nResults [2]: [user_id#11L, course_id#12L]\n\n(12) Exchange\nInput [2]: [user_id#11L, course_id#12L]\nArguments: hashpartitioning(user_id#11L, course_id#12L, 200), ENSURE_REQUIREMENTS, [plan_id=226]\n\n(13) ShuffleQueryStage\nOutput [2]: [user_id#11L, course_id#12L]\nArguments: 1\n\n(14) AQEShuffleRead\nInput [2]: [user_id#11L, course_id#12L]\nArguments: coalesced\n\n(15) HashAggregate [codegen id : 5]\nInput [2]: [user_id#11L, course_id#12L]\nKeys [2]: [user_id#11L, course_id#12L]\nFunctions: []\nAggregate Attributes: []\nResults [2]: [user_id#11L, course_id#12L]\n\n(16) HashAggregate [codegen id : 5]\nInput [2]: [user_id#11L, course_id#12L]\nKeys [1]: [user_id#11L]\nFunctions [1]: [partial_count(distinct course_id#12L)]\nAggregate Attributes [1]: [count(course_id#12L)#36L]\nResults [2]: [user_id#11L, count#203L]\n\n(17) Exchange\nInput [2]: [user_id#11L, count#203L]\nArguments: hashpartitioning(user_id#11L, 200), ENSURE_REQUIREMENTS, [plan_id=507]\n\n(18) ShuffleQueryStage\nOutput [2]: [user_id#11L, count#203L]\nArguments: 4\n\n(19) AQEShuffleRead\nInput [2]: [user_id#11L, count#203L]\nArguments: coalesced\n\n(20) HashAggregate [codegen id : 6]\nInput [2]: [user_id#11L, count#203L]\nKeys [1]: [user_id#11L]\nFunctions [1]: [count(distinct course_id#12L)]\nAggregate Attributes [1]: [count(course_id#12L)#36L]\nResults [2]: [user_id#11L, count(course_id#12L)#36L AS courses_count#35L]\n\n(21) BroadcastExchange\nInput [2]: [user_id#11L, courses_count#35L]\nArguments: HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=700]\n\n(22) BroadcastQueryStage\nOutput [2]: [user_id#11L, courses_count#35L]\nArguments: 5\n\n(23) BroadcastHashJoin\nLeft keys [1]: [user_id#26L]\nRight keys [1]: [user_id#11L]\nJoin type: LeftOuter\nJoin condition: None\n\n(24) Scan csv \nOutput [2]: [user_id#19L, viewed_at#21]\nBatched: false\nLocation: InMemoryFileIndex [s3a://apavlovets-bucket/raw/lesson_views.csv]\nPushedFilters: [IsNotNull(user_id)]\nReadSchema: struct\n\n(25) Filter [codegen id : 3]\nInput [2]: [user_id#19L, viewed_at#21]\nCondition : isnotnull(user_id#19L)\n\n(26) HashAggregate [codegen id : 3]\nInput [2]: [user_id#19L, viewed_at#21]\nKeys [1]: [user_id#19L]\nFunctions [1]: [partial_min(viewed_at#21)]\nAggregate Attributes [1]: [min#205]\nResults [2]: [user_id#19L, min#206]\n\n(27) Exchange\nInput [2]: [user_id#19L, min#206]\nArguments: hashpartitioning(user_id#19L, 200), ENSURE_REQUIREMENTS, [plan_id=246]\n\n(28) ShuffleQueryStage\nOutput [2]: [user_id#19L, min#206]\nArguments: 2\n\n(29) AQEShuffleRead\nInput [2]: [user_id#19L, min#206]\nArguments: coalesced\n\n(30) HashAggregate [codegen id : 4]\nInput [2]: [user_id#19L, min#206]\nKeys [1]: [user_id#19L]\nFunctions [1]: [min(viewed_at#21)]\nAggregate Attributes [1]: [min(viewed_at#21)#46]\nResults [2]: [user_id#19L, min(viewed_at#21)#46 AS first_viewed_at#47]\n\n(31) BroadcastExchange\nInput [2]: [user_id#19L, first_viewed_at#47]\nArguments: HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=384]\n\n(32) BroadcastQueryStage\nOutput [2]: [user_id#19L, first_viewed_at#47]\nArguments: 3\n\n(33) BroadcastHashJoin\nLeft keys [1]: [user_id#26L]\nRight keys [1]: [user_id#19L]\nJoin type: LeftOuter\nJoin condition: None\n\n(34) Expand\nInput [7]: [user_id#26L, cohort_month_ts#27, registration_date#57, user_id#11L, courses_count#35L, user_id#19L, first_viewed_at#47]\nArguments: [[cohort_month_ts#27, null, null, null, 0, courses_count#35L, datediff(cast(first_viewed_at#47 as date), cast(registration_date#57 as date))], [cohort_month_ts#27, user_id#26L, null, null, 1, null, null], [cohort_month_ts#27, null, user_id#11L, null, 2, null, null], [cohort_month_ts#27, null, null, user_id#19L, 3, null, null]], [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, ue.courses_count#173L, datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174]\n\n(35) HashAggregate\nInput [7]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, ue.courses_count#173L, datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174]\nKeys [5]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169]\nFunctions [2]: [partial_avg(ue.courses_count#173L), partial_avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174)]\nAggregate Attributes [4]: [sum#193, count#194L, sum#195, count#196L]\nResults [9]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, sum#197, count#198L, sum#199, count#200L]\n\n(36) Exchange\nInput [9]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, sum#197, count#198L, sum#199, count#200L]\nArguments: hashpartitioning(cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, 200), ENSURE_REQUIREMENTS, [plan_id=712]\n\n(37) HashAggregate\nInput [9]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, sum#197, count#198L, sum#199, count#200L]\nKeys [5]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169]\nFunctions [2]: [avg(ue.courses_count#173L), avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174)]\nAggregate Attributes [2]: [avg(ue.courses_count#173L)#127, avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174)#129]\nResults [7]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, avg(ue.courses_count#173L)#127 AS avg(ue.courses_count)#175, avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174)#129 AS avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177]\n\n(38) HashAggregate\nInput [7]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, avg(ue.courses_count)#175, avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177]\nKeys [1]: [cohort_month_ts#27]\nFunctions [5]: [partial_count(c.user_id#170L) FILTER (WHERE (gid#169 = 1)), partial_count(ue.user_id#171L) FILTER (WHERE (gid#169 = 2)), partial_count(ufv.user_id#172L) FILTER (WHERE (gid#169 = 3)), partial_first(avg(ue.courses_count)#175, true) FILTER (WHERE (gid#169 = 0)), partial_first(avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177, true) FILTER (WHERE (gid#169 = 0))]\nAggregate Attributes [7]: [count#179L, count#180L, count#181L, first#182, valueSet#183, first#184, valueSet#185]\nResults [8]: [cohort_month_ts#27, count#186L, count#187L, count#188L, first#189, valueSet#190, first#191, valueSet#192]\n\n(39) Exchange\nInput [8]: [cohort_month_ts#27, count#186L, count#187L, count#188L, first#189, valueSet#190, first#191, valueSet#192]\nArguments: hashpartitioning(cohort_month_ts#27, 200), ENSURE_REQUIREMENTS, [plan_id=715]\n\n(40) HashAggregate\nInput [8]: [cohort_month_ts#27, count#186L, count#187L, count#188L, first#189, valueSet#190, first#191, valueSet#192]\nKeys [1]: [cohort_month_ts#27]\nFunctions [5]: [count(c.user_id#170L), count(ue.user_id#171L), count(ufv.user_id#172L), first(avg(ue.courses_count)#175, true), first(avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177, true)]\nAggregate Attributes [5]: [count(c.user_id#170L)#131L, count(ue.user_id#171L)#132L, count(ufv.user_id#172L)#133L, first(avg(ue.courses_count)#175) ignore nulls#176, first(avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177) ignore nulls#178]\nResults [6]: [cohort_month_ts#27, count(c.user_id#170L)#131L AS users_in_cohort#124L, count(ue.user_id#171L)#132L AS enrolled_users#125L, count(ufv.user_id#172L)#133L AS active_users#126L, round(first(avg(ue.courses_count)#175) ignore nulls#176, 2) AS avg_courses_per_user#128, round(first(avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177) ignore nulls#178, 2) AS avg_time_to_first_view#130]\n\n(41) Project\nOutput [7]: [date_format(cohort_month_ts#27, yyyy-MM, Some(Europe/Samara)) AS cohort_month#154, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130, CASE WHEN NOT (users_in_cohort#124L = 0) THEN round(((cast(active_users#126L as double) * 100.0) / cast(users_in_cohort#124L as double)), 2) END AS retention_rate#146]\nInput [6]: [cohort_month_ts#27, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130]\n\n(42) Exchange\nInput [7]: [cohort_month#154, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130, retention_rate#146]\nArguments: rangepartitioning(cohort_month#154 ASC NULLS FIRST, 200), ENSURE_REQUIREMENTS, [plan_id=718]\n\n(43) Sort\nInput [7]: [cohort_month#154, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130, retention_rate#146]\nArguments: [cohort_month#154 ASC NULLS FIRST], true, 0\n\n(44) WriteFiles\nInput [7]: [cohort_month#154, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130, retention_rate#146]\n\n(45) Execute InsertIntoHadoopFsRelationCommand\nInput: []\nArguments: s3a://apavlovets-bucket/marts/user_cohort_analysis.parquet, false, Parquet, [path=s3a://apavlovets-bucket/marts/user_cohort_analysis.parquet], Overwrite, [cohort_month, users_in_cohort, enrolled_users, active_users, avg_courses_per_user, avg_time_to_first_view, retention_rate]\n\n(46) Scan csv \nOutput [2]: [id#0L, registration_date#4]\nBatched: false\nLocation: InMemoryFileIndex [s3a://apavlovets-bucket/raw/users.csv]\nReadSchema: struct\n\n(47) Project\nOutput [2]: [id#0L AS user_id#26L, date_trunc(month, registration_date#4, Some(Europe/Samara)) AS cohort_month_ts#27]\nInput [2]: [id#0L, registration_date#4]\n\n(48) Filter\nInput [2]: [id#53L, registration_date#57]\nCondition : isnotnull(id#53L)\n\n(49) BroadcastExchange\nInput [2]: [id#53L, registration_date#57]\nArguments: HashedRelationBroadcastMode(List(input[0, bigint, false]),false), [plan_id=119]\n\n(50) BroadcastHashJoin\nLeft keys [1]: [user_id#26L]\nRight keys [1]: [id#53L]\nJoin type: LeftOuter\nJoin condition: None\n\n(51) Project\nOutput [3]: [user_id#26L, cohort_month_ts#27, registration_date#57]\nInput [4]: [user_id#26L, cohort_month_ts#27, id#53L, registration_date#57]\n\n(52) Filter\nInput [2]: [user_id#11L, course_id#12L]\nCondition : isnotnull(user_id#11L)\n\n(53) HashAggregate\nInput [2]: [user_id#11L, course_id#12L]\nKeys [2]: [user_id#11L, course_id#12L]\nFunctions: []\nAggregate Attributes: []\nResults [2]: [user_id#11L, course_id#12L]\n\n(54) Exchange\nInput [2]: [user_id#11L, course_id#12L]\nArguments: hashpartitioning(user_id#11L, course_id#12L, 200), ENSURE_REQUIREMENTS, [plan_id=122]\n\n(55) HashAggregate\nInput [2]: [user_id#11L, course_id#12L]\nKeys [2]: [user_id#11L, course_id#12L]\nFunctions: []\nAggregate Attributes: []\nResults [2]: [user_id#11L, course_id#12L]\n\n(56) HashAggregate\nInput [2]: [user_id#11L, course_id#12L]\nKeys [1]: [user_id#11L]\nFunctions [1]: [partial_count(distinct course_id#12L)]\nAggregate Attributes [1]: [count(course_id#12L)#36L]\nResults [2]: [user_id#11L, count#203L]\n\n(57) Exchange\nInput [2]: [user_id#11L, count#203L]\nArguments: hashpartitioning(user_id#11L, 200), ENSURE_REQUIREMENTS, [plan_id=126]\n\n(58) HashAggregate\nInput [2]: [user_id#11L, count#203L]\nKeys [1]: [user_id#11L]\nFunctions [1]: [count(distinct course_id#12L)]\nAggregate Attributes [1]: [count(course_id#12L)#36L]\nResults [2]: [user_id#11L, count(course_id#12L)#36L AS courses_count#35L]\n\n(59) BroadcastExchange\nInput [2]: [user_id#11L, courses_count#35L]\nArguments: HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=129]\n\n(60) BroadcastHashJoin\nLeft keys [1]: [user_id#26L]\nRight keys [1]: [user_id#11L]\nJoin type: LeftOuter\nJoin condition: None\n\n(61) Filter\nInput [2]: [user_id#19L, viewed_at#21]\nCondition : isnotnull(user_id#19L)\n\n(62) HashAggregate\nInput [2]: [user_id#19L, viewed_at#21]\nKeys [1]: [user_id#19L]\nFunctions [1]: [partial_min(viewed_at#21)]\nAggregate Attributes [1]: [min#205]\nResults [2]: [user_id#19L, min#206]\n\n(63) Exchange\nInput [2]: [user_id#19L, min#206]\nArguments: hashpartitioning(user_id#19L, 200), ENSURE_REQUIREMENTS, [plan_id=131]\n\n(64) HashAggregate\nInput [2]: [user_id#19L, min#206]\nKeys [1]: [user_id#19L]\nFunctions [1]: [min(viewed_at#21)]\nAggregate Attributes [1]: [min(viewed_at#21)#46]\nResults [2]: [user_id#19L, min(viewed_at#21)#46 AS first_viewed_at#47]\n\n(65) BroadcastExchange\nInput [2]: [user_id#19L, first_viewed_at#47]\nArguments: HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=134]\n\n(66) BroadcastHashJoin\nLeft keys [1]: [user_id#26L]\nRight keys [1]: [user_id#19L]\nJoin type: LeftOuter\nJoin condition: None\n\n(67) Expand\nInput [7]: [user_id#26L, cohort_month_ts#27, registration_date#57, user_id#11L, courses_count#35L, user_id#19L, first_viewed_at#47]\nArguments: [[cohort_month_ts#27, null, null, null, 0, courses_count#35L, datediff(cast(first_viewed_at#47 as date), cast(registration_date#57 as date))], [cohort_month_ts#27, user_id#26L, null, null, 1, null, null], [cohort_month_ts#27, null, user_id#11L, null, 2, null, null], [cohort_month_ts#27, null, null, user_id#19L, 3, null, null]], [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, ue.courses_count#173L, datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174]\n\n(68) HashAggregate\nInput [7]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, ue.courses_count#173L, datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174]\nKeys [5]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169]\nFunctions [2]: [partial_avg(ue.courses_count#173L), partial_avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174)]\nAggregate Attributes [4]: [sum#193, count#194L, sum#195, count#196L]\nResults [9]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, sum#197, count#198L, sum#199, count#200L]\n\n(69) Exchange\nInput [9]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, sum#197, count#198L, sum#199, count#200L]\nArguments: hashpartitioning(cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, 200), ENSURE_REQUIREMENTS, [plan_id=139]\n\n(70) HashAggregate\nInput [9]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, sum#197, count#198L, sum#199, count#200L]\nKeys [5]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169]\nFunctions [2]: [avg(ue.courses_count#173L), avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174)]\nAggregate Attributes [2]: [avg(ue.courses_count#173L)#127, avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174)#129]\nResults [7]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, avg(ue.courses_count#173L)#127 AS avg(ue.courses_count)#175, avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174)#129 AS avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177]\n\n(71) HashAggregate\nInput [7]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, avg(ue.courses_count)#175, avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177]\nKeys [1]: [cohort_month_ts#27]\nFunctions [5]: [partial_count(c.user_id#170L) FILTER (WHERE (gid#169 = 1)), partial_count(ue.user_id#171L) FILTER (WHERE (gid#169 = 2)), partial_count(ufv.user_id#172L) FILTER (WHERE (gid#169 = 3)), partial_first(avg(ue.courses_count)#175, true) FILTER (WHERE (gid#169 = 0)), partial_first(avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177, true) FILTER (WHERE (gid#169 = 0))]\nAggregate Attributes [7]: [count#179L, count#180L, count#181L, first#182, valueSet#183, first#184, valueSet#185]\nResults [8]: [cohort_month_ts#27, count#186L, count#187L, count#188L, first#189, valueSet#190, first#191, valueSet#192]\n\n(72) Exchange\nInput [8]: [cohort_month_ts#27, count#186L, count#187L, count#188L, first#189, valueSet#190, first#191, valueSet#192]\nArguments: hashpartitioning(cohort_month_ts#27, 200), ENSURE_REQUIREMENTS, [plan_id=143]\n\n(73) HashAggregate\nInput [8]: [cohort_month_ts#27, count#186L, count#187L, count#188L, first#189, valueSet#190, first#191, valueSet#192]\nKeys [1]: [cohort_month_ts#27]\nFunctions [5]: [count(c.user_id#170L), count(ue.user_id#171L), count(ufv.user_id#172L), first(avg(ue.courses_count)#175, true), first(avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177, true)]\nAggregate Attributes [5]: [count(c.user_id#170L)#131L, count(ue.user_id#171L)#132L, count(ufv.user_id#172L)#133L, first(avg(ue.courses_count)#175) ignore nulls#176, first(avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177) ignore nulls#178]\nResults [6]: [cohort_month_ts#27, count(c.user_id#170L)#131L AS users_in_cohort#124L, count(ue.user_id#171L)#132L AS enrolled_users#125L, count(ufv.user_id#172L)#133L AS active_users#126L, round(first(avg(ue.courses_count)#175) ignore nulls#176, 2) AS avg_courses_per_user#128, round(first(avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177) ignore nulls#178, 2) AS avg_time_to_first_view#130]\n\n(74) Project\nOutput [7]: [date_format(cohort_month_ts#27, yyyy-MM, Some(Europe/Samara)) AS cohort_month#154, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130, CASE WHEN NOT (users_in_cohort#124L = 0) THEN round(((cast(active_users#126L as double) * 100.0) / cast(users_in_cohort#124L as double)), 2) END AS retention_rate#146]\nInput [6]: [cohort_month_ts#27, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130]\n\n(75) Exchange\nInput [7]: [cohort_month#154, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130, retention_rate#146]\nArguments: rangepartitioning(cohort_month#154 ASC NULLS FIRST, 200), ENSURE_REQUIREMENTS, [plan_id=147]\n\n(76) Sort\nInput [7]: [cohort_month#154, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130, retention_rate#146]\nArguments: [cohort_month#154 ASC NULLS FIRST], true, 0\n\n(77) WriteFiles\nInput [7]: [cohort_month#154, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130, retention_rate#146]\n\n(78) Execute InsertIntoHadoopFsRelationCommand\nInput: []\nArguments: s3a://apavlovets-bucket/marts/user_cohort_analysis.parquet, false, Parquet, [path=s3a://apavlovets-bucket/marts/user_cohort_analysis.parquet], Overwrite, [cohort_month, users_in_cohort, enrolled_users, active_users, avg_courses_per_user, avg_time_to_first_view, retention_rate]\n\n(79) AdaptiveSparkPlan\nOutput: []\nArguments: isFinalPlan=false\n\n","sparkPlanInfo":{"nodeName":"AdaptiveSparkPlan","simpleString":"AdaptiveSparkPlan isFinalPlan=false","children":[{"nodeName":"Execute InsertIntoHadoopFsRelationCommand","simpleString":"Execute InsertIntoHadoopFsRelationCommand s3a://apavlovets-bucket/marts/user_cohort_analysis.parquet, false, Parquet, [path=s3a://apavlovets-bucket/marts/user_cohort_analysis.parquet], Overwrite, [cohort_month, users_in_cohort, enrolled_users, active_users, avg_courses_per_user, avg_time_to_first_view, retention_rate]","children":[{"nodeName":"WriteFiles","simpleString":"WriteFiles","children":[{"nodeName":"Sort","simpleString":"Sort [cohort_month#154 ASC NULLS FIRST], true, 0","children":[{"nodeName":"Exchange","simpleString":"Exchange rangepartitioning(cohort_month#154 ASC NULLS FIRST, 200), ENSURE_REQUIREMENTS, [plan_id=718]","children":[{"nodeName":"Project","simpleString":"Project [date_format(cohort_month_ts#27, yyyy-MM, Some(Europe/Samara)) AS cohort_month#154, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130, CASE WHEN NOT (users_in_cohort#124L = 0) THEN round(((cast(active_users#126L as double) * 100.0) / cast(users_in_cohort#124L as double)), 2) END AS retention_rate#146]","children":[{"nodeName":"HashAggregate","simpleString":"HashAggregate(keys=[cohort_month_ts#27], functions=[count(c.user_id#170L), count(ue.user_id#171L), count(ufv.user_id#172L), first(avg(ue.courses_count)#175, true), first(avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177, true)])","children":[{"nodeName":"Exchange","simpleString":"Exchange hashpartitioning(cohort_month_ts#27, 200), ENSURE_REQUIREMENTS, [plan_id=715]","children":[{"nodeName":"HashAggregate","simpleString":"HashAggregate(keys=[cohort_month_ts#27], functions=[partial_count(c.user_id#170L) FILTER (WHERE (gid#169 = 1)), partial_count(ue.user_id#171L) FILTER (WHERE (gid#169 = 2)), partial_count(ufv.user_id#172L) FILTER (WHERE (gid#169 = 3)), partial_first(avg(ue.courses_count)#175, true) FILTER (WHERE (gid#169 = 0)), partial_first(avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177, true) FILTER (WHERE (gid#169 = 0))])","children":[{"nodeName":"HashAggregate","simpleString":"HashAggregate(keys=[cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169], functions=[avg(ue.courses_count#173L), avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174)])","children":[{"nodeName":"Exchange","simpleString":"Exchange hashpartitioning(cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, 200), ENSURE_REQUIREMENTS, [plan_id=712]","children":[{"nodeName":"HashAggregate","simpleString":"HashAggregate(keys=[cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169], functions=[partial_avg(ue.courses_count#173L), partial_avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174)])","children":[{"nodeName":"Expand","simpleString":"Expand [[cohort_month_ts#27, null, null, null, 0, courses_count#35L, datediff(cast(first_viewed_at#47 as date), cast(registration_date#57 as date))], [cohort_month_ts#27, user_id#26L, null, null, 1, null, null], [cohort_month_ts#27, null, user_id#11L, null, 2, null, null], [cohort_month_ts#27, null, null, user_id#19L, 3, null, null]], [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, ue.courses_count#173L, datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174]","children":[{"nodeName":"BroadcastHashJoin","simpleString":"BroadcastHashJoin [user_id#26L], [user_id#19L], LeftOuter, BuildRight, false","children":[{"nodeName":"BroadcastHashJoin","simpleString":"BroadcastHashJoin [user_id#26L], [user_id#11L], LeftOuter, BuildRight, false","children":[{"nodeName":"Project","simpleString":"Project [user_id#26L, cohort_month_ts#27, registration_date#57]","children":[{"nodeName":"BroadcastHashJoin","simpleString":"BroadcastHashJoin [user_id#26L], [id#53L], LeftOuter, BuildRight, false","children":[{"nodeName":"Project","simpleString":"Project [id#0L AS user_id#26L, date_trunc(month, registration_date#4, Some(Europe/Samara)) AS cohort_month_ts#27]","children":[{"nodeName":"Scan csv ","simpleString":"FileScan csv [id#0L,registration_date#4] Batched: false, DataFilters: [], Format: CSV, Location: InMemoryFileIndex(1 paths)[s3a://apavlovets-bucket/raw/users.csv], PartitionFilters: [], PushedFilters: [], ReadSchema: struct","children":[],"metadata":{"Location":"InMemoryFileIndex(1 paths)[s3a://apavlovets-bucket/raw/users.csv]","ReadSchema":"struct","Format":"CSV","Batched":"false","PartitionFilters":"[]","PushedFilters":"[]","DataFilters":"[]"},"metrics":[{"name":"number of output rows","accumulatorId":1021,"metricType":"sum"},{"name":"number of files read","accumulatorId":1022,"metricType":"sum"},{"name":"metadata time","accumulatorId":1023,"metricType":"timing"},{"name":"size of files read","accumulatorId":1024,"metricType":"size"}]}],"metadata":{},"metrics":[]},{"nodeName":"BroadcastQueryStage","simpleString":"BroadcastQueryStage 0","children":[{"nodeName":"BroadcastExchange","simpleString":"BroadcastExchange HashedRelationBroadcastMode(List(input[0, bigint, false]),false), [plan_id=213]","children":[{"nodeName":"WholeStageCodegen (1)","simpleString":"WholeStageCodegen (1)","children":[{"nodeName":"Filter","simpleString":"Filter isnotnull(id#53L)","children":[{"nodeName":"InputAdapter","simpleString":"InputAdapter","children":[{"nodeName":"Scan csv ","simpleString":"FileScan csv [id#53L,registration_date#57] Batched: false, DataFilters: [isnotnull(id#53L)], Format: CSV, Location: InMemoryFileIndex(1 paths)[s3a://apavlovets-bucket/raw/users.csv], PartitionFilters: [], PushedFilters: [IsNotNull(id)], ReadSchema: struct","children":[],"metadata":{"Location":"InMemoryFileIndex(1 paths)[s3a://apavlovets-bucket/raw/users.csv]","ReadSchema":"struct","Format":"CSV","Batched":"false","PartitionFilters":"[]","PushedFilters":"[IsNotNull(id)]","DataFilters":"[isnotnull(id#53L)]"},"metrics":[{"name":"number of output rows","accumulatorId":114,"metricType":"sum"},{"name":"number of files read","accumulatorId":115,"metricType":"sum"},{"name":"metadata time","accumulatorId":116,"metricType":"timing"},{"name":"size of files read","accumulatorId":117,"metricType":"size"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"number of output rows","accumulatorId":343,"metricType":"sum"}]}],"metadata":{},"metrics":[{"name":"duration","accumulatorId":342,"metricType":"timing"}]}],"metadata":{},"metrics":[{"name":"time to broadcast","accumulatorId":341,"metricType":"timing"},{"name":"time to build","accumulatorId":340,"metricType":"timing"},{"name":"time to collect","accumulatorId":339,"metricType":"timing"},{"name":"number of output rows","accumulatorId":338,"metricType":"sum"},{"name":"data size","accumulatorId":337,"metricType":"size"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"number of output rows","accumulatorId":1020,"metricType":"sum"}]}],"metadata":{},"metrics":[]},{"nodeName":"BroadcastQueryStage","simpleString":"BroadcastQueryStage 5","children":[{"nodeName":"BroadcastExchange","simpleString":"BroadcastExchange HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=700]","children":[{"nodeName":"WholeStageCodegen (6)","simpleString":"WholeStageCodegen (6)","children":[{"nodeName":"HashAggregate","simpleString":"HashAggregate(keys=[user_id#11L], functions=[count(distinct course_id#12L)])","children":[{"nodeName":"InputAdapter","simpleString":"InputAdapter","children":[{"nodeName":"AQEShuffleRead","simpleString":"AQEShuffleRead coalesced","children":[{"nodeName":"ShuffleQueryStage","simpleString":"ShuffleQueryStage 4","children":[{"nodeName":"Exchange","simpleString":"Exchange hashpartitioning(user_id#11L, 200), ENSURE_REQUIREMENTS, [plan_id=507]","children":[{"nodeName":"WholeStageCodegen (5)","simpleString":"WholeStageCodegen (5)","children":[{"nodeName":"HashAggregate","simpleString":"HashAggregate(keys=[user_id#11L], functions=[partial_count(distinct course_id#12L)])","children":[{"nodeName":"HashAggregate","simpleString":"HashAggregate(keys=[user_id#11L, course_id#12L], functions=[])","children":[{"nodeName":"InputAdapter","simpleString":"InputAdapter","children":[{"nodeName":"AQEShuffleRead","simpleString":"AQEShuffleRead coalesced","children":[{"nodeName":"ShuffleQueryStage","simpleString":"ShuffleQueryStage 1","children":[{"nodeName":"Exchange","simpleString":"Exchange hashpartitioning(user_id#11L, course_id#12L, 200), ENSURE_REQUIREMENTS, [plan_id=226]","children":[{"nodeName":"WholeStageCodegen (2)","simpleString":"WholeStageCodegen (2)","children":[{"nodeName":"HashAggregate","simpleString":"HashAggregate(keys=[user_id#11L, course_id#12L], functions=[])","children":[{"nodeName":"Filter","simpleString":"Filter isnotnull(user_id#11L)","children":[{"nodeName":"InputAdapter","simpleString":"InputAdapter","children":[{"nodeName":"Scan csv ","simpleString":"FileScan csv [user_id#11L,course_id#12L] Batched: false, DataFilters: [isnotnull(user_id#11L)], Format: CSV, Location: InMemoryFileIndex(1 paths)[s3a://apavlovets-bucket/raw/enrollments.csv], PartitionFilters: [], PushedFilters: [IsNotNull(user_id)], ReadSchema: struct","children":[],"metadata":{"Location":"InMemoryFileIndex(1 paths)[s3a://apavlovets-bucket/raw/enrollments.csv]","ReadSchema":"struct","Format":"CSV","Batched":"false","PartitionFilters":"[]","PushedFilters":"[IsNotNull(user_id)]","DataFilters":"[isnotnull(user_id#11L)]"},"metrics":[{"name":"number of output rows","accumulatorId":192,"metricType":"sum"},{"name":"number of files read","accumulatorId":193,"metricType":"sum"},{"name":"metadata time","accumulatorId":194,"metricType":"timing"},{"name":"size of files read","accumulatorId":195,"metricType":"size"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"number of output rows","accumulatorId":418,"metricType":"sum"}]}],"metadata":{},"metrics":[{"name":"spill size","accumulatorId":414,"metricType":"size"},{"name":"time in aggregation build","accumulatorId":415,"metricType":"timing"},{"name":"peak memory","accumulatorId":413,"metricType":"size"},{"name":"number of output rows","accumulatorId":412,"metricType":"sum"},{"name":"number of sort fallback tasks","accumulatorId":417,"metricType":"sum"},{"name":"avg hash probes per key","accumulatorId":416,"metricType":"average"}]}],"metadata":{},"metrics":[{"name":"duration","accumulatorId":411,"metricType":"timing"}]}],"metadata":{},"metrics":[{"name":"shuffle records written","accumulatorId":409,"metricType":"sum"},{"name":"local merged chunks fetched","accumulatorId":403,"metricType":"sum"},{"name":"shuffle write time","accumulatorId":410,"metricType":"nsTiming"},{"name":"remote merged bytes read","accumulatorId":404,"metricType":"size"},{"name":"local merged blocks fetched","accumulatorId":401,"metricType":"sum"},{"name":"corrupt merged block chunks","accumulatorId":398,"metricType":"sum"},{"name":"remote merged reqs duration","accumulatorId":407,"metricType":"timing"},{"name":"remote merged blocks fetched","accumulatorId":400,"metricType":"sum"},{"name":"records read","accumulatorId":397,"metricType":"sum"},{"name":"local bytes read","accumulatorId":395,"metricType":"size"},{"name":"fetch wait time","accumulatorId":396,"metricType":"timing"},{"name":"remote bytes read","accumulatorId":393,"metricType":"size"},{"name":"merged fetch fallback count","accumulatorId":399,"metricType":"sum"},{"name":"local blocks read","accumulatorId":392,"metricType":"sum"},{"name":"remote merged chunks fetched","accumulatorId":402,"metricType":"sum"},{"name":"remote blocks read","accumulatorId":391,"metricType":"sum"},{"name":"data size","accumulatorId":389,"metricType":"size"},{"name":"local merged bytes read","accumulatorId":405,"metricType":"size"},{"name":"number of partitions","accumulatorId":390,"metricType":"sum"},{"name":"remote reqs duration","accumulatorId":406,"metricType":"timing"},{"name":"remote bytes read to disk","accumulatorId":394,"metricType":"size"},{"name":"shuffle bytes written","accumulatorId":408,"metricType":"size"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"number of partitions","accumulatorId":845,"metricType":"sum"},{"name":"partition data size","accumulatorId":846,"metricType":"size"},{"name":"number of coalesced partitions","accumulatorId":847,"metricType":"sum"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"spill size","accumulatorId":841,"metricType":"size"},{"name":"time in aggregation build","accumulatorId":842,"metricType":"timing"},{"name":"peak memory","accumulatorId":840,"metricType":"size"},{"name":"number of output rows","accumulatorId":839,"metricType":"sum"},{"name":"number of sort fallback tasks","accumulatorId":844,"metricType":"sum"},{"name":"avg hash probes per key","accumulatorId":843,"metricType":"average"}]}],"metadata":{},"metrics":[{"name":"spill size","accumulatorId":835,"metricType":"size"},{"name":"time in aggregation build","accumulatorId":836,"metricType":"timing"},{"name":"peak memory","accumulatorId":834,"metricType":"size"},{"name":"number of output rows","accumulatorId":833,"metricType":"sum"},{"name":"number of sort fallback tasks","accumulatorId":838,"metricType":"sum"},{"name":"avg hash probes per key","accumulatorId":837,"metricType":"average"}]}],"metadata":{},"metrics":[{"name":"duration","accumulatorId":832,"metricType":"timing"}]}],"metadata":{},"metrics":[{"name":"shuffle records written","accumulatorId":830,"metricType":"sum"},{"name":"local merged chunks fetched","accumulatorId":824,"metricType":"sum"},{"name":"shuffle write time","accumulatorId":831,"metricType":"nsTiming"},{"name":"remote merged bytes read","accumulatorId":825,"metricType":"size"},{"name":"local merged blocks fetched","accumulatorId":822,"metricType":"sum"},{"name":"corrupt merged block chunks","accumulatorId":819,"metricType":"sum"},{"name":"remote merged reqs duration","accumulatorId":828,"metricType":"timing"},{"name":"remote merged blocks fetched","accumulatorId":821,"metricType":"sum"},{"name":"records read","accumulatorId":818,"metricType":"sum"},{"name":"local bytes read","accumulatorId":816,"metricType":"size"},{"name":"fetch wait time","accumulatorId":817,"metricType":"timing"},{"name":"remote bytes read","accumulatorId":814,"metricType":"size"},{"name":"merged fetch fallback count","accumulatorId":820,"metricType":"sum"},{"name":"local blocks read","accumulatorId":813,"metricType":"sum"},{"name":"remote merged chunks fetched","accumulatorId":823,"metricType":"sum"},{"name":"remote blocks read","accumulatorId":812,"metricType":"sum"},{"name":"data size","accumulatorId":810,"metricType":"size"},{"name":"local merged bytes read","accumulatorId":826,"metricType":"size"},{"name":"number of partitions","accumulatorId":811,"metricType":"sum"},{"name":"remote reqs duration","accumulatorId":827,"metricType":"timing"},{"name":"remote bytes read to disk","accumulatorId":815,"metricType":"size"},{"name":"shuffle bytes written","accumulatorId":829,"metricType":"size"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"number of partitions","accumulatorId":1037,"metricType":"sum"},{"name":"partition data size","accumulatorId":1038,"metricType":"size"},{"name":"number of coalesced partitions","accumulatorId":1039,"metricType":"sum"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"spill size","accumulatorId":1033,"metricType":"size"},{"name":"time in aggregation build","accumulatorId":1034,"metricType":"timing"},{"name":"peak memory","accumulatorId":1032,"metricType":"size"},{"name":"number of output rows","accumulatorId":1031,"metricType":"sum"},{"name":"number of sort fallback tasks","accumulatorId":1036,"metricType":"sum"},{"name":"avg hash probes per key","accumulatorId":1035,"metricType":"average"}]}],"metadata":{},"metrics":[{"name":"duration","accumulatorId":1030,"metricType":"timing"}]}],"metadata":{},"metrics":[{"name":"time to broadcast","accumulatorId":1029,"metricType":"timing"},{"name":"time to build","accumulatorId":1028,"metricType":"timing"},{"name":"time to collect","accumulatorId":1027,"metricType":"timing"},{"name":"number of output rows","accumulatorId":1026,"metricType":"sum"},{"name":"data size","accumulatorId":1025,"metricType":"size"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"number of output rows","accumulatorId":1019,"metricType":"sum"}]},{"nodeName":"BroadcastQueryStage","simpleString":"BroadcastQueryStage 3","children":[{"nodeName":"BroadcastExchange","simpleString":"BroadcastExchange HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=384]","children":[{"nodeName":"WholeStageCodegen (4)","simpleString":"WholeStageCodegen (4)","children":[{"nodeName":"HashAggregate","simpleString":"HashAggregate(keys=[user_id#19L], functions=[min(viewed_at#21)])","children":[{"nodeName":"InputAdapter","simpleString":"InputAdapter","children":[{"nodeName":"AQEShuffleRead","simpleString":"AQEShuffleRead coalesced","children":[{"nodeName":"ShuffleQueryStage","simpleString":"ShuffleQueryStage 2","children":[{"nodeName":"Exchange","simpleString":"Exchange hashpartitioning(user_id#19L, 200), ENSURE_REQUIREMENTS, [plan_id=246]","children":[{"nodeName":"WholeStageCodegen (3)","simpleString":"WholeStageCodegen (3)","children":[{"nodeName":"HashAggregate","simpleString":"HashAggregate(keys=[user_id#19L], functions=[partial_min(viewed_at#21)])","children":[{"nodeName":"Filter","simpleString":"Filter isnotnull(user_id#19L)","children":[{"nodeName":"InputAdapter","simpleString":"InputAdapter","children":[{"nodeName":"Scan csv ","simpleString":"FileScan csv [user_id#19L,viewed_at#21] Batched: false, DataFilters: [isnotnull(user_id#19L)], Format: CSV, Location: InMemoryFileIndex(1 paths)[s3a://apavlovets-bucket/raw/lesson_views.csv], PartitionFilters: [], PushedFilters: [IsNotNull(user_id)], ReadSchema: struct","children":[],"metadata":{"Location":"InMemoryFileIndex(1 paths)[s3a://apavlovets-bucket/raw/lesson_views.csv]","ReadSchema":"struct","Format":"CSV","Batched":"false","PartitionFilters":"[]","PushedFilters":"[IsNotNull(user_id)]","DataFilters":"[isnotnull(user_id#19L)]"},"metrics":[{"name":"number of output rows","accumulatorId":236,"metricType":"sum"},{"name":"number of files read","accumulatorId":237,"metricType":"sum"},{"name":"metadata time","accumulatorId":238,"metricType":"timing"},{"name":"size of files read","accumulatorId":239,"metricType":"size"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"number of output rows","accumulatorId":459,"metricType":"sum"}]}],"metadata":{},"metrics":[{"name":"spill size","accumulatorId":455,"metricType":"size"},{"name":"time in aggregation build","accumulatorId":456,"metricType":"timing"},{"name":"peak memory","accumulatorId":454,"metricType":"size"},{"name":"number of output rows","accumulatorId":453,"metricType":"sum"},{"name":"number of sort fallback tasks","accumulatorId":458,"metricType":"sum"},{"name":"avg hash probes per key","accumulatorId":457,"metricType":"average"}]}],"metadata":{},"metrics":[{"name":"duration","accumulatorId":452,"metricType":"timing"}]}],"metadata":{},"metrics":[{"name":"shuffle records written","accumulatorId":450,"metricType":"sum"},{"name":"local merged chunks fetched","accumulatorId":444,"metricType":"sum"},{"name":"shuffle write time","accumulatorId":451,"metricType":"nsTiming"},{"name":"remote merged bytes read","accumulatorId":445,"metricType":"size"},{"name":"local merged blocks fetched","accumulatorId":442,"metricType":"sum"},{"name":"corrupt merged block chunks","accumulatorId":439,"metricType":"sum"},{"name":"remote merged reqs duration","accumulatorId":448,"metricType":"timing"},{"name":"remote merged blocks fetched","accumulatorId":441,"metricType":"sum"},{"name":"records read","accumulatorId":438,"metricType":"sum"},{"name":"local bytes read","accumulatorId":436,"metricType":"size"},{"name":"fetch wait time","accumulatorId":437,"metricType":"timing"},{"name":"remote bytes read","accumulatorId":434,"metricType":"size"},{"name":"merged fetch fallback count","accumulatorId":440,"metricType":"sum"},{"name":"local blocks read","accumulatorId":433,"metricType":"sum"},{"name":"remote merged chunks fetched","accumulatorId":443,"metricType":"sum"},{"name":"remote blocks read","accumulatorId":432,"metricType":"sum"},{"name":"data size","accumulatorId":430,"metricType":"size"},{"name":"local merged bytes read","accumulatorId":446,"metricType":"size"},{"name":"number of partitions","accumulatorId":431,"metricType":"sum"},{"name":"remote reqs duration","accumulatorId":447,"metricType":"timing"},{"name":"remote bytes read to disk","accumulatorId":435,"metricType":"size"},{"name":"shuffle bytes written","accumulatorId":449,"metricType":"size"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"number of partitions","accumulatorId":689,"metricType":"sum"},{"name":"partition data size","accumulatorId":690,"metricType":"size"},{"name":"number of coalesced partitions","accumulatorId":691,"metricType":"sum"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"spill size","accumulatorId":685,"metricType":"size"},{"name":"time in aggregation build","accumulatorId":686,"metricType":"timing"},{"name":"peak memory","accumulatorId":684,"metricType":"size"},{"name":"number of output rows","accumulatorId":683,"metricType":"sum"},{"name":"number of sort fallback tasks","accumulatorId":688,"metricType":"sum"},{"name":"avg hash probes per key","accumulatorId":687,"metricType":"average"}]}],"metadata":{},"metrics":[{"name":"duration","accumulatorId":682,"metricType":"timing"}]}],"metadata":{},"metrics":[{"name":"time to broadcast","accumulatorId":681,"metricType":"timing"},{"name":"time to build","accumulatorId":680,"metricType":"timing"},{"name":"time to collect","accumulatorId":679,"metricType":"timing"},{"name":"number of output rows","accumulatorId":678,"metricType":"sum"},{"name":"data size","accumulatorId":677,"metricType":"size"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"number of output rows","accumulatorId":1018,"metricType":"sum"}]}],"metadata":{},"metrics":[{"name":"number of output rows","accumulatorId":1017,"metricType":"sum"}]}],"metadata":{},"metrics":[{"name":"spill size","accumulatorId":1013,"metricType":"size"},{"name":"time in aggregation build","accumulatorId":1014,"metricType":"timing"},{"name":"peak memory","accumulatorId":1012,"metricType":"size"},{"name":"number of output rows","accumulatorId":1011,"metricType":"sum"},{"name":"number of sort fallback tasks","accumulatorId":1016,"metricType":"sum"},{"name":"avg hash probes per key","accumulatorId":1015,"metricType":"average"}]}],"metadata":{},"metrics":[{"name":"shuffle records written","accumulatorId":1009,"metricType":"sum"},{"name":"local merged chunks fetched","accumulatorId":1003,"metricType":"sum"},{"name":"shuffle write time","accumulatorId":1010,"metricType":"nsTiming"},{"name":"remote merged bytes read","accumulatorId":1004,"metricType":"size"},{"name":"local merged blocks fetched","accumulatorId":1001,"metricType":"sum"},{"name":"corrupt merged block chunks","accumulatorId":998,"metricType":"sum"},{"name":"remote merged reqs duration","accumulatorId":1007,"metricType":"timing"},{"name":"remote merged blocks fetched","accumulatorId":1000,"metricType":"sum"},{"name":"records read","accumulatorId":997,"metricType":"sum"},{"name":"local bytes read","accumulatorId":995,"metricType":"size"},{"name":"fetch wait time","accumulatorId":996,"metricType":"timing"},{"name":"remote bytes read","accumulatorId":993,"metricType":"size"},{"name":"merged fetch fallback count","accumulatorId":999,"metricType":"sum"},{"name":"local blocks read","accumulatorId":992,"metricType":"sum"},{"name":"remote merged chunks fetched","accumulatorId":1002,"metricType":"sum"},{"name":"remote blocks read","accumulatorId":991,"metricType":"sum"},{"name":"data size","accumulatorId":989,"metricType":"size"},{"name":"local merged bytes read","accumulatorId":1005,"metricType":"size"},{"name":"number of partitions","accumulatorId":990,"metricType":"sum"},{"name":"remote reqs duration","accumulatorId":1006,"metricType":"timing"},{"name":"remote bytes read to disk","accumulatorId":994,"metricType":"size"},{"name":"shuffle bytes written","accumulatorId":1008,"metricType":"size"}]}],"metadata":{},"metrics":[{"name":"spill size","accumulatorId":985,"metricType":"size"},{"name":"time in aggregation build","accumulatorId":986,"metricType":"timing"},{"name":"peak memory","accumulatorId":984,"metricType":"size"},{"name":"number of output rows","accumulatorId":983,"metricType":"sum"},{"name":"number of sort fallback tasks","accumulatorId":988,"metricType":"sum"},{"name":"avg hash probes per key","accumulatorId":987,"metricType":"average"}]}],"metadata":{},"metrics":[{"name":"spill size","accumulatorId":979,"metricType":"size"},{"name":"time in aggregation build","accumulatorId":980,"metricType":"timing"},{"name":"peak memory","accumulatorId":978,"metricType":"size"},{"name":"number of output rows","accumulatorId":977,"metricType":"sum"},{"name":"number of sort fallback tasks","accumulatorId":982,"metricType":"sum"},{"name":"avg hash probes per key","accumulatorId":981,"metricType":"average"}]}],"metadata":{},"metrics":[{"name":"shuffle records written","accumulatorId":975,"metricType":"sum"},{"name":"local merged chunks fetched","accumulatorId":969,"metricType":"sum"},{"name":"shuffle write time","accumulatorId":976,"metricType":"nsTiming"},{"name":"remote merged bytes read","accumulatorId":970,"metricType":"size"},{"name":"local merged blocks fetched","accumulatorId":967,"metricType":"sum"},{"name":"corrupt merged block chunks","accumulatorId":964,"metricType":"sum"},{"name":"remote merged reqs duration","accumulatorId":973,"metricType":"timing"},{"name":"remote merged blocks fetched","accumulatorId":966,"metricType":"sum"},{"name":"records read","accumulatorId":963,"metricType":"sum"},{"name":"local bytes read","accumulatorId":961,"metricType":"size"},{"name":"fetch wait time","accumulatorId":962,"metricType":"timing"},{"name":"remote bytes read","accumulatorId":959,"metricType":"size"},{"name":"merged fetch fallback count","accumulatorId":965,"metricType":"sum"},{"name":"local blocks read","accumulatorId":958,"metricType":"sum"},{"name":"remote merged chunks fetched","accumulatorId":968,"metricType":"sum"},{"name":"remote blocks read","accumulatorId":957,"metricType":"sum"},{"name":"data size","accumulatorId":955,"metricType":"size"},{"name":"local merged bytes read","accumulatorId":971,"metricType":"size"},{"name":"number of partitions","accumulatorId":956,"metricType":"sum"},{"name":"remote reqs duration","accumulatorId":972,"metricType":"timing"},{"name":"remote bytes read to disk","accumulatorId":960,"metricType":"size"},{"name":"shuffle bytes written","accumulatorId":974,"metricType":"size"}]}],"metadata":{},"metrics":[{"name":"spill size","accumulatorId":951,"metricType":"size"},{"name":"time in aggregation build","accumulatorId":952,"metricType":"timing"},{"name":"peak memory","accumulatorId":950,"metricType":"size"},{"name":"number of output rows","accumulatorId":949,"metricType":"sum"},{"name":"number of sort fallback tasks","accumulatorId":954,"metricType":"sum"},{"name":"avg hash probes per key","accumulatorId":953,"metricType":"average"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"shuffle records written","accumulatorId":947,"metricType":"sum"},{"name":"local merged chunks fetched","accumulatorId":941,"metricType":"sum"},{"name":"shuffle write time","accumulatorId":948,"metricType":"nsTiming"},{"name":"remote merged bytes read","accumulatorId":942,"metricType":"size"},{"name":"local merged blocks fetched","accumulatorId":939,"metricType":"sum"},{"name":"corrupt merged block chunks","accumulatorId":936,"metricType":"sum"},{"name":"remote merged reqs duration","accumulatorId":945,"metricType":"timing"},{"name":"remote merged blocks fetched","accumulatorId":938,"metricType":"sum"},{"name":"records read","accumulatorId":935,"metricType":"sum"},{"name":"local bytes read","accumulatorId":933,"metricType":"size"},{"name":"fetch wait time","accumulatorId":934,"metricType":"timing"},{"name":"remote bytes read","accumulatorId":931,"metricType":"size"},{"name":"merged fetch fallback count","accumulatorId":937,"metricType":"sum"},{"name":"local blocks read","accumulatorId":930,"metricType":"sum"},{"name":"remote merged chunks fetched","accumulatorId":940,"metricType":"sum"},{"name":"remote blocks read","accumulatorId":929,"metricType":"sum"},{"name":"data size","accumulatorId":927,"metricType":"size"},{"name":"local merged bytes read","accumulatorId":943,"metricType":"size"},{"name":"number of partitions","accumulatorId":928,"metricType":"sum"},{"name":"remote reqs duration","accumulatorId":944,"metricType":"timing"},{"name":"remote bytes read to disk","accumulatorId":932,"metricType":"size"},{"name":"shuffle bytes written","accumulatorId":946,"metricType":"size"}]}],"metadata":{},"metrics":[{"name":"sort time","accumulatorId":924,"metricType":"timing"},{"name":"peak memory","accumulatorId":925,"metricType":"size"},{"name":"spill size","accumulatorId":926,"metricType":"size"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"task commit time","accumulatorId":922,"metricType":"timing"},{"name":"number of written files","accumulatorId":918,"metricType":"sum"},{"name":"job commit time","accumulatorId":923,"metricType":"timing"},{"name":"number of output rows","accumulatorId":920,"metricType":"sum"},{"name":"number of dynamic part","accumulatorId":921,"metricType":"sum"},{"name":"written output","accumulatorId":919,"metricType":"size"}]}],"metadata":{},"metrics":[]}} {"Event":"org.apache.spark.sql.execution.ui.SparkListenerDriverAccumUpdates","executionId":0,"accumUpdates":[[1037,1],[1039,1],[1038,1314]]} {"Event":"SparkListenerJobStart","Job ID":5,"Submission Time":1784546405704,"Stage Infos":[{"Stage ID":9,"Stage Attempt ID":0,"Stage Name":"$anonfun$withThreadLocalCaptured$1 at FutureTask.java:264","Number of Tasks":1,"RDD Info":[{"RDD ID":20,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"39\",\"name\":\"BroadcastExchange\"}","Callsite":"$anonfun$withThreadLocalCaptured$1 at FutureTask.java:264","Parent IDs":[19],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"UNORDERED","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":19,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"40\",\"name\":\"WholeStageCodegen (6)\"}","Callsite":"$anonfun$withThreadLocalCaptured$1 at FutureTask.java:264","Parent IDs":[18],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"UNORDERED","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":18,"Name":"ShuffledRowRDD","Scope":"{\"id\":\"43\",\"name\":\"AQEShuffleRead\"}","Callsite":"$anonfun$withThreadLocalCaptured$1 at FutureTask.java:264","Parent IDs":[17],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"UNORDERED","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0}],"Parent IDs":[8],"Details":"org.apache.spark.sql.execution.SQLExecution$.$anonfun$withThreadLocalCaptured$1(SQLExecution.scala:219)\njava.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)\njava.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)\njava.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)\njava.base/java.lang.Thread.run(Thread.java:840)","Accumulables":[],"Resource Profile Id":0,"Shuffle Push Enabled":false,"Shuffle Push Mergers Count":0},{"Stage ID":7,"Stage Attempt ID":0,"Stage Name":"parquet at NativeMethodAccessorImpl.java:0","Number of Tasks":1,"RDD Info":[{"RDD ID":7,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"1\",\"name\":\"Exchange\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[6],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"DETERMINATE","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":3,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"10\",\"name\":\"Scan csv \"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[0],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"DETERMINATE","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":6,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"2\",\"name\":\"WholeStageCodegen (2)\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[3],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"DETERMINATE","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":0,"Name":"FileScanRDD","Scope":"{\"id\":\"10\",\"name\":\"Scan csv \"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"DETERMINATE","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0}],"Parent IDs":[],"Details":"org.apache.spark.sql.DataFrameWriter.parquet(DataFrameWriter.scala:792)\njava.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\njava.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)\njava.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\njava.base/java.lang.reflect.Method.invoke(Method.java:569)\npy4j.reflection.MethodInvoker.invoke(MethodInvoker.java:244)\npy4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:374)\npy4j.Gateway.invoke(Gateway.java:282)\npy4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:132)\npy4j.commands.CallCommand.execute(CallCommand.java:79)\npy4j.ClientServerConnection.waitForCommands(ClientServerConnection.java:182)\npy4j.ClientServerConnection.run(ClientServerConnection.java:106)\njava.base/java.lang.Thread.run(Thread.java:840)","Accumulables":[],"Resource Profile Id":0,"Shuffle Push Enabled":false,"Shuffle Push Mergers Count":0},{"Stage ID":8,"Stage Attempt ID":0,"Stage Name":"parquet at NativeMethodAccessorImpl.java:0","Number of Tasks":1,"RDD Info":[{"RDD ID":17,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"26\",\"name\":\"Exchange\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[16],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"UNORDERED","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":15,"Name":"ShuffledRowRDD","Scope":"{\"id\":\"31\",\"name\":\"AQEShuffleRead\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[7],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"UNORDERED","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":16,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"27\",\"name\":\"WholeStageCodegen (5)\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[15],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"UNORDERED","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0}],"Parent IDs":[7],"Details":"org.apache.spark.sql.DataFrameWriter.parquet(DataFrameWriter.scala:792)\njava.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\njava.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)\njava.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\njava.base/java.lang.reflect.Method.invoke(Method.java:569)\npy4j.reflection.MethodInvoker.invoke(MethodInvoker.java:244)\npy4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:374)\npy4j.Gateway.invoke(Gateway.java:282)\npy4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:132)\npy4j.commands.CallCommand.execute(CallCommand.java:79)\npy4j.ClientServerConnection.waitForCommands(ClientServerConnection.java:182)\npy4j.ClientServerConnection.run(ClientServerConnection.java:106)\njava.base/java.lang.Thread.run(Thread.java:840)","Accumulables":[],"Resource Profile Id":0,"Shuffle Push Enabled":false,"Shuffle Push Mergers Count":0}],"Stage IDs":[9,7,8],"Properties":{"spark.driver.port":"34351","spark.submit.pyFiles":"","spark.app.startTime":"1784546379461","spark.rdd.scope":"{\"id\":\"39\",\"name\":\"BroadcastExchange\"}","spark.hadoop.fs.s3a.endpoint":"http://minio:9000","spark.rdd.compress":"True","spark.hadoop.fs.s3a.impl":"org.apache.hadoop.fs.s3a.S3AFileSystem","spark.app.submitTime":"1784546378209","spark.eventLog.dir":"file:/opt/spark-events","spark.hadoop.fs.s3a.aws.credentials.provider":"org.apache.hadoop.fs.s3a.SimpleAWSCredentialsProvider","spark.sql.execution.id":"0","spark.sql.warehouse.dir":"file:/opt/airflow/spark-warehouse","spark.rdd.scope.noOverride":"true","spark.master":"spark://spark-master:7077","spark.job.interruptOnCancel":"true","spark.hadoop.fs.s3a.secret.key":"*********(redacted)","spark.executor.id":"driver","spark.app.name":"dm_user_cohort_analysis","spark.hadoop.fs.s3a.access.key":"*********(redacted)","spark.submit.deployMode":"client","spark.hadoop.fs.s3a.path.style.access":"true","spark.driver.host":"73850a3d530b","spark.app.id":"app-20260720151940-0099","spark.eventLog.compress":"true","spark.eventLog.enabled":"true","__fetch_continuous_blocks_in_batch_enabled":"true","spark.job.tags":"broadcast exchange (runId cb6af639-aa53-4588-b802-1f9bc823bff3)","spark.executor.extraJavaOptions":"-Djava.net.preferIPv6Addresses=false -XX:+IgnoreUnrecognizedVMOptions --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.base/sun.nio.cs=ALL-UNNAMED --add-opens=java.base/sun.security.action=ALL-UNNAMED --add-opens=java.base/sun.util.calendar=ALL-UNNAMED --add-opens=java.security.jgss/sun.security.krb5=ALL-UNNAMED -Djdk.reflect.useDirectMethodHandle=false","spark.sql.execution.root.id":"0","spark.hadoop.fs.s3a.connection.ssl.enabled":"false","spark.serializer.objectStreamReset":"100","spark.driver.extraJavaOptions":"-Djava.net.preferIPv6Addresses=false -XX:+IgnoreUnrecognizedVMOptions --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.base/sun.nio.cs=ALL-UNNAMED --add-opens=java.base/sun.security.action=ALL-UNNAMED --add-opens=java.base/sun.util.calendar=ALL-UNNAMED --add-opens=java.security.jgss/sun.security.krb5=ALL-UNNAMED -Djdk.reflect.useDirectMethodHandle=false"}} {"Event":"SparkListenerStageSubmitted","Stage Info":{"Stage ID":9,"Stage Attempt ID":0,"Stage Name":"$anonfun$withThreadLocalCaptured$1 at FutureTask.java:264","Number of Tasks":1,"RDD Info":[{"RDD ID":20,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"39\",\"name\":\"BroadcastExchange\"}","Callsite":"$anonfun$withThreadLocalCaptured$1 at FutureTask.java:264","Parent IDs":[19],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"UNORDERED","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":19,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"40\",\"name\":\"WholeStageCodegen (6)\"}","Callsite":"$anonfun$withThreadLocalCaptured$1 at FutureTask.java:264","Parent IDs":[18],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"UNORDERED","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":18,"Name":"ShuffledRowRDD","Scope":"{\"id\":\"43\",\"name\":\"AQEShuffleRead\"}","Callsite":"$anonfun$withThreadLocalCaptured$1 at FutureTask.java:264","Parent IDs":[17],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"UNORDERED","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0}],"Parent IDs":[8],"Details":"org.apache.spark.sql.execution.SQLExecution$.$anonfun$withThreadLocalCaptured$1(SQLExecution.scala:219)\njava.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)\njava.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)\njava.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)\njava.base/java.lang.Thread.run(Thread.java:840)","Submission Time":1784546405707,"Accumulables":[],"Resource Profile Id":0,"Shuffle Push Enabled":false,"Shuffle Push Mergers Count":0},"Properties":{"spark.driver.port":"34351","spark.submit.pyFiles":"","spark.app.startTime":"1784546379461","spark.rdd.scope":"{\"id\":\"39\",\"name\":\"BroadcastExchange\"}","spark.hadoop.fs.s3a.endpoint":"http://minio:9000","spark.rdd.compress":"True","spark.hadoop.fs.s3a.impl":"org.apache.hadoop.fs.s3a.S3AFileSystem","spark.app.submitTime":"1784546378209","spark.eventLog.dir":"file:/opt/spark-events","spark.hadoop.fs.s3a.aws.credentials.provider":"org.apache.hadoop.fs.s3a.SimpleAWSCredentialsProvider","spark.sql.execution.id":"0","spark.sql.warehouse.dir":"file:/opt/airflow/spark-warehouse","spark.rdd.scope.noOverride":"true","spark.master":"spark://spark-master:7077","spark.job.interruptOnCancel":"true","spark.hadoop.fs.s3a.secret.key":"*********(redacted)","spark.executor.id":"driver","spark.app.name":"dm_user_cohort_analysis","spark.hadoop.fs.s3a.access.key":"*********(redacted)","spark.submit.deployMode":"client","spark.hadoop.fs.s3a.path.style.access":"true","spark.driver.host":"73850a3d530b","spark.app.id":"app-20260720151940-0099","spark.eventLog.compress":"true","spark.eventLog.enabled":"true","__fetch_continuous_blocks_in_batch_enabled":"true","spark.job.tags":"broadcast exchange (runId cb6af639-aa53-4588-b802-1f9bc823bff3)","spark.executor.extraJavaOptions":"-Djava.net.preferIPv6Addresses=false -XX:+IgnoreUnrecognizedVMOptions --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.base/sun.nio.cs=ALL-UNNAMED --add-opens=java.base/sun.security.action=ALL-UNNAMED --add-opens=java.base/sun.util.calendar=ALL-UNNAMED --add-opens=java.security.jgss/sun.security.krb5=ALL-UNNAMED -Djdk.reflect.useDirectMethodHandle=false","spark.sql.execution.root.id":"0","spark.hadoop.fs.s3a.connection.ssl.enabled":"false","spark.serializer.objectStreamReset":"100","spark.driver.extraJavaOptions":"-Djava.net.preferIPv6Addresses=false -XX:+IgnoreUnrecognizedVMOptions --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.base/sun.nio.cs=ALL-UNNAMED --add-opens=java.base/sun.security.action=ALL-UNNAMED --add-opens=java.base/sun.util.calendar=ALL-UNNAMED --add-opens=java.security.jgss/sun.security.krb5=ALL-UNNAMED -Djdk.reflect.useDirectMethodHandle=false"}} {"Event":"SparkListenerTaskStart","Stage ID":9,"Stage Attempt ID":0,"Task Info":{"Task ID":5,"Index":0,"Attempt":0,"Partition ID":0,"Launch Time":1784546405724,"Executor ID":"0","Host":"172.28.0.49","Locality":"NODE_LOCAL","Speculative":false,"Getting Result Time":0,"Finish Time":0,"Failed":false,"Killed":false,"Accumulables":[]}} {"Event":"SparkListenerTaskEnd","Stage ID":9,"Stage Attempt ID":0,"Task Type":"ResultTask","Task End Reason":{"Reason":"Success"},"Task Info":{"Task ID":5,"Index":0,"Attempt":0,"Partition ID":0,"Launch Time":1784546405724,"Executor ID":"0","Host":"172.28.0.49","Locality":"NODE_LOCAL","Speculative":false,"Getting Result Time":0,"Finish Time":1784546405777,"Failed":false,"Killed":false,"Accumulables":[{"ID":813,"Name":"local blocks read","Update":"1","Value":"1","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":816,"Name":"local bytes read","Update":"1257","Value":"1257","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":817,"Name":"fetch wait time","Update":"0","Value":"0","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":818,"Name":"records read","Update":"20","Value":"20","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1030,"Name":"duration","Update":"6","Value":"6","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1031,"Name":"number of output rows","Update":"20","Value":"20","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1032,"Name":"peak memory","Update":"4456432","Value":"4456432","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1034,"Name":"time in aggregation build","Update":"1","Value":"1","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1035,"Name":"avg hash probes per key","Update":"10","Value":"10","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1040,"Name":"internal.metrics.executorDeserializeTime","Update":18,"Value":18,"Internal":true,"Count Failed Values":true},{"ID":1041,"Name":"internal.metrics.executorDeserializeCpuTime","Update":8658552,"Value":8658552,"Internal":true,"Count Failed Values":true},{"ID":1042,"Name":"internal.metrics.executorRunTime","Update":26,"Value":26,"Internal":true,"Count Failed Values":true},{"ID":1043,"Name":"internal.metrics.executorCpuTime","Update":22580984,"Value":22580984,"Internal":true,"Count Failed Values":true},{"ID":1044,"Name":"internal.metrics.resultSize","Update":7310,"Value":7310,"Internal":true,"Count Failed Values":true},{"ID":1049,"Name":"internal.metrics.peakExecutionMemory","Update":4456432,"Value":4456432,"Internal":true,"Count Failed Values":true},{"ID":1051,"Name":"internal.metrics.shuffle.read.remoteBlocksFetched","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":1052,"Name":"internal.metrics.shuffle.read.localBlocksFetched","Update":1,"Value":1,"Internal":true,"Count Failed Values":true},{"ID":1053,"Name":"internal.metrics.shuffle.read.remoteBytesRead","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":1054,"Name":"internal.metrics.shuffle.read.remoteBytesReadToDisk","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":1055,"Name":"internal.metrics.shuffle.read.localBytesRead","Update":1257,"Value":1257,"Internal":true,"Count Failed Values":true},{"ID":1056,"Name":"internal.metrics.shuffle.read.fetchWaitTime","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":1057,"Name":"internal.metrics.shuffle.read.recordsRead","Update":20,"Value":20,"Internal":true,"Count Failed Values":true},{"ID":1058,"Name":"internal.metrics.shuffle.push.read.corruptMergedBlockChunks","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":1059,"Name":"internal.metrics.shuffle.push.read.mergedFetchFallbackCount","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":1060,"Name":"internal.metrics.shuffle.push.read.remoteMergedBlocksFetched","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":1061,"Name":"internal.metrics.shuffle.push.read.localMergedBlocksFetched","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":1062,"Name":"internal.metrics.shuffle.push.read.remoteMergedChunksFetched","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":1063,"Name":"internal.metrics.shuffle.push.read.localMergedChunksFetched","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":1064,"Name":"internal.metrics.shuffle.push.read.remoteMergedBytesRead","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":1065,"Name":"internal.metrics.shuffle.push.read.localMergedBytesRead","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":1066,"Name":"internal.metrics.shuffle.read.remoteReqsDuration","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":1067,"Name":"internal.metrics.shuffle.push.read.remoteMergedReqsDuration","Update":0,"Value":0,"Internal":true,"Count Failed Values":true}]},"Task Executor Metrics":{"JVMHeapMemory":0,"JVMOffHeapMemory":0,"OnHeapExecutionMemory":0,"OffHeapExecutionMemory":0,"OnHeapStorageMemory":0,"OffHeapStorageMemory":0,"OnHeapUnifiedMemory":0,"OffHeapUnifiedMemory":0,"DirectPoolMemory":0,"MappedPoolMemory":0,"ProcessTreeJVMVMemory":0,"ProcessTreeJVMRSSMemory":0,"ProcessTreePythonVMemory":0,"ProcessTreePythonRSSMemory":0,"ProcessTreeOtherVMemory":0,"ProcessTreeOtherRSSMemory":0,"MinorGCCount":0,"MinorGCTime":0,"MajorGCCount":0,"MajorGCTime":0,"TotalGCTime":0},"Task Metrics":{"Executor Deserialize Time":18,"Executor Deserialize CPU Time":8658552,"Executor Run Time":26,"Executor CPU Time":22580984,"Peak Execution Memory":4456432,"Result Size":7310,"JVM GC Time":0,"Result Serialization Time":0,"Memory Bytes Spilled":0,"Disk Bytes Spilled":0,"Shuffle Read Metrics":{"Remote Blocks Fetched":0,"Local Blocks Fetched":1,"Fetch Wait Time":0,"Remote Bytes Read":0,"Remote Bytes Read To Disk":0,"Local Bytes Read":1257,"Total Records Read":20,"Remote Requests Duration":0,"Push Based Shuffle":{"Corrupt Merged Block Chunks":0,"Merged Fetch Fallback Count":0,"Merged Remote Blocks Fetched":0,"Merged Local Blocks Fetched":0,"Merged Remote Chunks Fetched":0,"Merged Local Chunks Fetched":0,"Merged Remote Bytes Read":0,"Merged Local Bytes Read":0,"Merged Remote Requests Duration":0}},"Shuffle Write Metrics":{"Shuffle Bytes Written":0,"Shuffle Write Time":0,"Shuffle Records Written":0},"Input Metrics":{"Bytes Read":0,"Records Read":0},"Output Metrics":{"Bytes Written":0,"Records Written":0},"Updated Blocks":[]}} {"Event":"SparkListenerStageCompleted","Stage Info":{"Stage ID":9,"Stage Attempt ID":0,"Stage Name":"$anonfun$withThreadLocalCaptured$1 at FutureTask.java:264","Number of Tasks":1,"RDD Info":[{"RDD ID":20,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"39\",\"name\":\"BroadcastExchange\"}","Callsite":"$anonfun$withThreadLocalCaptured$1 at FutureTask.java:264","Parent IDs":[19],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"UNORDERED","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":19,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"40\",\"name\":\"WholeStageCodegen (6)\"}","Callsite":"$anonfun$withThreadLocalCaptured$1 at FutureTask.java:264","Parent IDs":[18],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"UNORDERED","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":18,"Name":"ShuffledRowRDD","Scope":"{\"id\":\"43\",\"name\":\"AQEShuffleRead\"}","Callsite":"$anonfun$withThreadLocalCaptured$1 at FutureTask.java:264","Parent IDs":[17],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"UNORDERED","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0}],"Parent IDs":[8],"Details":"org.apache.spark.sql.execution.SQLExecution$.$anonfun$withThreadLocalCaptured$1(SQLExecution.scala:219)\njava.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)\njava.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)\njava.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)\njava.base/java.lang.Thread.run(Thread.java:840)","Submission Time":1784546405707,"Completion Time":1784546405781,"Accumulables":[{"ID":813,"Name":"local blocks read","Value":"1","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":816,"Name":"local bytes read","Value":"1257","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":817,"Name":"fetch wait time","Value":"0","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":818,"Name":"records read","Value":"20","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1030,"Name":"duration","Value":"6","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1031,"Name":"number of output rows","Value":"20","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1032,"Name":"peak memory","Value":"4456432","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1034,"Name":"time in aggregation build","Value":"1","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1035,"Name":"avg hash probes per key","Value":"10","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1040,"Name":"internal.metrics.executorDeserializeTime","Value":18,"Internal":true,"Count Failed Values":true},{"ID":1041,"Name":"internal.metrics.executorDeserializeCpuTime","Value":8658552,"Internal":true,"Count Failed Values":true},{"ID":1042,"Name":"internal.metrics.executorRunTime","Value":26,"Internal":true,"Count Failed Values":true},{"ID":1043,"Name":"internal.metrics.executorCpuTime","Value":22580984,"Internal":true,"Count Failed Values":true},{"ID":1044,"Name":"internal.metrics.resultSize","Value":7310,"Internal":true,"Count Failed Values":true},{"ID":1049,"Name":"internal.metrics.peakExecutionMemory","Value":4456432,"Internal":true,"Count Failed Values":true},{"ID":1051,"Name":"internal.metrics.shuffle.read.remoteBlocksFetched","Value":0,"Internal":true,"Count Failed Values":true},{"ID":1052,"Name":"internal.metrics.shuffle.read.localBlocksFetched","Value":1,"Internal":true,"Count Failed Values":true},{"ID":1053,"Name":"internal.metrics.shuffle.read.remoteBytesRead","Value":0,"Internal":true,"Count Failed Values":true},{"ID":1054,"Name":"internal.metrics.shuffle.read.remoteBytesReadToDisk","Value":0,"Internal":true,"Count Failed Values":true},{"ID":1055,"Name":"internal.metrics.shuffle.read.localBytesRead","Value":1257,"Internal":true,"Count Failed Values":true},{"ID":1056,"Name":"internal.metrics.shuffle.read.fetchWaitTime","Value":0,"Internal":true,"Count Failed Values":true},{"ID":1057,"Name":"internal.metrics.shuffle.read.recordsRead","Value":20,"Internal":true,"Count Failed Values":true},{"ID":1058,"Name":"internal.metrics.shuffle.push.read.corruptMergedBlockChunks","Value":0,"Internal":true,"Count Failed Values":true},{"ID":1059,"Name":"internal.metrics.shuffle.push.read.mergedFetchFallbackCount","Value":0,"Internal":true,"Count Failed Values":true},{"ID":1060,"Name":"internal.metrics.shuffle.push.read.remoteMergedBlocksFetched","Value":0,"Internal":true,"Count Failed Values":true},{"ID":1061,"Name":"internal.metrics.shuffle.push.read.localMergedBlocksFetched","Value":0,"Internal":true,"Count Failed Values":true},{"ID":1062,"Name":"internal.metrics.shuffle.push.read.remoteMergedChunksFetched","Value":0,"Internal":true,"Count Failed Values":true},{"ID":1063,"Name":"internal.metrics.shuffle.push.read.localMergedChunksFetched","Value":0,"Internal":true,"Count Failed Values":true},{"ID":1064,"Name":"internal.metrics.shuffle.push.read.remoteMergedBytesRead","Value":0,"Internal":true,"Count Failed Values":true},{"ID":1065,"Name":"internal.metrics.shuffle.push.read.localMergedBytesRead","Value":0,"Internal":true,"Count Failed Values":true},{"ID":1066,"Name":"internal.metrics.shuffle.read.remoteReqsDuration","Value":0,"Internal":true,"Count Failed Values":true},{"ID":1067,"Name":"internal.metrics.shuffle.push.read.remoteMergedReqsDuration","Value":0,"Internal":true,"Count Failed Values":true}],"Resource Profile Id":0,"Shuffle Push Enabled":false,"Shuffle Push Mergers Count":0}} {"Event":"SparkListenerJobEnd","Job ID":5,"Completion Time":1784546405783,"Job Result":{"Result":"JobSucceeded"}} {"Event":"org.apache.spark.sql.execution.ui.SparkListenerDriverAccumUpdates","executionId":0,"accumUpdates":[[1029,3],[1028,2],[1027,113],[1026,20],[1025,1048736]]} {"Event":"org.apache.spark.sql.execution.ui.SparkListenerSQLAdaptiveExecutionUpdate","executionId":0,"physicalPlanDescription":"== Physical Plan ==\nAdaptiveSparkPlan (80)\n+- == Current Plan ==\n Execute InsertIntoHadoopFsRelationCommand (46)\n +- WriteFiles (45)\n +- Sort (44)\n +- Exchange (43)\n +- Project (42)\n +- HashAggregate (41)\n +- Exchange (40)\n +- HashAggregate (39)\n +- HashAggregate (38)\n +- ShuffleQueryStage (37)\n +- Exchange (36)\n +- * HashAggregate (35)\n +- * Expand (34)\n +- * BroadcastHashJoin LeftOuter BuildRight (33)\n :- * BroadcastHashJoin LeftOuter BuildRight (23)\n : :- * Project (8)\n : : +- * BroadcastHashJoin LeftOuter BuildRight (7)\n : : :- * Project (2)\n : : : +- Scan csv (1)\n : : +- BroadcastQueryStage (6), Statistics(sizeInBytes=1024.2 KiB, rowCount=20)\n : : +- BroadcastExchange (5)\n : : +- * Filter (4)\n : : +- Scan csv (3)\n : +- BroadcastQueryStage (22), Statistics(sizeInBytes=1024.2 KiB, rowCount=20)\n : +- BroadcastExchange (21)\n : +- * HashAggregate (20)\n : +- AQEShuffleRead (19)\n : +- ShuffleQueryStage (18), Statistics(sizeInBytes=480.0 B, rowCount=20)\n : +- Exchange (17)\n : +- * HashAggregate (16)\n : +- * HashAggregate (15)\n : +- AQEShuffleRead (14)\n : +- ShuffleQueryStage (13), Statistics(sizeInBytes=1080.0 B, rowCount=45)\n : +- Exchange (12)\n : +- * HashAggregate (11)\n : +- * Filter (10)\n : +- Scan csv (9)\n +- BroadcastQueryStage (32), Statistics(sizeInBytes=1024.1 KiB, rowCount=11)\n +- BroadcastExchange (31)\n +- * HashAggregate (30)\n +- AQEShuffleRead (29)\n +- ShuffleQueryStage (28), Statistics(sizeInBytes=264.0 B, rowCount=11)\n +- Exchange (27)\n +- * HashAggregate (26)\n +- * Filter (25)\n +- Scan csv (24)\n+- == Initial Plan ==\n Execute InsertIntoHadoopFsRelationCommand (79)\n +- WriteFiles (78)\n +- Sort (77)\n +- Exchange (76)\n +- Project (75)\n +- HashAggregate (74)\n +- Exchange (73)\n +- HashAggregate (72)\n +- HashAggregate (71)\n +- Exchange (70)\n +- HashAggregate (69)\n +- Expand (68)\n +- BroadcastHashJoin LeftOuter BuildRight (67)\n :- BroadcastHashJoin LeftOuter BuildRight (61)\n : :- Project (52)\n : : +- BroadcastHashJoin LeftOuter BuildRight (51)\n : : :- Project (48)\n : : : +- Scan csv (47)\n : : +- BroadcastExchange (50)\n : : +- Filter (49)\n : : +- Scan csv (3)\n : +- BroadcastExchange (60)\n : +- HashAggregate (59)\n : +- Exchange (58)\n : +- HashAggregate (57)\n : +- HashAggregate (56)\n : +- Exchange (55)\n : +- HashAggregate (54)\n : +- Filter (53)\n : +- Scan csv (9)\n +- BroadcastExchange (66)\n +- HashAggregate (65)\n +- Exchange (64)\n +- HashAggregate (63)\n +- Filter (62)\n +- Scan csv (24)\n\n\n(1) Scan csv \nOutput [2]: [id#0L, registration_date#4]\nBatched: false\nLocation: InMemoryFileIndex [s3a://apavlovets-bucket/raw/users.csv]\nReadSchema: struct\n\n(2) Project [codegen id : 7]\nOutput [2]: [id#0L AS user_id#26L, date_trunc(month, registration_date#4, Some(Europe/Samara)) AS cohort_month_ts#27]\nInput [2]: [id#0L, registration_date#4]\n\n(3) Scan csv \nOutput [2]: [id#53L, registration_date#57]\nBatched: false\nLocation: InMemoryFileIndex [s3a://apavlovets-bucket/raw/users.csv]\nPushedFilters: [IsNotNull(id)]\nReadSchema: struct\n\n(4) Filter [codegen id : 1]\nInput [2]: [id#53L, registration_date#57]\nCondition : isnotnull(id#53L)\n\n(5) BroadcastExchange\nInput [2]: [id#53L, registration_date#57]\nArguments: HashedRelationBroadcastMode(List(input[0, bigint, false]),false), [plan_id=213]\n\n(6) BroadcastQueryStage\nOutput [2]: [id#53L, registration_date#57]\nArguments: 0\n\n(7) BroadcastHashJoin [codegen id : 7]\nLeft keys [1]: [user_id#26L]\nRight keys [1]: [id#53L]\nJoin type: LeftOuter\nJoin condition: None\n\n(8) Project [codegen id : 7]\nOutput [3]: [user_id#26L, cohort_month_ts#27, registration_date#57]\nInput [4]: [user_id#26L, cohort_month_ts#27, id#53L, registration_date#57]\n\n(9) Scan csv \nOutput [2]: [user_id#11L, course_id#12L]\nBatched: false\nLocation: InMemoryFileIndex [s3a://apavlovets-bucket/raw/enrollments.csv]\nPushedFilters: [IsNotNull(user_id)]\nReadSchema: struct\n\n(10) Filter [codegen id : 2]\nInput [2]: [user_id#11L, course_id#12L]\nCondition : isnotnull(user_id#11L)\n\n(11) HashAggregate [codegen id : 2]\nInput [2]: [user_id#11L, course_id#12L]\nKeys [2]: [user_id#11L, course_id#12L]\nFunctions: []\nAggregate Attributes: []\nResults [2]: [user_id#11L, course_id#12L]\n\n(12) Exchange\nInput [2]: [user_id#11L, course_id#12L]\nArguments: hashpartitioning(user_id#11L, course_id#12L, 200), ENSURE_REQUIREMENTS, [plan_id=226]\n\n(13) ShuffleQueryStage\nOutput [2]: [user_id#11L, course_id#12L]\nArguments: 1\n\n(14) AQEShuffleRead\nInput [2]: [user_id#11L, course_id#12L]\nArguments: coalesced\n\n(15) HashAggregate [codegen id : 5]\nInput [2]: [user_id#11L, course_id#12L]\nKeys [2]: [user_id#11L, course_id#12L]\nFunctions: []\nAggregate Attributes: []\nResults [2]: [user_id#11L, course_id#12L]\n\n(16) HashAggregate [codegen id : 5]\nInput [2]: [user_id#11L, course_id#12L]\nKeys [1]: [user_id#11L]\nFunctions [1]: [partial_count(distinct course_id#12L)]\nAggregate Attributes [1]: [count(course_id#12L)#36L]\nResults [2]: [user_id#11L, count#203L]\n\n(17) Exchange\nInput [2]: [user_id#11L, count#203L]\nArguments: hashpartitioning(user_id#11L, 200), ENSURE_REQUIREMENTS, [plan_id=507]\n\n(18) ShuffleQueryStage\nOutput [2]: [user_id#11L, count#203L]\nArguments: 4\n\n(19) AQEShuffleRead\nInput [2]: [user_id#11L, count#203L]\nArguments: coalesced\n\n(20) HashAggregate [codegen id : 6]\nInput [2]: [user_id#11L, count#203L]\nKeys [1]: [user_id#11L]\nFunctions [1]: [count(distinct course_id#12L)]\nAggregate Attributes [1]: [count(course_id#12L)#36L]\nResults [2]: [user_id#11L, count(course_id#12L)#36L AS courses_count#35L]\n\n(21) BroadcastExchange\nInput [2]: [user_id#11L, courses_count#35L]\nArguments: HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=700]\n\n(22) BroadcastQueryStage\nOutput [2]: [user_id#11L, courses_count#35L]\nArguments: 5\n\n(23) BroadcastHashJoin [codegen id : 7]\nLeft keys [1]: [user_id#26L]\nRight keys [1]: [user_id#11L]\nJoin type: LeftOuter\nJoin condition: None\n\n(24) Scan csv \nOutput [2]: [user_id#19L, viewed_at#21]\nBatched: false\nLocation: InMemoryFileIndex [s3a://apavlovets-bucket/raw/lesson_views.csv]\nPushedFilters: [IsNotNull(user_id)]\nReadSchema: struct\n\n(25) Filter [codegen id : 3]\nInput [2]: [user_id#19L, viewed_at#21]\nCondition : isnotnull(user_id#19L)\n\n(26) HashAggregate [codegen id : 3]\nInput [2]: [user_id#19L, viewed_at#21]\nKeys [1]: [user_id#19L]\nFunctions [1]: [partial_min(viewed_at#21)]\nAggregate Attributes [1]: [min#205]\nResults [2]: [user_id#19L, min#206]\n\n(27) Exchange\nInput [2]: [user_id#19L, min#206]\nArguments: hashpartitioning(user_id#19L, 200), ENSURE_REQUIREMENTS, [plan_id=246]\n\n(28) ShuffleQueryStage\nOutput [2]: [user_id#19L, min#206]\nArguments: 2\n\n(29) AQEShuffleRead\nInput [2]: [user_id#19L, min#206]\nArguments: coalesced\n\n(30) HashAggregate [codegen id : 4]\nInput [2]: [user_id#19L, min#206]\nKeys [1]: [user_id#19L]\nFunctions [1]: [min(viewed_at#21)]\nAggregate Attributes [1]: [min(viewed_at#21)#46]\nResults [2]: [user_id#19L, min(viewed_at#21)#46 AS first_viewed_at#47]\n\n(31) BroadcastExchange\nInput [2]: [user_id#19L, first_viewed_at#47]\nArguments: HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=384]\n\n(32) BroadcastQueryStage\nOutput [2]: [user_id#19L, first_viewed_at#47]\nArguments: 3\n\n(33) BroadcastHashJoin [codegen id : 7]\nLeft keys [1]: [user_id#26L]\nRight keys [1]: [user_id#19L]\nJoin type: LeftOuter\nJoin condition: None\n\n(34) Expand [codegen id : 7]\nInput [7]: [user_id#26L, cohort_month_ts#27, registration_date#57, user_id#11L, courses_count#35L, user_id#19L, first_viewed_at#47]\nArguments: [[cohort_month_ts#27, null, null, null, 0, courses_count#35L, datediff(cast(first_viewed_at#47 as date), cast(registration_date#57 as date))], [cohort_month_ts#27, user_id#26L, null, null, 1, null, null], [cohort_month_ts#27, null, user_id#11L, null, 2, null, null], [cohort_month_ts#27, null, null, user_id#19L, 3, null, null]], [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, ue.courses_count#173L, datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174]\n\n(35) HashAggregate [codegen id : 7]\nInput [7]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, ue.courses_count#173L, datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174]\nKeys [5]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169]\nFunctions [2]: [partial_avg(ue.courses_count#173L), partial_avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174)]\nAggregate Attributes [4]: [sum#193, count#194L, sum#195, count#196L]\nResults [9]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, sum#197, count#198L, sum#199, count#200L]\n\n(36) Exchange\nInput [9]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, sum#197, count#198L, sum#199, count#200L]\nArguments: hashpartitioning(cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, 200), ENSURE_REQUIREMENTS, [plan_id=821]\n\n(37) ShuffleQueryStage\nOutput [9]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, sum#197, count#198L, sum#199, count#200L]\nArguments: 6\n\n(38) HashAggregate\nInput [9]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, sum#197, count#198L, sum#199, count#200L]\nKeys [5]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169]\nFunctions [2]: [avg(ue.courses_count#173L), avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174)]\nAggregate Attributes [2]: [avg(ue.courses_count#173L)#127, avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174)#129]\nResults [7]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, avg(ue.courses_count#173L)#127 AS avg(ue.courses_count)#175, avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174)#129 AS avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177]\n\n(39) HashAggregate\nInput [7]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, avg(ue.courses_count)#175, avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177]\nKeys [1]: [cohort_month_ts#27]\nFunctions [5]: [partial_count(c.user_id#170L) FILTER (WHERE (gid#169 = 1)), partial_count(ue.user_id#171L) FILTER (WHERE (gid#169 = 2)), partial_count(ufv.user_id#172L) FILTER (WHERE (gid#169 = 3)), partial_first(avg(ue.courses_count)#175, true) FILTER (WHERE (gid#169 = 0)), partial_first(avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177, true) FILTER (WHERE (gid#169 = 0))]\nAggregate Attributes [7]: [count#179L, count#180L, count#181L, first#182, valueSet#183, first#184, valueSet#185]\nResults [8]: [cohort_month_ts#27, count#186L, count#187L, count#188L, first#189, valueSet#190, first#191, valueSet#192]\n\n(40) Exchange\nInput [8]: [cohort_month_ts#27, count#186L, count#187L, count#188L, first#189, valueSet#190, first#191, valueSet#192]\nArguments: hashpartitioning(cohort_month_ts#27, 200), ENSURE_REQUIREMENTS, [plan_id=846]\n\n(41) HashAggregate\nInput [8]: [cohort_month_ts#27, count#186L, count#187L, count#188L, first#189, valueSet#190, first#191, valueSet#192]\nKeys [1]: [cohort_month_ts#27]\nFunctions [5]: [count(c.user_id#170L), count(ue.user_id#171L), count(ufv.user_id#172L), first(avg(ue.courses_count)#175, true), first(avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177, true)]\nAggregate Attributes [5]: [count(c.user_id#170L)#131L, count(ue.user_id#171L)#132L, count(ufv.user_id#172L)#133L, first(avg(ue.courses_count)#175) ignore nulls#176, first(avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177) ignore nulls#178]\nResults [6]: [cohort_month_ts#27, count(c.user_id#170L)#131L AS users_in_cohort#124L, count(ue.user_id#171L)#132L AS enrolled_users#125L, count(ufv.user_id#172L)#133L AS active_users#126L, round(first(avg(ue.courses_count)#175) ignore nulls#176, 2) AS avg_courses_per_user#128, round(first(avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177) ignore nulls#178, 2) AS avg_time_to_first_view#130]\n\n(42) Project\nOutput [7]: [date_format(cohort_month_ts#27, yyyy-MM, Some(Europe/Samara)) AS cohort_month#154, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130, CASE WHEN NOT (users_in_cohort#124L = 0) THEN round(((cast(active_users#126L as double) * 100.0) / cast(users_in_cohort#124L as double)), 2) END AS retention_rate#146]\nInput [6]: [cohort_month_ts#27, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130]\n\n(43) Exchange\nInput [7]: [cohort_month#154, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130, retention_rate#146]\nArguments: rangepartitioning(cohort_month#154 ASC NULLS FIRST, 200), ENSURE_REQUIREMENTS, [plan_id=849]\n\n(44) Sort\nInput [7]: [cohort_month#154, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130, retention_rate#146]\nArguments: [cohort_month#154 ASC NULLS FIRST], true, 0\n\n(45) WriteFiles\nInput [7]: [cohort_month#154, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130, retention_rate#146]\n\n(46) Execute InsertIntoHadoopFsRelationCommand\nInput: []\nArguments: s3a://apavlovets-bucket/marts/user_cohort_analysis.parquet, false, Parquet, [path=s3a://apavlovets-bucket/marts/user_cohort_analysis.parquet], Overwrite, [cohort_month, users_in_cohort, enrolled_users, active_users, avg_courses_per_user, avg_time_to_first_view, retention_rate]\n\n(47) Scan csv \nOutput [2]: [id#0L, registration_date#4]\nBatched: false\nLocation: InMemoryFileIndex [s3a://apavlovets-bucket/raw/users.csv]\nReadSchema: struct\n\n(48) Project\nOutput [2]: [id#0L AS user_id#26L, date_trunc(month, registration_date#4, Some(Europe/Samara)) AS cohort_month_ts#27]\nInput [2]: [id#0L, registration_date#4]\n\n(49) Filter\nInput [2]: [id#53L, registration_date#57]\nCondition : isnotnull(id#53L)\n\n(50) BroadcastExchange\nInput [2]: [id#53L, registration_date#57]\nArguments: HashedRelationBroadcastMode(List(input[0, bigint, false]),false), [plan_id=119]\n\n(51) BroadcastHashJoin\nLeft keys [1]: [user_id#26L]\nRight keys [1]: [id#53L]\nJoin type: LeftOuter\nJoin condition: None\n\n(52) Project\nOutput [3]: [user_id#26L, cohort_month_ts#27, registration_date#57]\nInput [4]: [user_id#26L, cohort_month_ts#27, id#53L, registration_date#57]\n\n(53) Filter\nInput [2]: [user_id#11L, course_id#12L]\nCondition : isnotnull(user_id#11L)\n\n(54) HashAggregate\nInput [2]: [user_id#11L, course_id#12L]\nKeys [2]: [user_id#11L, course_id#12L]\nFunctions: []\nAggregate Attributes: []\nResults [2]: [user_id#11L, course_id#12L]\n\n(55) Exchange\nInput [2]: [user_id#11L, course_id#12L]\nArguments: hashpartitioning(user_id#11L, course_id#12L, 200), ENSURE_REQUIREMENTS, [plan_id=122]\n\n(56) HashAggregate\nInput [2]: [user_id#11L, course_id#12L]\nKeys [2]: [user_id#11L, course_id#12L]\nFunctions: []\nAggregate Attributes: []\nResults [2]: [user_id#11L, course_id#12L]\n\n(57) HashAggregate\nInput [2]: [user_id#11L, course_id#12L]\nKeys [1]: [user_id#11L]\nFunctions [1]: [partial_count(distinct course_id#12L)]\nAggregate Attributes [1]: [count(course_id#12L)#36L]\nResults [2]: [user_id#11L, count#203L]\n\n(58) Exchange\nInput [2]: [user_id#11L, count#203L]\nArguments: hashpartitioning(user_id#11L, 200), ENSURE_REQUIREMENTS, [plan_id=126]\n\n(59) HashAggregate\nInput [2]: [user_id#11L, count#203L]\nKeys [1]: [user_id#11L]\nFunctions [1]: [count(distinct course_id#12L)]\nAggregate Attributes [1]: [count(course_id#12L)#36L]\nResults [2]: [user_id#11L, count(course_id#12L)#36L AS courses_count#35L]\n\n(60) BroadcastExchange\nInput [2]: [user_id#11L, courses_count#35L]\nArguments: HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=129]\n\n(61) BroadcastHashJoin\nLeft keys [1]: [user_id#26L]\nRight keys [1]: [user_id#11L]\nJoin type: LeftOuter\nJoin condition: None\n\n(62) Filter\nInput [2]: [user_id#19L, viewed_at#21]\nCondition : isnotnull(user_id#19L)\n\n(63) HashAggregate\nInput [2]: [user_id#19L, viewed_at#21]\nKeys [1]: [user_id#19L]\nFunctions [1]: [partial_min(viewed_at#21)]\nAggregate Attributes [1]: [min#205]\nResults [2]: [user_id#19L, min#206]\n\n(64) Exchange\nInput [2]: [user_id#19L, min#206]\nArguments: hashpartitioning(user_id#19L, 200), ENSURE_REQUIREMENTS, [plan_id=131]\n\n(65) HashAggregate\nInput [2]: [user_id#19L, min#206]\nKeys [1]: [user_id#19L]\nFunctions [1]: [min(viewed_at#21)]\nAggregate Attributes [1]: [min(viewed_at#21)#46]\nResults [2]: [user_id#19L, min(viewed_at#21)#46 AS first_viewed_at#47]\n\n(66) BroadcastExchange\nInput [2]: [user_id#19L, first_viewed_at#47]\nArguments: HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=134]\n\n(67) BroadcastHashJoin\nLeft keys [1]: [user_id#26L]\nRight keys [1]: [user_id#19L]\nJoin type: LeftOuter\nJoin condition: None\n\n(68) Expand\nInput [7]: [user_id#26L, cohort_month_ts#27, registration_date#57, user_id#11L, courses_count#35L, user_id#19L, first_viewed_at#47]\nArguments: [[cohort_month_ts#27, null, null, null, 0, courses_count#35L, datediff(cast(first_viewed_at#47 as date), cast(registration_date#57 as date))], [cohort_month_ts#27, user_id#26L, null, null, 1, null, null], [cohort_month_ts#27, null, user_id#11L, null, 2, null, null], [cohort_month_ts#27, null, null, user_id#19L, 3, null, null]], [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, ue.courses_count#173L, datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174]\n\n(69) HashAggregate\nInput [7]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, ue.courses_count#173L, datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174]\nKeys [5]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169]\nFunctions [2]: [partial_avg(ue.courses_count#173L), partial_avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174)]\nAggregate Attributes [4]: [sum#193, count#194L, sum#195, count#196L]\nResults [9]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, sum#197, count#198L, sum#199, count#200L]\n\n(70) Exchange\nInput [9]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, sum#197, count#198L, sum#199, count#200L]\nArguments: hashpartitioning(cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, 200), ENSURE_REQUIREMENTS, [plan_id=139]\n\n(71) HashAggregate\nInput [9]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, sum#197, count#198L, sum#199, count#200L]\nKeys [5]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169]\nFunctions [2]: [avg(ue.courses_count#173L), avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174)]\nAggregate Attributes [2]: [avg(ue.courses_count#173L)#127, avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174)#129]\nResults [7]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, avg(ue.courses_count#173L)#127 AS avg(ue.courses_count)#175, avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174)#129 AS avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177]\n\n(72) HashAggregate\nInput [7]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, avg(ue.courses_count)#175, avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177]\nKeys [1]: [cohort_month_ts#27]\nFunctions [5]: [partial_count(c.user_id#170L) FILTER (WHERE (gid#169 = 1)), partial_count(ue.user_id#171L) FILTER (WHERE (gid#169 = 2)), partial_count(ufv.user_id#172L) FILTER (WHERE (gid#169 = 3)), partial_first(avg(ue.courses_count)#175, true) FILTER (WHERE (gid#169 = 0)), partial_first(avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177, true) FILTER (WHERE (gid#169 = 0))]\nAggregate Attributes [7]: [count#179L, count#180L, count#181L, first#182, valueSet#183, first#184, valueSet#185]\nResults [8]: [cohort_month_ts#27, count#186L, count#187L, count#188L, first#189, valueSet#190, first#191, valueSet#192]\n\n(73) Exchange\nInput [8]: [cohort_month_ts#27, count#186L, count#187L, count#188L, first#189, valueSet#190, first#191, valueSet#192]\nArguments: hashpartitioning(cohort_month_ts#27, 200), ENSURE_REQUIREMENTS, [plan_id=143]\n\n(74) HashAggregate\nInput [8]: [cohort_month_ts#27, count#186L, count#187L, count#188L, first#189, valueSet#190, first#191, valueSet#192]\nKeys [1]: [cohort_month_ts#27]\nFunctions [5]: [count(c.user_id#170L), count(ue.user_id#171L), count(ufv.user_id#172L), first(avg(ue.courses_count)#175, true), first(avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177, true)]\nAggregate Attributes [5]: [count(c.user_id#170L)#131L, count(ue.user_id#171L)#132L, count(ufv.user_id#172L)#133L, first(avg(ue.courses_count)#175) ignore nulls#176, first(avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177) ignore nulls#178]\nResults [6]: [cohort_month_ts#27, count(c.user_id#170L)#131L AS users_in_cohort#124L, count(ue.user_id#171L)#132L AS enrolled_users#125L, count(ufv.user_id#172L)#133L AS active_users#126L, round(first(avg(ue.courses_count)#175) ignore nulls#176, 2) AS avg_courses_per_user#128, round(first(avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177) ignore nulls#178, 2) AS avg_time_to_first_view#130]\n\n(75) Project\nOutput [7]: [date_format(cohort_month_ts#27, yyyy-MM, Some(Europe/Samara)) AS cohort_month#154, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130, CASE WHEN NOT (users_in_cohort#124L = 0) THEN round(((cast(active_users#126L as double) * 100.0) / cast(users_in_cohort#124L as double)), 2) END AS retention_rate#146]\nInput [6]: [cohort_month_ts#27, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130]\n\n(76) Exchange\nInput [7]: [cohort_month#154, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130, retention_rate#146]\nArguments: rangepartitioning(cohort_month#154 ASC NULLS FIRST, 200), ENSURE_REQUIREMENTS, [plan_id=147]\n\n(77) Sort\nInput [7]: [cohort_month#154, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130, retention_rate#146]\nArguments: [cohort_month#154 ASC NULLS FIRST], true, 0\n\n(78) WriteFiles\nInput [7]: [cohort_month#154, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130, retention_rate#146]\n\n(79) Execute InsertIntoHadoopFsRelationCommand\nInput: []\nArguments: s3a://apavlovets-bucket/marts/user_cohort_analysis.parquet, false, Parquet, [path=s3a://apavlovets-bucket/marts/user_cohort_analysis.parquet], Overwrite, [cohort_month, users_in_cohort, enrolled_users, active_users, avg_courses_per_user, avg_time_to_first_view, retention_rate]\n\n(80) AdaptiveSparkPlan\nOutput: []\nArguments: isFinalPlan=false\n\n","sparkPlanInfo":{"nodeName":"AdaptiveSparkPlan","simpleString":"AdaptiveSparkPlan isFinalPlan=false","children":[{"nodeName":"Execute InsertIntoHadoopFsRelationCommand","simpleString":"Execute InsertIntoHadoopFsRelationCommand s3a://apavlovets-bucket/marts/user_cohort_analysis.parquet, false, Parquet, [path=s3a://apavlovets-bucket/marts/user_cohort_analysis.parquet], Overwrite, [cohort_month, users_in_cohort, enrolled_users, active_users, avg_courses_per_user, avg_time_to_first_view, retention_rate]","children":[{"nodeName":"WriteFiles","simpleString":"WriteFiles","children":[{"nodeName":"Sort","simpleString":"Sort [cohort_month#154 ASC NULLS FIRST], true, 0","children":[{"nodeName":"Exchange","simpleString":"Exchange rangepartitioning(cohort_month#154 ASC NULLS FIRST, 200), ENSURE_REQUIREMENTS, [plan_id=849]","children":[{"nodeName":"Project","simpleString":"Project [date_format(cohort_month_ts#27, yyyy-MM, Some(Europe/Samara)) AS cohort_month#154, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130, CASE WHEN NOT (users_in_cohort#124L = 0) THEN round(((cast(active_users#126L as double) * 100.0) / cast(users_in_cohort#124L as double)), 2) END AS retention_rate#146]","children":[{"nodeName":"HashAggregate","simpleString":"HashAggregate(keys=[cohort_month_ts#27], functions=[count(c.user_id#170L), count(ue.user_id#171L), count(ufv.user_id#172L), first(avg(ue.courses_count)#175, true), first(avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177, true)])","children":[{"nodeName":"Exchange","simpleString":"Exchange hashpartitioning(cohort_month_ts#27, 200), ENSURE_REQUIREMENTS, [plan_id=846]","children":[{"nodeName":"HashAggregate","simpleString":"HashAggregate(keys=[cohort_month_ts#27], functions=[partial_count(c.user_id#170L) FILTER (WHERE (gid#169 = 1)), partial_count(ue.user_id#171L) FILTER (WHERE (gid#169 = 2)), partial_count(ufv.user_id#172L) FILTER (WHERE (gid#169 = 3)), partial_first(avg(ue.courses_count)#175, true) FILTER (WHERE (gid#169 = 0)), partial_first(avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177, true) FILTER (WHERE (gid#169 = 0))])","children":[{"nodeName":"HashAggregate","simpleString":"HashAggregate(keys=[cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169], functions=[avg(ue.courses_count#173L), avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174)])","children":[{"nodeName":"ShuffleQueryStage","simpleString":"ShuffleQueryStage 6","children":[{"nodeName":"Exchange","simpleString":"Exchange hashpartitioning(cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, 200), ENSURE_REQUIREMENTS, [plan_id=821]","children":[{"nodeName":"WholeStageCodegen (7)","simpleString":"WholeStageCodegen (7)","children":[{"nodeName":"HashAggregate","simpleString":"HashAggregate(keys=[cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169], functions=[partial_avg(ue.courses_count#173L), partial_avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174)])","children":[{"nodeName":"Expand","simpleString":"Expand [[cohort_month_ts#27, null, null, null, 0, courses_count#35L, datediff(cast(first_viewed_at#47 as date), cast(registration_date#57 as date))], [cohort_month_ts#27, user_id#26L, null, null, 1, null, null], [cohort_month_ts#27, null, user_id#11L, null, 2, null, null], [cohort_month_ts#27, null, null, user_id#19L, 3, null, null]], [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, ue.courses_count#173L, datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174]","children":[{"nodeName":"BroadcastHashJoin","simpleString":"BroadcastHashJoin [user_id#26L], [user_id#19L], LeftOuter, BuildRight, false","children":[{"nodeName":"BroadcastHashJoin","simpleString":"BroadcastHashJoin [user_id#26L], [user_id#11L], LeftOuter, BuildRight, false","children":[{"nodeName":"Project","simpleString":"Project [user_id#26L, cohort_month_ts#27, registration_date#57]","children":[{"nodeName":"BroadcastHashJoin","simpleString":"BroadcastHashJoin [user_id#26L], [id#53L], LeftOuter, BuildRight, false","children":[{"nodeName":"Project","simpleString":"Project [id#0L AS user_id#26L, date_trunc(month, registration_date#4, Some(Europe/Samara)) AS cohort_month_ts#27]","children":[{"nodeName":"InputAdapter","simpleString":"InputAdapter","children":[{"nodeName":"Scan csv ","simpleString":"FileScan csv [id#0L,registration_date#4] Batched: false, DataFilters: [], Format: CSV, Location: InMemoryFileIndex(1 paths)[s3a://apavlovets-bucket/raw/users.csv], PartitionFilters: [], PushedFilters: [], ReadSchema: struct","children":[],"metadata":{"Location":"InMemoryFileIndex(1 paths)[s3a://apavlovets-bucket/raw/users.csv]","ReadSchema":"struct","Format":"CSV","Batched":"false","PartitionFilters":"[]","PushedFilters":"[]","DataFilters":"[]"},"metrics":[{"name":"number of output rows","accumulatorId":1179,"metricType":"sum"},{"name":"number of files read","accumulatorId":1180,"metricType":"sum"},{"name":"metadata time","accumulatorId":1181,"metricType":"timing"},{"name":"size of files read","accumulatorId":1182,"metricType":"size"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[]},{"nodeName":"InputAdapter","simpleString":"InputAdapter","children":[{"nodeName":"BroadcastQueryStage","simpleString":"BroadcastQueryStage 0","children":[{"nodeName":"BroadcastExchange","simpleString":"BroadcastExchange HashedRelationBroadcastMode(List(input[0, bigint, false]),false), [plan_id=213]","children":[{"nodeName":"WholeStageCodegen (1)","simpleString":"WholeStageCodegen (1)","children":[{"nodeName":"Filter","simpleString":"Filter isnotnull(id#53L)","children":[{"nodeName":"InputAdapter","simpleString":"InputAdapter","children":[{"nodeName":"Scan csv ","simpleString":"FileScan csv [id#53L,registration_date#57] Batched: false, DataFilters: [isnotnull(id#53L)], Format: CSV, Location: InMemoryFileIndex(1 paths)[s3a://apavlovets-bucket/raw/users.csv], PartitionFilters: [], PushedFilters: [IsNotNull(id)], ReadSchema: struct","children":[],"metadata":{"Location":"InMemoryFileIndex(1 paths)[s3a://apavlovets-bucket/raw/users.csv]","ReadSchema":"struct","Format":"CSV","Batched":"false","PartitionFilters":"[]","PushedFilters":"[IsNotNull(id)]","DataFilters":"[isnotnull(id#53L)]"},"metrics":[{"name":"number of output rows","accumulatorId":114,"metricType":"sum"},{"name":"number of files read","accumulatorId":115,"metricType":"sum"},{"name":"metadata time","accumulatorId":116,"metricType":"timing"},{"name":"size of files read","accumulatorId":117,"metricType":"size"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"number of output rows","accumulatorId":343,"metricType":"sum"}]}],"metadata":{},"metrics":[{"name":"duration","accumulatorId":342,"metricType":"timing"}]}],"metadata":{},"metrics":[{"name":"time to broadcast","accumulatorId":341,"metricType":"timing"},{"name":"time to build","accumulatorId":340,"metricType":"timing"},{"name":"time to collect","accumulatorId":339,"metricType":"timing"},{"name":"number of output rows","accumulatorId":338,"metricType":"sum"},{"name":"data size","accumulatorId":337,"metricType":"size"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"number of output rows","accumulatorId":1178,"metricType":"sum"}]}],"metadata":{},"metrics":[]},{"nodeName":"InputAdapter","simpleString":"InputAdapter","children":[{"nodeName":"BroadcastQueryStage","simpleString":"BroadcastQueryStage 5","children":[{"nodeName":"BroadcastExchange","simpleString":"BroadcastExchange HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=700]","children":[{"nodeName":"WholeStageCodegen (6)","simpleString":"WholeStageCodegen (6)","children":[{"nodeName":"HashAggregate","simpleString":"HashAggregate(keys=[user_id#11L], functions=[count(distinct course_id#12L)])","children":[{"nodeName":"InputAdapter","simpleString":"InputAdapter","children":[{"nodeName":"AQEShuffleRead","simpleString":"AQEShuffleRead coalesced","children":[{"nodeName":"ShuffleQueryStage","simpleString":"ShuffleQueryStage 4","children":[{"nodeName":"Exchange","simpleString":"Exchange hashpartitioning(user_id#11L, 200), ENSURE_REQUIREMENTS, [plan_id=507]","children":[{"nodeName":"WholeStageCodegen (5)","simpleString":"WholeStageCodegen (5)","children":[{"nodeName":"HashAggregate","simpleString":"HashAggregate(keys=[user_id#11L], functions=[partial_count(distinct course_id#12L)])","children":[{"nodeName":"HashAggregate","simpleString":"HashAggregate(keys=[user_id#11L, course_id#12L], functions=[])","children":[{"nodeName":"InputAdapter","simpleString":"InputAdapter","children":[{"nodeName":"AQEShuffleRead","simpleString":"AQEShuffleRead coalesced","children":[{"nodeName":"ShuffleQueryStage","simpleString":"ShuffleQueryStage 1","children":[{"nodeName":"Exchange","simpleString":"Exchange hashpartitioning(user_id#11L, course_id#12L, 200), ENSURE_REQUIREMENTS, [plan_id=226]","children":[{"nodeName":"WholeStageCodegen (2)","simpleString":"WholeStageCodegen (2)","children":[{"nodeName":"HashAggregate","simpleString":"HashAggregate(keys=[user_id#11L, course_id#12L], functions=[])","children":[{"nodeName":"Filter","simpleString":"Filter isnotnull(user_id#11L)","children":[{"nodeName":"InputAdapter","simpleString":"InputAdapter","children":[{"nodeName":"Scan csv ","simpleString":"FileScan csv [user_id#11L,course_id#12L] Batched: false, DataFilters: [isnotnull(user_id#11L)], Format: CSV, Location: InMemoryFileIndex(1 paths)[s3a://apavlovets-bucket/raw/enrollments.csv], PartitionFilters: [], PushedFilters: [IsNotNull(user_id)], ReadSchema: struct","children":[],"metadata":{"Location":"InMemoryFileIndex(1 paths)[s3a://apavlovets-bucket/raw/enrollments.csv]","ReadSchema":"struct","Format":"CSV","Batched":"false","PartitionFilters":"[]","PushedFilters":"[IsNotNull(user_id)]","DataFilters":"[isnotnull(user_id#11L)]"},"metrics":[{"name":"number of output rows","accumulatorId":192,"metricType":"sum"},{"name":"number of files read","accumulatorId":193,"metricType":"sum"},{"name":"metadata time","accumulatorId":194,"metricType":"timing"},{"name":"size of files read","accumulatorId":195,"metricType":"size"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"number of output rows","accumulatorId":418,"metricType":"sum"}]}],"metadata":{},"metrics":[{"name":"spill size","accumulatorId":414,"metricType":"size"},{"name":"time in aggregation build","accumulatorId":415,"metricType":"timing"},{"name":"peak memory","accumulatorId":413,"metricType":"size"},{"name":"number of output rows","accumulatorId":412,"metricType":"sum"},{"name":"number of sort fallback tasks","accumulatorId":417,"metricType":"sum"},{"name":"avg hash probes per key","accumulatorId":416,"metricType":"average"}]}],"metadata":{},"metrics":[{"name":"duration","accumulatorId":411,"metricType":"timing"}]}],"metadata":{},"metrics":[{"name":"shuffle records written","accumulatorId":409,"metricType":"sum"},{"name":"local merged chunks fetched","accumulatorId":403,"metricType":"sum"},{"name":"shuffle write time","accumulatorId":410,"metricType":"nsTiming"},{"name":"remote merged bytes read","accumulatorId":404,"metricType":"size"},{"name":"local merged blocks fetched","accumulatorId":401,"metricType":"sum"},{"name":"corrupt merged block chunks","accumulatorId":398,"metricType":"sum"},{"name":"remote merged reqs duration","accumulatorId":407,"metricType":"timing"},{"name":"remote merged blocks fetched","accumulatorId":400,"metricType":"sum"},{"name":"records read","accumulatorId":397,"metricType":"sum"},{"name":"local bytes read","accumulatorId":395,"metricType":"size"},{"name":"fetch wait time","accumulatorId":396,"metricType":"timing"},{"name":"remote bytes read","accumulatorId":393,"metricType":"size"},{"name":"merged fetch fallback count","accumulatorId":399,"metricType":"sum"},{"name":"local blocks read","accumulatorId":392,"metricType":"sum"},{"name":"remote merged chunks fetched","accumulatorId":402,"metricType":"sum"},{"name":"remote blocks read","accumulatorId":391,"metricType":"sum"},{"name":"data size","accumulatorId":389,"metricType":"size"},{"name":"local merged bytes read","accumulatorId":405,"metricType":"size"},{"name":"number of partitions","accumulatorId":390,"metricType":"sum"},{"name":"remote reqs duration","accumulatorId":406,"metricType":"timing"},{"name":"remote bytes read to disk","accumulatorId":394,"metricType":"size"},{"name":"shuffle bytes written","accumulatorId":408,"metricType":"size"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"number of partitions","accumulatorId":845,"metricType":"sum"},{"name":"partition data size","accumulatorId":846,"metricType":"size"},{"name":"number of coalesced partitions","accumulatorId":847,"metricType":"sum"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"spill size","accumulatorId":841,"metricType":"size"},{"name":"time in aggregation build","accumulatorId":842,"metricType":"timing"},{"name":"peak memory","accumulatorId":840,"metricType":"size"},{"name":"number of output rows","accumulatorId":839,"metricType":"sum"},{"name":"number of sort fallback tasks","accumulatorId":844,"metricType":"sum"},{"name":"avg hash probes per key","accumulatorId":843,"metricType":"average"}]}],"metadata":{},"metrics":[{"name":"spill size","accumulatorId":835,"metricType":"size"},{"name":"time in aggregation build","accumulatorId":836,"metricType":"timing"},{"name":"peak memory","accumulatorId":834,"metricType":"size"},{"name":"number of output rows","accumulatorId":833,"metricType":"sum"},{"name":"number of sort fallback tasks","accumulatorId":838,"metricType":"sum"},{"name":"avg hash probes per key","accumulatorId":837,"metricType":"average"}]}],"metadata":{},"metrics":[{"name":"duration","accumulatorId":832,"metricType":"timing"}]}],"metadata":{},"metrics":[{"name":"shuffle records written","accumulatorId":830,"metricType":"sum"},{"name":"local merged chunks fetched","accumulatorId":824,"metricType":"sum"},{"name":"shuffle write time","accumulatorId":831,"metricType":"nsTiming"},{"name":"remote merged bytes read","accumulatorId":825,"metricType":"size"},{"name":"local merged blocks fetched","accumulatorId":822,"metricType":"sum"},{"name":"corrupt merged block chunks","accumulatorId":819,"metricType":"sum"},{"name":"remote merged reqs duration","accumulatorId":828,"metricType":"timing"},{"name":"remote merged blocks fetched","accumulatorId":821,"metricType":"sum"},{"name":"records read","accumulatorId":818,"metricType":"sum"},{"name":"local bytes read","accumulatorId":816,"metricType":"size"},{"name":"fetch wait time","accumulatorId":817,"metricType":"timing"},{"name":"remote bytes read","accumulatorId":814,"metricType":"size"},{"name":"merged fetch fallback count","accumulatorId":820,"metricType":"sum"},{"name":"local blocks read","accumulatorId":813,"metricType":"sum"},{"name":"remote merged chunks fetched","accumulatorId":823,"metricType":"sum"},{"name":"remote blocks read","accumulatorId":812,"metricType":"sum"},{"name":"data size","accumulatorId":810,"metricType":"size"},{"name":"local merged bytes read","accumulatorId":826,"metricType":"size"},{"name":"number of partitions","accumulatorId":811,"metricType":"sum"},{"name":"remote reqs duration","accumulatorId":827,"metricType":"timing"},{"name":"remote bytes read to disk","accumulatorId":815,"metricType":"size"},{"name":"shuffle bytes written","accumulatorId":829,"metricType":"size"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"number of partitions","accumulatorId":1037,"metricType":"sum"},{"name":"partition data size","accumulatorId":1038,"metricType":"size"},{"name":"number of coalesced partitions","accumulatorId":1039,"metricType":"sum"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"spill size","accumulatorId":1033,"metricType":"size"},{"name":"time in aggregation build","accumulatorId":1034,"metricType":"timing"},{"name":"peak memory","accumulatorId":1032,"metricType":"size"},{"name":"number of output rows","accumulatorId":1031,"metricType":"sum"},{"name":"number of sort fallback tasks","accumulatorId":1036,"metricType":"sum"},{"name":"avg hash probes per key","accumulatorId":1035,"metricType":"average"}]}],"metadata":{},"metrics":[{"name":"duration","accumulatorId":1030,"metricType":"timing"}]}],"metadata":{},"metrics":[{"name":"time to broadcast","accumulatorId":1029,"metricType":"timing"},{"name":"time to build","accumulatorId":1028,"metricType":"timing"},{"name":"time to collect","accumulatorId":1027,"metricType":"timing"},{"name":"number of output rows","accumulatorId":1026,"metricType":"sum"},{"name":"data size","accumulatorId":1025,"metricType":"size"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"number of output rows","accumulatorId":1177,"metricType":"sum"}]},{"nodeName":"InputAdapter","simpleString":"InputAdapter","children":[{"nodeName":"BroadcastQueryStage","simpleString":"BroadcastQueryStage 3","children":[{"nodeName":"BroadcastExchange","simpleString":"BroadcastExchange HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=384]","children":[{"nodeName":"WholeStageCodegen (4)","simpleString":"WholeStageCodegen (4)","children":[{"nodeName":"HashAggregate","simpleString":"HashAggregate(keys=[user_id#19L], functions=[min(viewed_at#21)])","children":[{"nodeName":"InputAdapter","simpleString":"InputAdapter","children":[{"nodeName":"AQEShuffleRead","simpleString":"AQEShuffleRead coalesced","children":[{"nodeName":"ShuffleQueryStage","simpleString":"ShuffleQueryStage 2","children":[{"nodeName":"Exchange","simpleString":"Exchange hashpartitioning(user_id#19L, 200), ENSURE_REQUIREMENTS, [plan_id=246]","children":[{"nodeName":"WholeStageCodegen (3)","simpleString":"WholeStageCodegen (3)","children":[{"nodeName":"HashAggregate","simpleString":"HashAggregate(keys=[user_id#19L], functions=[partial_min(viewed_at#21)])","children":[{"nodeName":"Filter","simpleString":"Filter isnotnull(user_id#19L)","children":[{"nodeName":"InputAdapter","simpleString":"InputAdapter","children":[{"nodeName":"Scan csv ","simpleString":"FileScan csv [user_id#19L,viewed_at#21] Batched: false, DataFilters: [isnotnull(user_id#19L)], Format: CSV, Location: InMemoryFileIndex(1 paths)[s3a://apavlovets-bucket/raw/lesson_views.csv], PartitionFilters: [], PushedFilters: [IsNotNull(user_id)], ReadSchema: struct","children":[],"metadata":{"Location":"InMemoryFileIndex(1 paths)[s3a://apavlovets-bucket/raw/lesson_views.csv]","ReadSchema":"struct","Format":"CSV","Batched":"false","PartitionFilters":"[]","PushedFilters":"[IsNotNull(user_id)]","DataFilters":"[isnotnull(user_id#19L)]"},"metrics":[{"name":"number of output rows","accumulatorId":236,"metricType":"sum"},{"name":"number of files read","accumulatorId":237,"metricType":"sum"},{"name":"metadata time","accumulatorId":238,"metricType":"timing"},{"name":"size of files read","accumulatorId":239,"metricType":"size"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"number of output rows","accumulatorId":459,"metricType":"sum"}]}],"metadata":{},"metrics":[{"name":"spill size","accumulatorId":455,"metricType":"size"},{"name":"time in aggregation build","accumulatorId":456,"metricType":"timing"},{"name":"peak memory","accumulatorId":454,"metricType":"size"},{"name":"number of output rows","accumulatorId":453,"metricType":"sum"},{"name":"number of sort fallback tasks","accumulatorId":458,"metricType":"sum"},{"name":"avg hash probes per key","accumulatorId":457,"metricType":"average"}]}],"metadata":{},"metrics":[{"name":"duration","accumulatorId":452,"metricType":"timing"}]}],"metadata":{},"metrics":[{"name":"shuffle records written","accumulatorId":450,"metricType":"sum"},{"name":"local merged chunks fetched","accumulatorId":444,"metricType":"sum"},{"name":"shuffle write time","accumulatorId":451,"metricType":"nsTiming"},{"name":"remote merged bytes read","accumulatorId":445,"metricType":"size"},{"name":"local merged blocks fetched","accumulatorId":442,"metricType":"sum"},{"name":"corrupt merged block chunks","accumulatorId":439,"metricType":"sum"},{"name":"remote merged reqs duration","accumulatorId":448,"metricType":"timing"},{"name":"remote merged blocks fetched","accumulatorId":441,"metricType":"sum"},{"name":"records read","accumulatorId":438,"metricType":"sum"},{"name":"local bytes read","accumulatorId":436,"metricType":"size"},{"name":"fetch wait time","accumulatorId":437,"metricType":"timing"},{"name":"remote bytes read","accumulatorId":434,"metricType":"size"},{"name":"merged fetch fallback count","accumulatorId":440,"metricType":"sum"},{"name":"local blocks read","accumulatorId":433,"metricType":"sum"},{"name":"remote merged chunks fetched","accumulatorId":443,"metricType":"sum"},{"name":"remote blocks read","accumulatorId":432,"metricType":"sum"},{"name":"data size","accumulatorId":430,"metricType":"size"},{"name":"local merged bytes read","accumulatorId":446,"metricType":"size"},{"name":"number of partitions","accumulatorId":431,"metricType":"sum"},{"name":"remote reqs duration","accumulatorId":447,"metricType":"timing"},{"name":"remote bytes read to disk","accumulatorId":435,"metricType":"size"},{"name":"shuffle bytes written","accumulatorId":449,"metricType":"size"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"number of partitions","accumulatorId":689,"metricType":"sum"},{"name":"partition data size","accumulatorId":690,"metricType":"size"},{"name":"number of coalesced partitions","accumulatorId":691,"metricType":"sum"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"spill size","accumulatorId":685,"metricType":"size"},{"name":"time in aggregation build","accumulatorId":686,"metricType":"timing"},{"name":"peak memory","accumulatorId":684,"metricType":"size"},{"name":"number of output rows","accumulatorId":683,"metricType":"sum"},{"name":"number of sort fallback tasks","accumulatorId":688,"metricType":"sum"},{"name":"avg hash probes per key","accumulatorId":687,"metricType":"average"}]}],"metadata":{},"metrics":[{"name":"duration","accumulatorId":682,"metricType":"timing"}]}],"metadata":{},"metrics":[{"name":"time to broadcast","accumulatorId":681,"metricType":"timing"},{"name":"time to build","accumulatorId":680,"metricType":"timing"},{"name":"time to collect","accumulatorId":679,"metricType":"timing"},{"name":"number of output rows","accumulatorId":678,"metricType":"sum"},{"name":"data size","accumulatorId":677,"metricType":"size"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"number of output rows","accumulatorId":1176,"metricType":"sum"}]}],"metadata":{},"metrics":[{"name":"number of output rows","accumulatorId":1175,"metricType":"sum"}]}],"metadata":{},"metrics":[{"name":"spill size","accumulatorId":1171,"metricType":"size"},{"name":"time in aggregation build","accumulatorId":1172,"metricType":"timing"},{"name":"peak memory","accumulatorId":1170,"metricType":"size"},{"name":"number of output rows","accumulatorId":1169,"metricType":"sum"},{"name":"number of sort fallback tasks","accumulatorId":1174,"metricType":"sum"},{"name":"avg hash probes per key","accumulatorId":1173,"metricType":"average"}]}],"metadata":{},"metrics":[{"name":"duration","accumulatorId":1168,"metricType":"timing"}]}],"metadata":{},"metrics":[{"name":"shuffle records written","accumulatorId":1166,"metricType":"sum"},{"name":"local merged chunks fetched","accumulatorId":1160,"metricType":"sum"},{"name":"shuffle write time","accumulatorId":1167,"metricType":"nsTiming"},{"name":"remote merged bytes read","accumulatorId":1161,"metricType":"size"},{"name":"local merged blocks fetched","accumulatorId":1158,"metricType":"sum"},{"name":"corrupt merged block chunks","accumulatorId":1155,"metricType":"sum"},{"name":"remote merged reqs duration","accumulatorId":1164,"metricType":"timing"},{"name":"remote merged blocks fetched","accumulatorId":1157,"metricType":"sum"},{"name":"records read","accumulatorId":1154,"metricType":"sum"},{"name":"local bytes read","accumulatorId":1152,"metricType":"size"},{"name":"fetch wait time","accumulatorId":1153,"metricType":"timing"},{"name":"remote bytes read","accumulatorId":1150,"metricType":"size"},{"name":"merged fetch fallback count","accumulatorId":1156,"metricType":"sum"},{"name":"local blocks read","accumulatorId":1149,"metricType":"sum"},{"name":"remote merged chunks fetched","accumulatorId":1159,"metricType":"sum"},{"name":"remote blocks read","accumulatorId":1148,"metricType":"sum"},{"name":"data size","accumulatorId":1146,"metricType":"size"},{"name":"local merged bytes read","accumulatorId":1162,"metricType":"size"},{"name":"number of partitions","accumulatorId":1147,"metricType":"sum"},{"name":"remote reqs duration","accumulatorId":1163,"metricType":"timing"},{"name":"remote bytes read to disk","accumulatorId":1151,"metricType":"size"},{"name":"shuffle bytes written","accumulatorId":1165,"metricType":"size"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"spill size","accumulatorId":1142,"metricType":"size"},{"name":"time in aggregation build","accumulatorId":1143,"metricType":"timing"},{"name":"peak memory","accumulatorId":1141,"metricType":"size"},{"name":"number of output rows","accumulatorId":1140,"metricType":"sum"},{"name":"number of sort fallback tasks","accumulatorId":1145,"metricType":"sum"},{"name":"avg hash probes per key","accumulatorId":1144,"metricType":"average"}]}],"metadata":{},"metrics":[{"name":"spill size","accumulatorId":1136,"metricType":"size"},{"name":"time in aggregation build","accumulatorId":1137,"metricType":"timing"},{"name":"peak memory","accumulatorId":1135,"metricType":"size"},{"name":"number of output rows","accumulatorId":1134,"metricType":"sum"},{"name":"number of sort fallback tasks","accumulatorId":1139,"metricType":"sum"},{"name":"avg hash probes per key","accumulatorId":1138,"metricType":"average"}]}],"metadata":{},"metrics":[{"name":"shuffle records written","accumulatorId":1132,"metricType":"sum"},{"name":"local merged chunks fetched","accumulatorId":1126,"metricType":"sum"},{"name":"shuffle write time","accumulatorId":1133,"metricType":"nsTiming"},{"name":"remote merged bytes read","accumulatorId":1127,"metricType":"size"},{"name":"local merged blocks fetched","accumulatorId":1124,"metricType":"sum"},{"name":"corrupt merged block chunks","accumulatorId":1121,"metricType":"sum"},{"name":"remote merged reqs duration","accumulatorId":1130,"metricType":"timing"},{"name":"remote merged blocks fetched","accumulatorId":1123,"metricType":"sum"},{"name":"records read","accumulatorId":1120,"metricType":"sum"},{"name":"local bytes read","accumulatorId":1118,"metricType":"size"},{"name":"fetch wait time","accumulatorId":1119,"metricType":"timing"},{"name":"remote bytes read","accumulatorId":1116,"metricType":"size"},{"name":"merged fetch fallback count","accumulatorId":1122,"metricType":"sum"},{"name":"local blocks read","accumulatorId":1115,"metricType":"sum"},{"name":"remote merged chunks fetched","accumulatorId":1125,"metricType":"sum"},{"name":"remote blocks read","accumulatorId":1114,"metricType":"sum"},{"name":"data size","accumulatorId":1112,"metricType":"size"},{"name":"local merged bytes read","accumulatorId":1128,"metricType":"size"},{"name":"number of partitions","accumulatorId":1113,"metricType":"sum"},{"name":"remote reqs duration","accumulatorId":1129,"metricType":"timing"},{"name":"remote bytes read to disk","accumulatorId":1117,"metricType":"size"},{"name":"shuffle bytes written","accumulatorId":1131,"metricType":"size"}]}],"metadata":{},"metrics":[{"name":"spill size","accumulatorId":1108,"metricType":"size"},{"name":"time in aggregation build","accumulatorId":1109,"metricType":"timing"},{"name":"peak memory","accumulatorId":1107,"metricType":"size"},{"name":"number of output rows","accumulatorId":1106,"metricType":"sum"},{"name":"number of sort fallback tasks","accumulatorId":1111,"metricType":"sum"},{"name":"avg hash probes per key","accumulatorId":1110,"metricType":"average"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"shuffle records written","accumulatorId":1104,"metricType":"sum"},{"name":"local merged chunks fetched","accumulatorId":1098,"metricType":"sum"},{"name":"shuffle write time","accumulatorId":1105,"metricType":"nsTiming"},{"name":"remote merged bytes read","accumulatorId":1099,"metricType":"size"},{"name":"local merged blocks fetched","accumulatorId":1096,"metricType":"sum"},{"name":"corrupt merged block chunks","accumulatorId":1093,"metricType":"sum"},{"name":"remote merged reqs duration","accumulatorId":1102,"metricType":"timing"},{"name":"remote merged blocks fetched","accumulatorId":1095,"metricType":"sum"},{"name":"records read","accumulatorId":1092,"metricType":"sum"},{"name":"local bytes read","accumulatorId":1090,"metricType":"size"},{"name":"fetch wait time","accumulatorId":1091,"metricType":"timing"},{"name":"remote bytes read","accumulatorId":1088,"metricType":"size"},{"name":"merged fetch fallback count","accumulatorId":1094,"metricType":"sum"},{"name":"local blocks read","accumulatorId":1087,"metricType":"sum"},{"name":"remote merged chunks fetched","accumulatorId":1097,"metricType":"sum"},{"name":"remote blocks read","accumulatorId":1086,"metricType":"sum"},{"name":"data size","accumulatorId":1084,"metricType":"size"},{"name":"local merged bytes read","accumulatorId":1100,"metricType":"size"},{"name":"number of partitions","accumulatorId":1085,"metricType":"sum"},{"name":"remote reqs duration","accumulatorId":1101,"metricType":"timing"},{"name":"remote bytes read to disk","accumulatorId":1089,"metricType":"size"},{"name":"shuffle bytes written","accumulatorId":1103,"metricType":"size"}]}],"metadata":{},"metrics":[{"name":"sort time","accumulatorId":1081,"metricType":"timing"},{"name":"peak memory","accumulatorId":1082,"metricType":"size"},{"name":"spill size","accumulatorId":1083,"metricType":"size"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"task commit time","accumulatorId":1079,"metricType":"timing"},{"name":"number of written files","accumulatorId":1075,"metricType":"sum"},{"name":"job commit time","accumulatorId":1080,"metricType":"timing"},{"name":"number of output rows","accumulatorId":1077,"metricType":"sum"},{"name":"number of dynamic part","accumulatorId":1078,"metricType":"sum"},{"name":"written output","accumulatorId":1076,"metricType":"size"}]}],"metadata":{},"metrics":[]}} {"Event":"org.apache.spark.sql.execution.ui.SparkListenerDriverAccumUpdates","executionId":0,"accumUpdates":[[1180,1],[1181,0],[1182,1032]]} {"Event":"org.apache.spark.sql.execution.ui.SparkListenerDriverAccumUpdates","executionId":0,"accumUpdates":[[1147,200]]} {"Event":"SparkListenerJobStart","Job ID":6,"Submission Time":1784546405984,"Stage Infos":[{"Stage ID":10,"Stage Attempt ID":0,"Stage Name":"parquet at NativeMethodAccessorImpl.java:0","Number of Tasks":1,"RDD Info":[{"RDD ID":24,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"54\",\"name\":\"Exchange\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[23],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"DETERMINATE","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":22,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"70\",\"name\":\"Scan csv \"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[21],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"DETERMINATE","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":23,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"55\",\"name\":\"WholeStageCodegen (7)\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[22],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"DETERMINATE","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":21,"Name":"FileScanRDD","Scope":"{\"id\":\"70\",\"name\":\"Scan csv \"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"DETERMINATE","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0}],"Parent IDs":[],"Details":"org.apache.spark.sql.DataFrameWriter.parquet(DataFrameWriter.scala:792)\njava.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\njava.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)\njava.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\njava.base/java.lang.reflect.Method.invoke(Method.java:569)\npy4j.reflection.MethodInvoker.invoke(MethodInvoker.java:244)\npy4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:374)\npy4j.Gateway.invoke(Gateway.java:282)\npy4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:132)\npy4j.commands.CallCommand.execute(CallCommand.java:79)\npy4j.ClientServerConnection.waitForCommands(ClientServerConnection.java:182)\npy4j.ClientServerConnection.run(ClientServerConnection.java:106)\njava.base/java.lang.Thread.run(Thread.java:840)","Accumulables":[],"Resource Profile Id":0,"Shuffle Push Enabled":false,"Shuffle Push Mergers Count":0}],"Stage IDs":[10],"Properties":{"spark.driver.port":"34351","spark.submit.pyFiles":"","spark.app.startTime":"1784546379461","spark.rdd.scope":"{\"id\":\"54\",\"name\":\"Exchange\"}","spark.hadoop.fs.s3a.endpoint":"http://minio:9000","spark.rdd.compress":"True","spark.hadoop.fs.s3a.impl":"org.apache.hadoop.fs.s3a.S3AFileSystem","spark.app.submitTime":"1784546378209","spark.eventLog.dir":"file:/opt/spark-events","spark.hadoop.fs.s3a.aws.credentials.provider":"org.apache.hadoop.fs.s3a.SimpleAWSCredentialsProvider","spark.sql.execution.id":"0","spark.sql.warehouse.dir":"file:/opt/airflow/spark-warehouse","spark.rdd.scope.noOverride":"true","spark.master":"spark://spark-master:7077","spark.hadoop.fs.s3a.secret.key":"*********(redacted)","spark.executor.id":"driver","spark.app.name":"dm_user_cohort_analysis","spark.hadoop.fs.s3a.access.key":"*********(redacted)","spark.submit.deployMode":"client","spark.hadoop.fs.s3a.path.style.access":"true","spark.driver.host":"73850a3d530b","spark.app.id":"app-20260720151940-0099","spark.eventLog.compress":"true","spark.eventLog.enabled":"true","__fetch_continuous_blocks_in_batch_enabled":"true","spark.executor.extraJavaOptions":"-Djava.net.preferIPv6Addresses=false -XX:+IgnoreUnrecognizedVMOptions --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.base/sun.nio.cs=ALL-UNNAMED --add-opens=java.base/sun.security.action=ALL-UNNAMED --add-opens=java.base/sun.util.calendar=ALL-UNNAMED --add-opens=java.security.jgss/sun.security.krb5=ALL-UNNAMED -Djdk.reflect.useDirectMethodHandle=false","spark.sql.execution.root.id":"0","spark.hadoop.fs.s3a.connection.ssl.enabled":"false","spark.serializer.objectStreamReset":"100","spark.driver.extraJavaOptions":"-Djava.net.preferIPv6Addresses=false -XX:+IgnoreUnrecognizedVMOptions --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.base/sun.nio.cs=ALL-UNNAMED --add-opens=java.base/sun.security.action=ALL-UNNAMED --add-opens=java.base/sun.util.calendar=ALL-UNNAMED --add-opens=java.security.jgss/sun.security.krb5=ALL-UNNAMED -Djdk.reflect.useDirectMethodHandle=false"}} {"Event":"SparkListenerStageSubmitted","Stage Info":{"Stage ID":10,"Stage Attempt ID":0,"Stage Name":"parquet at NativeMethodAccessorImpl.java:0","Number of Tasks":1,"RDD Info":[{"RDD ID":24,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"54\",\"name\":\"Exchange\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[23],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"DETERMINATE","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":22,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"70\",\"name\":\"Scan csv \"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[21],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"DETERMINATE","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":23,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"55\",\"name\":\"WholeStageCodegen (7)\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[22],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"DETERMINATE","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":21,"Name":"FileScanRDD","Scope":"{\"id\":\"70\",\"name\":\"Scan csv \"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"DETERMINATE","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0}],"Parent IDs":[],"Details":"org.apache.spark.sql.DataFrameWriter.parquet(DataFrameWriter.scala:792)\njava.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\njava.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)\njava.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\njava.base/java.lang.reflect.Method.invoke(Method.java:569)\npy4j.reflection.MethodInvoker.invoke(MethodInvoker.java:244)\npy4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:374)\npy4j.Gateway.invoke(Gateway.java:282)\npy4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:132)\npy4j.commands.CallCommand.execute(CallCommand.java:79)\npy4j.ClientServerConnection.waitForCommands(ClientServerConnection.java:182)\npy4j.ClientServerConnection.run(ClientServerConnection.java:106)\njava.base/java.lang.Thread.run(Thread.java:840)","Submission Time":1784546405987,"Accumulables":[],"Resource Profile Id":0,"Shuffle Push Enabled":false,"Shuffle Push Mergers Count":0},"Properties":{"spark.driver.port":"34351","spark.submit.pyFiles":"","spark.app.startTime":"1784546379461","spark.rdd.scope":"{\"id\":\"54\",\"name\":\"Exchange\"}","spark.hadoop.fs.s3a.endpoint":"http://minio:9000","spark.rdd.compress":"True","spark.hadoop.fs.s3a.impl":"org.apache.hadoop.fs.s3a.S3AFileSystem","spark.app.submitTime":"1784546378209","spark.eventLog.dir":"file:/opt/spark-events","spark.hadoop.fs.s3a.aws.credentials.provider":"org.apache.hadoop.fs.s3a.SimpleAWSCredentialsProvider","spark.sql.execution.id":"0","spark.sql.warehouse.dir":"file:/opt/airflow/spark-warehouse","spark.rdd.scope.noOverride":"true","spark.master":"spark://spark-master:7077","spark.hadoop.fs.s3a.secret.key":"*********(redacted)","spark.executor.id":"driver","spark.app.name":"dm_user_cohort_analysis","spark.hadoop.fs.s3a.access.key":"*********(redacted)","spark.submit.deployMode":"client","spark.hadoop.fs.s3a.path.style.access":"true","spark.driver.host":"73850a3d530b","spark.app.id":"app-20260720151940-0099","spark.eventLog.compress":"true","spark.eventLog.enabled":"true","__fetch_continuous_blocks_in_batch_enabled":"true","spark.executor.extraJavaOptions":"-Djava.net.preferIPv6Addresses=false -XX:+IgnoreUnrecognizedVMOptions --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.base/sun.nio.cs=ALL-UNNAMED --add-opens=java.base/sun.security.action=ALL-UNNAMED --add-opens=java.base/sun.util.calendar=ALL-UNNAMED --add-opens=java.security.jgss/sun.security.krb5=ALL-UNNAMED -Djdk.reflect.useDirectMethodHandle=false","spark.sql.execution.root.id":"0","spark.hadoop.fs.s3a.connection.ssl.enabled":"false","spark.serializer.objectStreamReset":"100","spark.driver.extraJavaOptions":"-Djava.net.preferIPv6Addresses=false -XX:+IgnoreUnrecognizedVMOptions --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.base/sun.nio.cs=ALL-UNNAMED --add-opens=java.base/sun.security.action=ALL-UNNAMED --add-opens=java.base/sun.util.calendar=ALL-UNNAMED --add-opens=java.security.jgss/sun.security.krb5=ALL-UNNAMED -Djdk.reflect.useDirectMethodHandle=false"}} {"Event":"SparkListenerTaskStart","Stage ID":10,"Stage Attempt ID":0,"Task Info":{"Task ID":6,"Index":0,"Attempt":0,"Partition ID":0,"Launch Time":1784546405999,"Executor ID":"0","Host":"172.28.0.49","Locality":"PROCESS_LOCAL","Speculative":false,"Getting Result Time":0,"Finish Time":0,"Failed":false,"Killed":false,"Accumulables":[]}} {"Event":"SparkListenerTaskEnd","Stage ID":10,"Stage Attempt ID":0,"Task Type":"ShuffleMapTask","Task End Reason":{"Reason":"Success"},"Task Info":{"Task ID":6,"Index":0,"Attempt":0,"Partition ID":0,"Launch Time":1784546405999,"Executor ID":"0","Host":"172.28.0.49","Locality":"PROCESS_LOCAL","Speculative":false,"Getting Result Time":0,"Finish Time":1784546406267,"Failed":false,"Killed":false,"Accumulables":[{"ID":1146,"Name":"data size","Update":"4720","Value":"4720","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1165,"Name":"shuffle bytes written","Update":"4491","Value":"4491","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1166,"Name":"shuffle records written","Update":"59","Value":"59","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1167,"Name":"shuffle write time","Update":"5447613","Value":"5447613","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1168,"Name":"duration","Update":"108","Value":"108","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1169,"Name":"number of output rows","Update":"59","Value":"59","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1170,"Name":"peak memory","Update":"4456432","Value":"4456432","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1172,"Name":"time in aggregation build","Update":"36","Value":"36","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1173,"Name":"avg hash probes per key","Update":"10","Value":"10","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1175,"Name":"number of output rows","Update":"80","Value":"80","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1176,"Name":"number of output rows","Update":"20","Value":"20","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1177,"Name":"number of output rows","Update":"20","Value":"20","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1178,"Name":"number of output rows","Update":"20","Value":"20","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1179,"Name":"number of output rows","Update":"20","Value":"20","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1183,"Name":"internal.metrics.executorDeserializeTime","Update":92,"Value":92,"Internal":true,"Count Failed Values":true},{"ID":1184,"Name":"internal.metrics.executorDeserializeCpuTime","Update":71534830,"Value":71534830,"Internal":true,"Count Failed Values":true},{"ID":1185,"Name":"internal.metrics.executorRunTime","Update":163,"Value":163,"Internal":true,"Count Failed Values":true},{"ID":1186,"Name":"internal.metrics.executorCpuTime","Update":134501714,"Value":134501714,"Internal":true,"Count Failed Values":true},{"ID":1187,"Name":"internal.metrics.resultSize","Update":11195,"Value":11195,"Internal":true,"Count Failed Values":true},{"ID":1192,"Name":"internal.metrics.peakExecutionMemory","Update":4458496,"Value":4458496,"Internal":true,"Count Failed Values":true},{"ID":1211,"Name":"internal.metrics.shuffle.write.bytesWritten","Update":4491,"Value":4491,"Internal":true,"Count Failed Values":true},{"ID":1212,"Name":"internal.metrics.shuffle.write.recordsWritten","Update":59,"Value":59,"Internal":true,"Count Failed Values":true},{"ID":1213,"Name":"internal.metrics.shuffle.write.writeTime","Update":5447613,"Value":5447613,"Internal":true,"Count Failed Values":true},{"ID":1214,"Name":"internal.metrics.input.bytesRead","Update":1032,"Value":1032,"Internal":true,"Count Failed Values":true},{"ID":1215,"Name":"internal.metrics.input.recordsRead","Update":20,"Value":20,"Internal":true,"Count Failed Values":true}]},"Task Executor Metrics":{"JVMHeapMemory":0,"JVMOffHeapMemory":0,"OnHeapExecutionMemory":0,"OffHeapExecutionMemory":0,"OnHeapStorageMemory":0,"OffHeapStorageMemory":0,"OnHeapUnifiedMemory":0,"OffHeapUnifiedMemory":0,"DirectPoolMemory":0,"MappedPoolMemory":0,"ProcessTreeJVMVMemory":0,"ProcessTreeJVMRSSMemory":0,"ProcessTreePythonVMemory":0,"ProcessTreePythonRSSMemory":0,"ProcessTreeOtherVMemory":0,"ProcessTreeOtherRSSMemory":0,"MinorGCCount":0,"MinorGCTime":0,"MajorGCCount":0,"MajorGCTime":0,"TotalGCTime":0},"Task Metrics":{"Executor Deserialize Time":92,"Executor Deserialize CPU Time":71534830,"Executor Run Time":163,"Executor CPU Time":134501714,"Peak Execution Memory":4458496,"Result Size":11195,"JVM GC Time":0,"Result Serialization Time":0,"Memory Bytes Spilled":0,"Disk Bytes Spilled":0,"Shuffle Read Metrics":{"Remote Blocks Fetched":0,"Local Blocks Fetched":0,"Fetch Wait Time":0,"Remote Bytes Read":0,"Remote Bytes Read To Disk":0,"Local Bytes Read":0,"Total Records Read":0,"Remote Requests Duration":0,"Push Based Shuffle":{"Corrupt Merged Block Chunks":0,"Merged Fetch Fallback Count":0,"Merged Remote Blocks Fetched":0,"Merged Local Blocks Fetched":0,"Merged Remote Chunks Fetched":0,"Merged Local Chunks Fetched":0,"Merged Remote Bytes Read":0,"Merged Local Bytes Read":0,"Merged Remote Requests Duration":0}},"Shuffle Write Metrics":{"Shuffle Bytes Written":4491,"Shuffle Write Time":5447613,"Shuffle Records Written":59},"Input Metrics":{"Bytes Read":1032,"Records Read":20},"Output Metrics":{"Bytes Written":0,"Records Written":0},"Updated Blocks":[]}} {"Event":"SparkListenerStageCompleted","Stage Info":{"Stage ID":10,"Stage Attempt ID":0,"Stage Name":"parquet at NativeMethodAccessorImpl.java:0","Number of Tasks":1,"RDD Info":[{"RDD ID":24,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"54\",\"name\":\"Exchange\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[23],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"DETERMINATE","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":22,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"70\",\"name\":\"Scan csv \"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[21],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"DETERMINATE","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":23,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"55\",\"name\":\"WholeStageCodegen (7)\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[22],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"DETERMINATE","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":21,"Name":"FileScanRDD","Scope":"{\"id\":\"70\",\"name\":\"Scan csv \"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"DETERMINATE","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0}],"Parent IDs":[],"Details":"org.apache.spark.sql.DataFrameWriter.parquet(DataFrameWriter.scala:792)\njava.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\njava.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)\njava.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\njava.base/java.lang.reflect.Method.invoke(Method.java:569)\npy4j.reflection.MethodInvoker.invoke(MethodInvoker.java:244)\npy4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:374)\npy4j.Gateway.invoke(Gateway.java:282)\npy4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:132)\npy4j.commands.CallCommand.execute(CallCommand.java:79)\npy4j.ClientServerConnection.waitForCommands(ClientServerConnection.java:182)\npy4j.ClientServerConnection.run(ClientServerConnection.java:106)\njava.base/java.lang.Thread.run(Thread.java:840)","Submission Time":1784546405987,"Completion Time":1784546406268,"Accumulables":[{"ID":1146,"Name":"data size","Value":"4720","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1165,"Name":"shuffle bytes written","Value":"4491","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1166,"Name":"shuffle records written","Value":"59","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1167,"Name":"shuffle write time","Value":"5447613","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1168,"Name":"duration","Value":"108","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1169,"Name":"number of output rows","Value":"59","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1170,"Name":"peak memory","Value":"4456432","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1172,"Name":"time in aggregation build","Value":"36","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1173,"Name":"avg hash probes per key","Value":"10","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1175,"Name":"number of output rows","Value":"80","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1176,"Name":"number of output rows","Value":"20","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1177,"Name":"number of output rows","Value":"20","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1178,"Name":"number of output rows","Value":"20","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1179,"Name":"number of output rows","Value":"20","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1183,"Name":"internal.metrics.executorDeserializeTime","Value":92,"Internal":true,"Count Failed Values":true},{"ID":1184,"Name":"internal.metrics.executorDeserializeCpuTime","Value":71534830,"Internal":true,"Count Failed Values":true},{"ID":1185,"Name":"internal.metrics.executorRunTime","Value":163,"Internal":true,"Count Failed Values":true},{"ID":1186,"Name":"internal.metrics.executorCpuTime","Value":134501714,"Internal":true,"Count Failed Values":true},{"ID":1187,"Name":"internal.metrics.resultSize","Value":11195,"Internal":true,"Count Failed Values":true},{"ID":1192,"Name":"internal.metrics.peakExecutionMemory","Value":4458496,"Internal":true,"Count Failed Values":true},{"ID":1211,"Name":"internal.metrics.shuffle.write.bytesWritten","Value":4491,"Internal":true,"Count Failed Values":true},{"ID":1212,"Name":"internal.metrics.shuffle.write.recordsWritten","Value":59,"Internal":true,"Count Failed Values":true},{"ID":1213,"Name":"internal.metrics.shuffle.write.writeTime","Value":5447613,"Internal":true,"Count Failed Values":true},{"ID":1214,"Name":"internal.metrics.input.bytesRead","Value":1032,"Internal":true,"Count Failed Values":true},{"ID":1215,"Name":"internal.metrics.input.recordsRead","Value":20,"Internal":true,"Count Failed Values":true}],"Resource Profile Id":0,"Shuffle Push Enabled":false,"Shuffle Push Mergers Count":0}} {"Event":"SparkListenerJobEnd","Job ID":6,"Completion Time":1784546406269,"Job Result":{"Result":"JobSucceeded"}} {"Event":"org.apache.spark.sql.execution.ui.SparkListenerSQLAdaptiveExecutionUpdate","executionId":0,"physicalPlanDescription":"== Physical Plan ==\nAdaptiveSparkPlan (82)\n+- == Current Plan ==\n Execute InsertIntoHadoopFsRelationCommand (48)\n +- WriteFiles (47)\n +- Sort (46)\n +- Exchange (45)\n +- Project (44)\n +- HashAggregate (43)\n +- ShuffleQueryStage (42)\n +- Exchange (41)\n +- * HashAggregate (40)\n +- * HashAggregate (39)\n +- AQEShuffleRead (38)\n +- ShuffleQueryStage (37), Statistics(sizeInBytes=4.6 KiB, rowCount=59)\n +- Exchange (36)\n +- * HashAggregate (35)\n +- * Expand (34)\n +- * BroadcastHashJoin LeftOuter BuildRight (33)\n :- * BroadcastHashJoin LeftOuter BuildRight (23)\n : :- * Project (8)\n : : +- * BroadcastHashJoin LeftOuter BuildRight (7)\n : : :- * Project (2)\n : : : +- Scan csv (1)\n : : +- BroadcastQueryStage (6), Statistics(sizeInBytes=1024.2 KiB, rowCount=20)\n : : +- BroadcastExchange (5)\n : : +- * Filter (4)\n : : +- Scan csv (3)\n : +- BroadcastQueryStage (22), Statistics(sizeInBytes=1024.2 KiB, rowCount=20)\n : +- BroadcastExchange (21)\n : +- * HashAggregate (20)\n : +- AQEShuffleRead (19)\n : +- ShuffleQueryStage (18), Statistics(sizeInBytes=480.0 B, rowCount=20)\n : +- Exchange (17)\n : +- * HashAggregate (16)\n : +- * HashAggregate (15)\n : +- AQEShuffleRead (14)\n : +- ShuffleQueryStage (13), Statistics(sizeInBytes=1080.0 B, rowCount=45)\n : +- Exchange (12)\n : +- * HashAggregate (11)\n : +- * Filter (10)\n : +- Scan csv (9)\n +- BroadcastQueryStage (32), Statistics(sizeInBytes=1024.1 KiB, rowCount=11)\n +- BroadcastExchange (31)\n +- * HashAggregate (30)\n +- AQEShuffleRead (29)\n +- ShuffleQueryStage (28), Statistics(sizeInBytes=264.0 B, rowCount=11)\n +- Exchange (27)\n +- * HashAggregate (26)\n +- * Filter (25)\n +- Scan csv (24)\n+- == Initial Plan ==\n Execute InsertIntoHadoopFsRelationCommand (81)\n +- WriteFiles (80)\n +- Sort (79)\n +- Exchange (78)\n +- Project (77)\n +- HashAggregate (76)\n +- Exchange (75)\n +- HashAggregate (74)\n +- HashAggregate (73)\n +- Exchange (72)\n +- HashAggregate (71)\n +- Expand (70)\n +- BroadcastHashJoin LeftOuter BuildRight (69)\n :- BroadcastHashJoin LeftOuter BuildRight (63)\n : :- Project (54)\n : : +- BroadcastHashJoin LeftOuter BuildRight (53)\n : : :- Project (50)\n : : : +- Scan csv (49)\n : : +- BroadcastExchange (52)\n : : +- Filter (51)\n : : +- Scan csv (3)\n : +- BroadcastExchange (62)\n : +- HashAggregate (61)\n : +- Exchange (60)\n : +- HashAggregate (59)\n : +- HashAggregate (58)\n : +- Exchange (57)\n : +- HashAggregate (56)\n : +- Filter (55)\n : +- Scan csv (9)\n +- BroadcastExchange (68)\n +- HashAggregate (67)\n +- Exchange (66)\n +- HashAggregate (65)\n +- Filter (64)\n +- Scan csv (24)\n\n\n(1) Scan csv \nOutput [2]: [id#0L, registration_date#4]\nBatched: false\nLocation: InMemoryFileIndex [s3a://apavlovets-bucket/raw/users.csv]\nReadSchema: struct\n\n(2) Project [codegen id : 7]\nOutput [2]: [id#0L AS user_id#26L, date_trunc(month, registration_date#4, Some(Europe/Samara)) AS cohort_month_ts#27]\nInput [2]: [id#0L, registration_date#4]\n\n(3) Scan csv \nOutput [2]: [id#53L, registration_date#57]\nBatched: false\nLocation: InMemoryFileIndex [s3a://apavlovets-bucket/raw/users.csv]\nPushedFilters: [IsNotNull(id)]\nReadSchema: struct\n\n(4) Filter [codegen id : 1]\nInput [2]: [id#53L, registration_date#57]\nCondition : isnotnull(id#53L)\n\n(5) BroadcastExchange\nInput [2]: [id#53L, registration_date#57]\nArguments: HashedRelationBroadcastMode(List(input[0, bigint, false]),false), [plan_id=213]\n\n(6) BroadcastQueryStage\nOutput [2]: [id#53L, registration_date#57]\nArguments: 0\n\n(7) BroadcastHashJoin [codegen id : 7]\nLeft keys [1]: [user_id#26L]\nRight keys [1]: [id#53L]\nJoin type: LeftOuter\nJoin condition: None\n\n(8) Project [codegen id : 7]\nOutput [3]: [user_id#26L, cohort_month_ts#27, registration_date#57]\nInput [4]: [user_id#26L, cohort_month_ts#27, id#53L, registration_date#57]\n\n(9) Scan csv \nOutput [2]: [user_id#11L, course_id#12L]\nBatched: false\nLocation: InMemoryFileIndex [s3a://apavlovets-bucket/raw/enrollments.csv]\nPushedFilters: [IsNotNull(user_id)]\nReadSchema: struct\n\n(10) Filter [codegen id : 2]\nInput [2]: [user_id#11L, course_id#12L]\nCondition : isnotnull(user_id#11L)\n\n(11) HashAggregate [codegen id : 2]\nInput [2]: [user_id#11L, course_id#12L]\nKeys [2]: [user_id#11L, course_id#12L]\nFunctions: []\nAggregate Attributes: []\nResults [2]: [user_id#11L, course_id#12L]\n\n(12) Exchange\nInput [2]: [user_id#11L, course_id#12L]\nArguments: hashpartitioning(user_id#11L, course_id#12L, 200), ENSURE_REQUIREMENTS, [plan_id=226]\n\n(13) ShuffleQueryStage\nOutput [2]: [user_id#11L, course_id#12L]\nArguments: 1\n\n(14) AQEShuffleRead\nInput [2]: [user_id#11L, course_id#12L]\nArguments: coalesced\n\n(15) HashAggregate [codegen id : 5]\nInput [2]: [user_id#11L, course_id#12L]\nKeys [2]: [user_id#11L, course_id#12L]\nFunctions: []\nAggregate Attributes: []\nResults [2]: [user_id#11L, course_id#12L]\n\n(16) HashAggregate [codegen id : 5]\nInput [2]: [user_id#11L, course_id#12L]\nKeys [1]: [user_id#11L]\nFunctions [1]: [partial_count(distinct course_id#12L)]\nAggregate Attributes [1]: [count(course_id#12L)#36L]\nResults [2]: [user_id#11L, count#203L]\n\n(17) Exchange\nInput [2]: [user_id#11L, count#203L]\nArguments: hashpartitioning(user_id#11L, 200), ENSURE_REQUIREMENTS, [plan_id=507]\n\n(18) ShuffleQueryStage\nOutput [2]: [user_id#11L, count#203L]\nArguments: 4\n\n(19) AQEShuffleRead\nInput [2]: [user_id#11L, count#203L]\nArguments: coalesced\n\n(20) HashAggregate [codegen id : 6]\nInput [2]: [user_id#11L, count#203L]\nKeys [1]: [user_id#11L]\nFunctions [1]: [count(distinct course_id#12L)]\nAggregate Attributes [1]: [count(course_id#12L)#36L]\nResults [2]: [user_id#11L, count(course_id#12L)#36L AS courses_count#35L]\n\n(21) BroadcastExchange\nInput [2]: [user_id#11L, courses_count#35L]\nArguments: HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=700]\n\n(22) BroadcastQueryStage\nOutput [2]: [user_id#11L, courses_count#35L]\nArguments: 5\n\n(23) BroadcastHashJoin [codegen id : 7]\nLeft keys [1]: [user_id#26L]\nRight keys [1]: [user_id#11L]\nJoin type: LeftOuter\nJoin condition: None\n\n(24) Scan csv \nOutput [2]: [user_id#19L, viewed_at#21]\nBatched: false\nLocation: InMemoryFileIndex [s3a://apavlovets-bucket/raw/lesson_views.csv]\nPushedFilters: [IsNotNull(user_id)]\nReadSchema: struct\n\n(25) Filter [codegen id : 3]\nInput [2]: [user_id#19L, viewed_at#21]\nCondition : isnotnull(user_id#19L)\n\n(26) HashAggregate [codegen id : 3]\nInput [2]: [user_id#19L, viewed_at#21]\nKeys [1]: [user_id#19L]\nFunctions [1]: [partial_min(viewed_at#21)]\nAggregate Attributes [1]: [min#205]\nResults [2]: [user_id#19L, min#206]\n\n(27) Exchange\nInput [2]: [user_id#19L, min#206]\nArguments: hashpartitioning(user_id#19L, 200), ENSURE_REQUIREMENTS, [plan_id=246]\n\n(28) ShuffleQueryStage\nOutput [2]: [user_id#19L, min#206]\nArguments: 2\n\n(29) AQEShuffleRead\nInput [2]: [user_id#19L, min#206]\nArguments: coalesced\n\n(30) HashAggregate [codegen id : 4]\nInput [2]: [user_id#19L, min#206]\nKeys [1]: [user_id#19L]\nFunctions [1]: [min(viewed_at#21)]\nAggregate Attributes [1]: [min(viewed_at#21)#46]\nResults [2]: [user_id#19L, min(viewed_at#21)#46 AS first_viewed_at#47]\n\n(31) BroadcastExchange\nInput [2]: [user_id#19L, first_viewed_at#47]\nArguments: HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=384]\n\n(32) BroadcastQueryStage\nOutput [2]: [user_id#19L, first_viewed_at#47]\nArguments: 3\n\n(33) BroadcastHashJoin [codegen id : 7]\nLeft keys [1]: [user_id#26L]\nRight keys [1]: [user_id#19L]\nJoin type: LeftOuter\nJoin condition: None\n\n(34) Expand [codegen id : 7]\nInput [7]: [user_id#26L, cohort_month_ts#27, registration_date#57, user_id#11L, courses_count#35L, user_id#19L, first_viewed_at#47]\nArguments: [[cohort_month_ts#27, null, null, null, 0, courses_count#35L, datediff(cast(first_viewed_at#47 as date), cast(registration_date#57 as date))], [cohort_month_ts#27, user_id#26L, null, null, 1, null, null], [cohort_month_ts#27, null, user_id#11L, null, 2, null, null], [cohort_month_ts#27, null, null, user_id#19L, 3, null, null]], [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, ue.courses_count#173L, datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174]\n\n(35) HashAggregate [codegen id : 7]\nInput [7]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, ue.courses_count#173L, datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174]\nKeys [5]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169]\nFunctions [2]: [partial_avg(ue.courses_count#173L), partial_avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174)]\nAggregate Attributes [4]: [sum#193, count#194L, sum#195, count#196L]\nResults [9]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, sum#197, count#198L, sum#199, count#200L]\n\n(36) Exchange\nInput [9]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, sum#197, count#198L, sum#199, count#200L]\nArguments: hashpartitioning(cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, 200), ENSURE_REQUIREMENTS, [plan_id=821]\n\n(37) ShuffleQueryStage\nOutput [9]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, sum#197, count#198L, sum#199, count#200L]\nArguments: 6\n\n(38) AQEShuffleRead\nInput [9]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, sum#197, count#198L, sum#199, count#200L]\nArguments: coalesced\n\n(39) HashAggregate [codegen id : 8]\nInput [9]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, sum#197, count#198L, sum#199, count#200L]\nKeys [5]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169]\nFunctions [2]: [avg(ue.courses_count#173L), avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174)]\nAggregate Attributes [2]: [avg(ue.courses_count#173L)#127, avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174)#129]\nResults [7]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, avg(ue.courses_count#173L)#127 AS avg(ue.courses_count)#175, avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174)#129 AS avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177]\n\n(40) HashAggregate [codegen id : 8]\nInput [7]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, avg(ue.courses_count)#175, avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177]\nKeys [1]: [cohort_month_ts#27]\nFunctions [5]: [partial_count(c.user_id#170L) FILTER (WHERE (gid#169 = 1)), partial_count(ue.user_id#171L) FILTER (WHERE (gid#169 = 2)), partial_count(ufv.user_id#172L) FILTER (WHERE (gid#169 = 3)), partial_first(avg(ue.courses_count)#175, true) FILTER (WHERE (gid#169 = 0)), partial_first(avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177, true) FILTER (WHERE (gid#169 = 0))]\nAggregate Attributes [7]: [count#179L, count#180L, count#181L, first#182, valueSet#183, first#184, valueSet#185]\nResults [8]: [cohort_month_ts#27, count#186L, count#187L, count#188L, first#189, valueSet#190, first#191, valueSet#192]\n\n(41) Exchange\nInput [8]: [cohort_month_ts#27, count#186L, count#187L, count#188L, first#189, valueSet#190, first#191, valueSet#192]\nArguments: hashpartitioning(cohort_month_ts#27, 200), ENSURE_REQUIREMENTS, [plan_id=899]\n\n(42) ShuffleQueryStage\nOutput [8]: [cohort_month_ts#27, count#186L, count#187L, count#188L, first#189, valueSet#190, first#191, valueSet#192]\nArguments: 7\n\n(43) HashAggregate\nInput [8]: [cohort_month_ts#27, count#186L, count#187L, count#188L, first#189, valueSet#190, first#191, valueSet#192]\nKeys [1]: [cohort_month_ts#27]\nFunctions [5]: [count(c.user_id#170L), count(ue.user_id#171L), count(ufv.user_id#172L), first(avg(ue.courses_count)#175, true), first(avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177, true)]\nAggregate Attributes [5]: [count(c.user_id#170L)#131L, count(ue.user_id#171L)#132L, count(ufv.user_id#172L)#133L, first(avg(ue.courses_count)#175) ignore nulls#176, first(avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177) ignore nulls#178]\nResults [6]: [cohort_month_ts#27, count(c.user_id#170L)#131L AS users_in_cohort#124L, count(ue.user_id#171L)#132L AS enrolled_users#125L, count(ufv.user_id#172L)#133L AS active_users#126L, round(first(avg(ue.courses_count)#175) ignore nulls#176, 2) AS avg_courses_per_user#128, round(first(avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177) ignore nulls#178, 2) AS avg_time_to_first_view#130]\n\n(44) Project\nOutput [7]: [date_format(cohort_month_ts#27, yyyy-MM, Some(Europe/Samara)) AS cohort_month#154, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130, CASE WHEN NOT (users_in_cohort#124L = 0) THEN round(((cast(active_users#126L as double) * 100.0) / cast(users_in_cohort#124L as double)), 2) END AS retention_rate#146]\nInput [6]: [cohort_month_ts#27, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130]\n\n(45) Exchange\nInput [7]: [cohort_month#154, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130, retention_rate#146]\nArguments: rangepartitioning(cohort_month#154 ASC NULLS FIRST, 200), ENSURE_REQUIREMENTS, [plan_id=912]\n\n(46) Sort\nInput [7]: [cohort_month#154, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130, retention_rate#146]\nArguments: [cohort_month#154 ASC NULLS FIRST], true, 0\n\n(47) WriteFiles\nInput [7]: [cohort_month#154, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130, retention_rate#146]\n\n(48) Execute InsertIntoHadoopFsRelationCommand\nInput: []\nArguments: s3a://apavlovets-bucket/marts/user_cohort_analysis.parquet, false, Parquet, [path=s3a://apavlovets-bucket/marts/user_cohort_analysis.parquet], Overwrite, [cohort_month, users_in_cohort, enrolled_users, active_users, avg_courses_per_user, avg_time_to_first_view, retention_rate]\n\n(49) Scan csv \nOutput [2]: [id#0L, registration_date#4]\nBatched: false\nLocation: InMemoryFileIndex [s3a://apavlovets-bucket/raw/users.csv]\nReadSchema: struct\n\n(50) Project\nOutput [2]: [id#0L AS user_id#26L, date_trunc(month, registration_date#4, Some(Europe/Samara)) AS cohort_month_ts#27]\nInput [2]: [id#0L, registration_date#4]\n\n(51) Filter\nInput [2]: [id#53L, registration_date#57]\nCondition : isnotnull(id#53L)\n\n(52) BroadcastExchange\nInput [2]: [id#53L, registration_date#57]\nArguments: HashedRelationBroadcastMode(List(input[0, bigint, false]),false), [plan_id=119]\n\n(53) BroadcastHashJoin\nLeft keys [1]: [user_id#26L]\nRight keys [1]: [id#53L]\nJoin type: LeftOuter\nJoin condition: None\n\n(54) Project\nOutput [3]: [user_id#26L, cohort_month_ts#27, registration_date#57]\nInput [4]: [user_id#26L, cohort_month_ts#27, id#53L, registration_date#57]\n\n(55) Filter\nInput [2]: [user_id#11L, course_id#12L]\nCondition : isnotnull(user_id#11L)\n\n(56) HashAggregate\nInput [2]: [user_id#11L, course_id#12L]\nKeys [2]: [user_id#11L, course_id#12L]\nFunctions: []\nAggregate Attributes: []\nResults [2]: [user_id#11L, course_id#12L]\n\n(57) Exchange\nInput [2]: [user_id#11L, course_id#12L]\nArguments: hashpartitioning(user_id#11L, course_id#12L, 200), ENSURE_REQUIREMENTS, [plan_id=122]\n\n(58) HashAggregate\nInput [2]: [user_id#11L, course_id#12L]\nKeys [2]: [user_id#11L, course_id#12L]\nFunctions: []\nAggregate Attributes: []\nResults [2]: [user_id#11L, course_id#12L]\n\n(59) HashAggregate\nInput [2]: [user_id#11L, course_id#12L]\nKeys [1]: [user_id#11L]\nFunctions [1]: [partial_count(distinct course_id#12L)]\nAggregate Attributes [1]: [count(course_id#12L)#36L]\nResults [2]: [user_id#11L, count#203L]\n\n(60) Exchange\nInput [2]: [user_id#11L, count#203L]\nArguments: hashpartitioning(user_id#11L, 200), ENSURE_REQUIREMENTS, [plan_id=126]\n\n(61) HashAggregate\nInput [2]: [user_id#11L, count#203L]\nKeys [1]: [user_id#11L]\nFunctions [1]: [count(distinct course_id#12L)]\nAggregate Attributes [1]: [count(course_id#12L)#36L]\nResults [2]: [user_id#11L, count(course_id#12L)#36L AS courses_count#35L]\n\n(62) BroadcastExchange\nInput [2]: [user_id#11L, courses_count#35L]\nArguments: HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=129]\n\n(63) BroadcastHashJoin\nLeft keys [1]: [user_id#26L]\nRight keys [1]: [user_id#11L]\nJoin type: LeftOuter\nJoin condition: None\n\n(64) Filter\nInput [2]: [user_id#19L, viewed_at#21]\nCondition : isnotnull(user_id#19L)\n\n(65) HashAggregate\nInput [2]: [user_id#19L, viewed_at#21]\nKeys [1]: [user_id#19L]\nFunctions [1]: [partial_min(viewed_at#21)]\nAggregate Attributes [1]: [min#205]\nResults [2]: [user_id#19L, min#206]\n\n(66) Exchange\nInput [2]: [user_id#19L, min#206]\nArguments: hashpartitioning(user_id#19L, 200), ENSURE_REQUIREMENTS, [plan_id=131]\n\n(67) HashAggregate\nInput [2]: [user_id#19L, min#206]\nKeys [1]: [user_id#19L]\nFunctions [1]: [min(viewed_at#21)]\nAggregate Attributes [1]: [min(viewed_at#21)#46]\nResults [2]: [user_id#19L, min(viewed_at#21)#46 AS first_viewed_at#47]\n\n(68) BroadcastExchange\nInput [2]: [user_id#19L, first_viewed_at#47]\nArguments: HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=134]\n\n(69) BroadcastHashJoin\nLeft keys [1]: [user_id#26L]\nRight keys [1]: [user_id#19L]\nJoin type: LeftOuter\nJoin condition: None\n\n(70) Expand\nInput [7]: [user_id#26L, cohort_month_ts#27, registration_date#57, user_id#11L, courses_count#35L, user_id#19L, first_viewed_at#47]\nArguments: [[cohort_month_ts#27, null, null, null, 0, courses_count#35L, datediff(cast(first_viewed_at#47 as date), cast(registration_date#57 as date))], [cohort_month_ts#27, user_id#26L, null, null, 1, null, null], [cohort_month_ts#27, null, user_id#11L, null, 2, null, null], [cohort_month_ts#27, null, null, user_id#19L, 3, null, null]], [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, ue.courses_count#173L, datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174]\n\n(71) HashAggregate\nInput [7]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, ue.courses_count#173L, datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174]\nKeys [5]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169]\nFunctions [2]: [partial_avg(ue.courses_count#173L), partial_avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174)]\nAggregate Attributes [4]: [sum#193, count#194L, sum#195, count#196L]\nResults [9]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, sum#197, count#198L, sum#199, count#200L]\n\n(72) Exchange\nInput [9]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, sum#197, count#198L, sum#199, count#200L]\nArguments: hashpartitioning(cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, 200), ENSURE_REQUIREMENTS, [plan_id=139]\n\n(73) HashAggregate\nInput [9]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, sum#197, count#198L, sum#199, count#200L]\nKeys [5]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169]\nFunctions [2]: [avg(ue.courses_count#173L), avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174)]\nAggregate Attributes [2]: [avg(ue.courses_count#173L)#127, avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174)#129]\nResults [7]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, avg(ue.courses_count#173L)#127 AS avg(ue.courses_count)#175, avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174)#129 AS avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177]\n\n(74) HashAggregate\nInput [7]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, avg(ue.courses_count)#175, avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177]\nKeys [1]: [cohort_month_ts#27]\nFunctions [5]: [partial_count(c.user_id#170L) FILTER (WHERE (gid#169 = 1)), partial_count(ue.user_id#171L) FILTER (WHERE (gid#169 = 2)), partial_count(ufv.user_id#172L) FILTER (WHERE (gid#169 = 3)), partial_first(avg(ue.courses_count)#175, true) FILTER (WHERE (gid#169 = 0)), partial_first(avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177, true) FILTER (WHERE (gid#169 = 0))]\nAggregate Attributes [7]: [count#179L, count#180L, count#181L, first#182, valueSet#183, first#184, valueSet#185]\nResults [8]: [cohort_month_ts#27, count#186L, count#187L, count#188L, first#189, valueSet#190, first#191, valueSet#192]\n\n(75) Exchange\nInput [8]: [cohort_month_ts#27, count#186L, count#187L, count#188L, first#189, valueSet#190, first#191, valueSet#192]\nArguments: hashpartitioning(cohort_month_ts#27, 200), ENSURE_REQUIREMENTS, [plan_id=143]\n\n(76) HashAggregate\nInput [8]: [cohort_month_ts#27, count#186L, count#187L, count#188L, first#189, valueSet#190, first#191, valueSet#192]\nKeys [1]: [cohort_month_ts#27]\nFunctions [5]: [count(c.user_id#170L), count(ue.user_id#171L), count(ufv.user_id#172L), first(avg(ue.courses_count)#175, true), first(avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177, true)]\nAggregate Attributes [5]: [count(c.user_id#170L)#131L, count(ue.user_id#171L)#132L, count(ufv.user_id#172L)#133L, first(avg(ue.courses_count)#175) ignore nulls#176, first(avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177) ignore nulls#178]\nResults [6]: [cohort_month_ts#27, count(c.user_id#170L)#131L AS users_in_cohort#124L, count(ue.user_id#171L)#132L AS enrolled_users#125L, count(ufv.user_id#172L)#133L AS active_users#126L, round(first(avg(ue.courses_count)#175) ignore nulls#176, 2) AS avg_courses_per_user#128, round(first(avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177) ignore nulls#178, 2) AS avg_time_to_first_view#130]\n\n(77) Project\nOutput [7]: [date_format(cohort_month_ts#27, yyyy-MM, Some(Europe/Samara)) AS cohort_month#154, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130, CASE WHEN NOT (users_in_cohort#124L = 0) THEN round(((cast(active_users#126L as double) * 100.0) / cast(users_in_cohort#124L as double)), 2) END AS retention_rate#146]\nInput [6]: [cohort_month_ts#27, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130]\n\n(78) Exchange\nInput [7]: [cohort_month#154, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130, retention_rate#146]\nArguments: rangepartitioning(cohort_month#154 ASC NULLS FIRST, 200), ENSURE_REQUIREMENTS, [plan_id=147]\n\n(79) Sort\nInput [7]: [cohort_month#154, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130, retention_rate#146]\nArguments: [cohort_month#154 ASC NULLS FIRST], true, 0\n\n(80) WriteFiles\nInput [7]: [cohort_month#154, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130, retention_rate#146]\n\n(81) Execute InsertIntoHadoopFsRelationCommand\nInput: []\nArguments: s3a://apavlovets-bucket/marts/user_cohort_analysis.parquet, false, Parquet, [path=s3a://apavlovets-bucket/marts/user_cohort_analysis.parquet], Overwrite, [cohort_month, users_in_cohort, enrolled_users, active_users, avg_courses_per_user, avg_time_to_first_view, retention_rate]\n\n(82) AdaptiveSparkPlan\nOutput: []\nArguments: isFinalPlan=false\n\n","sparkPlanInfo":{"nodeName":"AdaptiveSparkPlan","simpleString":"AdaptiveSparkPlan isFinalPlan=false","children":[{"nodeName":"Execute InsertIntoHadoopFsRelationCommand","simpleString":"Execute InsertIntoHadoopFsRelationCommand s3a://apavlovets-bucket/marts/user_cohort_analysis.parquet, false, Parquet, [path=s3a://apavlovets-bucket/marts/user_cohort_analysis.parquet], Overwrite, [cohort_month, users_in_cohort, enrolled_users, active_users, avg_courses_per_user, avg_time_to_first_view, retention_rate]","children":[{"nodeName":"WriteFiles","simpleString":"WriteFiles","children":[{"nodeName":"Sort","simpleString":"Sort [cohort_month#154 ASC NULLS FIRST], true, 0","children":[{"nodeName":"Exchange","simpleString":"Exchange rangepartitioning(cohort_month#154 ASC NULLS FIRST, 200), ENSURE_REQUIREMENTS, [plan_id=912]","children":[{"nodeName":"Project","simpleString":"Project [date_format(cohort_month_ts#27, yyyy-MM, Some(Europe/Samara)) AS cohort_month#154, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130, CASE WHEN NOT (users_in_cohort#124L = 0) THEN round(((cast(active_users#126L as double) * 100.0) / cast(users_in_cohort#124L as double)), 2) END AS retention_rate#146]","children":[{"nodeName":"HashAggregate","simpleString":"HashAggregate(keys=[cohort_month_ts#27], functions=[count(c.user_id#170L), count(ue.user_id#171L), count(ufv.user_id#172L), first(avg(ue.courses_count)#175, true), first(avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177, true)])","children":[{"nodeName":"ShuffleQueryStage","simpleString":"ShuffleQueryStage 7","children":[{"nodeName":"Exchange","simpleString":"Exchange hashpartitioning(cohort_month_ts#27, 200), ENSURE_REQUIREMENTS, [plan_id=899]","children":[{"nodeName":"WholeStageCodegen (8)","simpleString":"WholeStageCodegen (8)","children":[{"nodeName":"HashAggregate","simpleString":"HashAggregate(keys=[cohort_month_ts#27], functions=[partial_count(c.user_id#170L) FILTER (WHERE (gid#169 = 1)), partial_count(ue.user_id#171L) FILTER (WHERE (gid#169 = 2)), partial_count(ufv.user_id#172L) FILTER (WHERE (gid#169 = 3)), partial_first(avg(ue.courses_count)#175, true) FILTER (WHERE (gid#169 = 0)), partial_first(avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177, true) FILTER (WHERE (gid#169 = 0))])","children":[{"nodeName":"HashAggregate","simpleString":"HashAggregate(keys=[cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169], functions=[avg(ue.courses_count#173L), avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174)])","children":[{"nodeName":"InputAdapter","simpleString":"InputAdapter","children":[{"nodeName":"AQEShuffleRead","simpleString":"AQEShuffleRead coalesced","children":[{"nodeName":"ShuffleQueryStage","simpleString":"ShuffleQueryStage 6","children":[{"nodeName":"Exchange","simpleString":"Exchange hashpartitioning(cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, 200), ENSURE_REQUIREMENTS, [plan_id=821]","children":[{"nodeName":"WholeStageCodegen (7)","simpleString":"WholeStageCodegen (7)","children":[{"nodeName":"HashAggregate","simpleString":"HashAggregate(keys=[cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169], functions=[partial_avg(ue.courses_count#173L), partial_avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174)])","children":[{"nodeName":"Expand","simpleString":"Expand [[cohort_month_ts#27, null, null, null, 0, courses_count#35L, datediff(cast(first_viewed_at#47 as date), cast(registration_date#57 as date))], [cohort_month_ts#27, user_id#26L, null, null, 1, null, null], [cohort_month_ts#27, null, user_id#11L, null, 2, null, null], [cohort_month_ts#27, null, null, user_id#19L, 3, null, null]], [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, ue.courses_count#173L, datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174]","children":[{"nodeName":"BroadcastHashJoin","simpleString":"BroadcastHashJoin [user_id#26L], [user_id#19L], LeftOuter, BuildRight, false","children":[{"nodeName":"BroadcastHashJoin","simpleString":"BroadcastHashJoin [user_id#26L], [user_id#11L], LeftOuter, BuildRight, false","children":[{"nodeName":"Project","simpleString":"Project [user_id#26L, cohort_month_ts#27, registration_date#57]","children":[{"nodeName":"BroadcastHashJoin","simpleString":"BroadcastHashJoin [user_id#26L], [id#53L], LeftOuter, BuildRight, false","children":[{"nodeName":"Project","simpleString":"Project [id#0L AS user_id#26L, date_trunc(month, registration_date#4, Some(Europe/Samara)) AS cohort_month_ts#27]","children":[{"nodeName":"InputAdapter","simpleString":"InputAdapter","children":[{"nodeName":"Scan csv ","simpleString":"FileScan csv [id#0L,registration_date#4] Batched: false, DataFilters: [], Format: CSV, Location: InMemoryFileIndex(1 paths)[s3a://apavlovets-bucket/raw/users.csv], PartitionFilters: [], PushedFilters: [], ReadSchema: struct","children":[],"metadata":{"Location":"InMemoryFileIndex(1 paths)[s3a://apavlovets-bucket/raw/users.csv]","ReadSchema":"struct","Format":"CSV","Batched":"false","PartitionFilters":"[]","PushedFilters":"[]","DataFilters":"[]"},"metrics":[{"name":"number of output rows","accumulatorId":1179,"metricType":"sum"},{"name":"number of files read","accumulatorId":1180,"metricType":"sum"},{"name":"metadata time","accumulatorId":1181,"metricType":"timing"},{"name":"size of files read","accumulatorId":1182,"metricType":"size"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[]},{"nodeName":"InputAdapter","simpleString":"InputAdapter","children":[{"nodeName":"BroadcastQueryStage","simpleString":"BroadcastQueryStage 0","children":[{"nodeName":"BroadcastExchange","simpleString":"BroadcastExchange HashedRelationBroadcastMode(List(input[0, bigint, false]),false), [plan_id=213]","children":[{"nodeName":"WholeStageCodegen (1)","simpleString":"WholeStageCodegen (1)","children":[{"nodeName":"Filter","simpleString":"Filter isnotnull(id#53L)","children":[{"nodeName":"InputAdapter","simpleString":"InputAdapter","children":[{"nodeName":"Scan csv ","simpleString":"FileScan csv [id#53L,registration_date#57] Batched: false, DataFilters: [isnotnull(id#53L)], Format: CSV, Location: InMemoryFileIndex(1 paths)[s3a://apavlovets-bucket/raw/users.csv], PartitionFilters: [], PushedFilters: [IsNotNull(id)], ReadSchema: struct","children":[],"metadata":{"Location":"InMemoryFileIndex(1 paths)[s3a://apavlovets-bucket/raw/users.csv]","ReadSchema":"struct","Format":"CSV","Batched":"false","PartitionFilters":"[]","PushedFilters":"[IsNotNull(id)]","DataFilters":"[isnotnull(id#53L)]"},"metrics":[{"name":"number of output rows","accumulatorId":114,"metricType":"sum"},{"name":"number of files read","accumulatorId":115,"metricType":"sum"},{"name":"metadata time","accumulatorId":116,"metricType":"timing"},{"name":"size of files read","accumulatorId":117,"metricType":"size"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"number of output rows","accumulatorId":343,"metricType":"sum"}]}],"metadata":{},"metrics":[{"name":"duration","accumulatorId":342,"metricType":"timing"}]}],"metadata":{},"metrics":[{"name":"time to broadcast","accumulatorId":341,"metricType":"timing"},{"name":"time to build","accumulatorId":340,"metricType":"timing"},{"name":"time to collect","accumulatorId":339,"metricType":"timing"},{"name":"number of output rows","accumulatorId":338,"metricType":"sum"},{"name":"data size","accumulatorId":337,"metricType":"size"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"number of output rows","accumulatorId":1178,"metricType":"sum"}]}],"metadata":{},"metrics":[]},{"nodeName":"InputAdapter","simpleString":"InputAdapter","children":[{"nodeName":"BroadcastQueryStage","simpleString":"BroadcastQueryStage 5","children":[{"nodeName":"BroadcastExchange","simpleString":"BroadcastExchange HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=700]","children":[{"nodeName":"WholeStageCodegen (6)","simpleString":"WholeStageCodegen (6)","children":[{"nodeName":"HashAggregate","simpleString":"HashAggregate(keys=[user_id#11L], functions=[count(distinct course_id#12L)])","children":[{"nodeName":"InputAdapter","simpleString":"InputAdapter","children":[{"nodeName":"AQEShuffleRead","simpleString":"AQEShuffleRead coalesced","children":[{"nodeName":"ShuffleQueryStage","simpleString":"ShuffleQueryStage 4","children":[{"nodeName":"Exchange","simpleString":"Exchange hashpartitioning(user_id#11L, 200), ENSURE_REQUIREMENTS, [plan_id=507]","children":[{"nodeName":"WholeStageCodegen (5)","simpleString":"WholeStageCodegen (5)","children":[{"nodeName":"HashAggregate","simpleString":"HashAggregate(keys=[user_id#11L], functions=[partial_count(distinct course_id#12L)])","children":[{"nodeName":"HashAggregate","simpleString":"HashAggregate(keys=[user_id#11L, course_id#12L], functions=[])","children":[{"nodeName":"InputAdapter","simpleString":"InputAdapter","children":[{"nodeName":"AQEShuffleRead","simpleString":"AQEShuffleRead coalesced","children":[{"nodeName":"ShuffleQueryStage","simpleString":"ShuffleQueryStage 1","children":[{"nodeName":"Exchange","simpleString":"Exchange hashpartitioning(user_id#11L, course_id#12L, 200), ENSURE_REQUIREMENTS, [plan_id=226]","children":[{"nodeName":"WholeStageCodegen (2)","simpleString":"WholeStageCodegen (2)","children":[{"nodeName":"HashAggregate","simpleString":"HashAggregate(keys=[user_id#11L, course_id#12L], functions=[])","children":[{"nodeName":"Filter","simpleString":"Filter isnotnull(user_id#11L)","children":[{"nodeName":"InputAdapter","simpleString":"InputAdapter","children":[{"nodeName":"Scan csv ","simpleString":"FileScan csv [user_id#11L,course_id#12L] Batched: false, DataFilters: [isnotnull(user_id#11L)], Format: CSV, Location: InMemoryFileIndex(1 paths)[s3a://apavlovets-bucket/raw/enrollments.csv], PartitionFilters: [], PushedFilters: [IsNotNull(user_id)], ReadSchema: struct","children":[],"metadata":{"Location":"InMemoryFileIndex(1 paths)[s3a://apavlovets-bucket/raw/enrollments.csv]","ReadSchema":"struct","Format":"CSV","Batched":"false","PartitionFilters":"[]","PushedFilters":"[IsNotNull(user_id)]","DataFilters":"[isnotnull(user_id#11L)]"},"metrics":[{"name":"number of output rows","accumulatorId":192,"metricType":"sum"},{"name":"number of files read","accumulatorId":193,"metricType":"sum"},{"name":"metadata time","accumulatorId":194,"metricType":"timing"},{"name":"size of files read","accumulatorId":195,"metricType":"size"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"number of output rows","accumulatorId":418,"metricType":"sum"}]}],"metadata":{},"metrics":[{"name":"spill size","accumulatorId":414,"metricType":"size"},{"name":"time in aggregation build","accumulatorId":415,"metricType":"timing"},{"name":"peak memory","accumulatorId":413,"metricType":"size"},{"name":"number of output rows","accumulatorId":412,"metricType":"sum"},{"name":"number of sort fallback tasks","accumulatorId":417,"metricType":"sum"},{"name":"avg hash probes per key","accumulatorId":416,"metricType":"average"}]}],"metadata":{},"metrics":[{"name":"duration","accumulatorId":411,"metricType":"timing"}]}],"metadata":{},"metrics":[{"name":"shuffle records written","accumulatorId":409,"metricType":"sum"},{"name":"local merged chunks fetched","accumulatorId":403,"metricType":"sum"},{"name":"shuffle write time","accumulatorId":410,"metricType":"nsTiming"},{"name":"remote merged bytes read","accumulatorId":404,"metricType":"size"},{"name":"local merged blocks fetched","accumulatorId":401,"metricType":"sum"},{"name":"corrupt merged block chunks","accumulatorId":398,"metricType":"sum"},{"name":"remote merged reqs duration","accumulatorId":407,"metricType":"timing"},{"name":"remote merged blocks fetched","accumulatorId":400,"metricType":"sum"},{"name":"records read","accumulatorId":397,"metricType":"sum"},{"name":"local bytes read","accumulatorId":395,"metricType":"size"},{"name":"fetch wait time","accumulatorId":396,"metricType":"timing"},{"name":"remote bytes read","accumulatorId":393,"metricType":"size"},{"name":"merged fetch fallback count","accumulatorId":399,"metricType":"sum"},{"name":"local blocks read","accumulatorId":392,"metricType":"sum"},{"name":"remote merged chunks fetched","accumulatorId":402,"metricType":"sum"},{"name":"remote blocks read","accumulatorId":391,"metricType":"sum"},{"name":"data size","accumulatorId":389,"metricType":"size"},{"name":"local merged bytes read","accumulatorId":405,"metricType":"size"},{"name":"number of partitions","accumulatorId":390,"metricType":"sum"},{"name":"remote reqs duration","accumulatorId":406,"metricType":"timing"},{"name":"remote bytes read to disk","accumulatorId":394,"metricType":"size"},{"name":"shuffle bytes written","accumulatorId":408,"metricType":"size"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"number of partitions","accumulatorId":845,"metricType":"sum"},{"name":"partition data size","accumulatorId":846,"metricType":"size"},{"name":"number of coalesced partitions","accumulatorId":847,"metricType":"sum"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"spill size","accumulatorId":841,"metricType":"size"},{"name":"time in aggregation build","accumulatorId":842,"metricType":"timing"},{"name":"peak memory","accumulatorId":840,"metricType":"size"},{"name":"number of output rows","accumulatorId":839,"metricType":"sum"},{"name":"number of sort fallback tasks","accumulatorId":844,"metricType":"sum"},{"name":"avg hash probes per key","accumulatorId":843,"metricType":"average"}]}],"metadata":{},"metrics":[{"name":"spill size","accumulatorId":835,"metricType":"size"},{"name":"time in aggregation build","accumulatorId":836,"metricType":"timing"},{"name":"peak memory","accumulatorId":834,"metricType":"size"},{"name":"number of output rows","accumulatorId":833,"metricType":"sum"},{"name":"number of sort fallback tasks","accumulatorId":838,"metricType":"sum"},{"name":"avg hash probes per key","accumulatorId":837,"metricType":"average"}]}],"metadata":{},"metrics":[{"name":"duration","accumulatorId":832,"metricType":"timing"}]}],"metadata":{},"metrics":[{"name":"shuffle records written","accumulatorId":830,"metricType":"sum"},{"name":"local merged chunks fetched","accumulatorId":824,"metricType":"sum"},{"name":"shuffle write time","accumulatorId":831,"metricType":"nsTiming"},{"name":"remote merged bytes read","accumulatorId":825,"metricType":"size"},{"name":"local merged blocks fetched","accumulatorId":822,"metricType":"sum"},{"name":"corrupt merged block chunks","accumulatorId":819,"metricType":"sum"},{"name":"remote merged reqs duration","accumulatorId":828,"metricType":"timing"},{"name":"remote merged blocks fetched","accumulatorId":821,"metricType":"sum"},{"name":"records read","accumulatorId":818,"metricType":"sum"},{"name":"local bytes read","accumulatorId":816,"metricType":"size"},{"name":"fetch wait time","accumulatorId":817,"metricType":"timing"},{"name":"remote bytes read","accumulatorId":814,"metricType":"size"},{"name":"merged fetch fallback count","accumulatorId":820,"metricType":"sum"},{"name":"local blocks read","accumulatorId":813,"metricType":"sum"},{"name":"remote merged chunks fetched","accumulatorId":823,"metricType":"sum"},{"name":"remote blocks read","accumulatorId":812,"metricType":"sum"},{"name":"data size","accumulatorId":810,"metricType":"size"},{"name":"local merged bytes read","accumulatorId":826,"metricType":"size"},{"name":"number of partitions","accumulatorId":811,"metricType":"sum"},{"name":"remote reqs duration","accumulatorId":827,"metricType":"timing"},{"name":"remote bytes read to disk","accumulatorId":815,"metricType":"size"},{"name":"shuffle bytes written","accumulatorId":829,"metricType":"size"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"number of partitions","accumulatorId":1037,"metricType":"sum"},{"name":"partition data size","accumulatorId":1038,"metricType":"size"},{"name":"number of coalesced partitions","accumulatorId":1039,"metricType":"sum"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"spill size","accumulatorId":1033,"metricType":"size"},{"name":"time in aggregation build","accumulatorId":1034,"metricType":"timing"},{"name":"peak memory","accumulatorId":1032,"metricType":"size"},{"name":"number of output rows","accumulatorId":1031,"metricType":"sum"},{"name":"number of sort fallback tasks","accumulatorId":1036,"metricType":"sum"},{"name":"avg hash probes per key","accumulatorId":1035,"metricType":"average"}]}],"metadata":{},"metrics":[{"name":"duration","accumulatorId":1030,"metricType":"timing"}]}],"metadata":{},"metrics":[{"name":"time to broadcast","accumulatorId":1029,"metricType":"timing"},{"name":"time to build","accumulatorId":1028,"metricType":"timing"},{"name":"time to collect","accumulatorId":1027,"metricType":"timing"},{"name":"number of output rows","accumulatorId":1026,"metricType":"sum"},{"name":"data size","accumulatorId":1025,"metricType":"size"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"number of output rows","accumulatorId":1177,"metricType":"sum"}]},{"nodeName":"InputAdapter","simpleString":"InputAdapter","children":[{"nodeName":"BroadcastQueryStage","simpleString":"BroadcastQueryStage 3","children":[{"nodeName":"BroadcastExchange","simpleString":"BroadcastExchange HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=384]","children":[{"nodeName":"WholeStageCodegen (4)","simpleString":"WholeStageCodegen (4)","children":[{"nodeName":"HashAggregate","simpleString":"HashAggregate(keys=[user_id#19L], functions=[min(viewed_at#21)])","children":[{"nodeName":"InputAdapter","simpleString":"InputAdapter","children":[{"nodeName":"AQEShuffleRead","simpleString":"AQEShuffleRead coalesced","children":[{"nodeName":"ShuffleQueryStage","simpleString":"ShuffleQueryStage 2","children":[{"nodeName":"Exchange","simpleString":"Exchange hashpartitioning(user_id#19L, 200), ENSURE_REQUIREMENTS, [plan_id=246]","children":[{"nodeName":"WholeStageCodegen (3)","simpleString":"WholeStageCodegen (3)","children":[{"nodeName":"HashAggregate","simpleString":"HashAggregate(keys=[user_id#19L], functions=[partial_min(viewed_at#21)])","children":[{"nodeName":"Filter","simpleString":"Filter isnotnull(user_id#19L)","children":[{"nodeName":"InputAdapter","simpleString":"InputAdapter","children":[{"nodeName":"Scan csv ","simpleString":"FileScan csv [user_id#19L,viewed_at#21] Batched: false, DataFilters: [isnotnull(user_id#19L)], Format: CSV, Location: InMemoryFileIndex(1 paths)[s3a://apavlovets-bucket/raw/lesson_views.csv], PartitionFilters: [], PushedFilters: [IsNotNull(user_id)], ReadSchema: struct","children":[],"metadata":{"Location":"InMemoryFileIndex(1 paths)[s3a://apavlovets-bucket/raw/lesson_views.csv]","ReadSchema":"struct","Format":"CSV","Batched":"false","PartitionFilters":"[]","PushedFilters":"[IsNotNull(user_id)]","DataFilters":"[isnotnull(user_id#19L)]"},"metrics":[{"name":"number of output rows","accumulatorId":236,"metricType":"sum"},{"name":"number of files read","accumulatorId":237,"metricType":"sum"},{"name":"metadata time","accumulatorId":238,"metricType":"timing"},{"name":"size of files read","accumulatorId":239,"metricType":"size"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"number of output rows","accumulatorId":459,"metricType":"sum"}]}],"metadata":{},"metrics":[{"name":"spill size","accumulatorId":455,"metricType":"size"},{"name":"time in aggregation build","accumulatorId":456,"metricType":"timing"},{"name":"peak memory","accumulatorId":454,"metricType":"size"},{"name":"number of output rows","accumulatorId":453,"metricType":"sum"},{"name":"number of sort fallback tasks","accumulatorId":458,"metricType":"sum"},{"name":"avg hash probes per key","accumulatorId":457,"metricType":"average"}]}],"metadata":{},"metrics":[{"name":"duration","accumulatorId":452,"metricType":"timing"}]}],"metadata":{},"metrics":[{"name":"shuffle records written","accumulatorId":450,"metricType":"sum"},{"name":"local merged chunks fetched","accumulatorId":444,"metricType":"sum"},{"name":"shuffle write time","accumulatorId":451,"metricType":"nsTiming"},{"name":"remote merged bytes read","accumulatorId":445,"metricType":"size"},{"name":"local merged blocks fetched","accumulatorId":442,"metricType":"sum"},{"name":"corrupt merged block chunks","accumulatorId":439,"metricType":"sum"},{"name":"remote merged reqs duration","accumulatorId":448,"metricType":"timing"},{"name":"remote merged blocks fetched","accumulatorId":441,"metricType":"sum"},{"name":"records read","accumulatorId":438,"metricType":"sum"},{"name":"local bytes read","accumulatorId":436,"metricType":"size"},{"name":"fetch wait time","accumulatorId":437,"metricType":"timing"},{"name":"remote bytes read","accumulatorId":434,"metricType":"size"},{"name":"merged fetch fallback count","accumulatorId":440,"metricType":"sum"},{"name":"local blocks read","accumulatorId":433,"metricType":"sum"},{"name":"remote merged chunks fetched","accumulatorId":443,"metricType":"sum"},{"name":"remote blocks read","accumulatorId":432,"metricType":"sum"},{"name":"data size","accumulatorId":430,"metricType":"size"},{"name":"local merged bytes read","accumulatorId":446,"metricType":"size"},{"name":"number of partitions","accumulatorId":431,"metricType":"sum"},{"name":"remote reqs duration","accumulatorId":447,"metricType":"timing"},{"name":"remote bytes read to disk","accumulatorId":435,"metricType":"size"},{"name":"shuffle bytes written","accumulatorId":449,"metricType":"size"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"number of partitions","accumulatorId":689,"metricType":"sum"},{"name":"partition data size","accumulatorId":690,"metricType":"size"},{"name":"number of coalesced partitions","accumulatorId":691,"metricType":"sum"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"spill size","accumulatorId":685,"metricType":"size"},{"name":"time in aggregation build","accumulatorId":686,"metricType":"timing"},{"name":"peak memory","accumulatorId":684,"metricType":"size"},{"name":"number of output rows","accumulatorId":683,"metricType":"sum"},{"name":"number of sort fallback tasks","accumulatorId":688,"metricType":"sum"},{"name":"avg hash probes per key","accumulatorId":687,"metricType":"average"}]}],"metadata":{},"metrics":[{"name":"duration","accumulatorId":682,"metricType":"timing"}]}],"metadata":{},"metrics":[{"name":"time to broadcast","accumulatorId":681,"metricType":"timing"},{"name":"time to build","accumulatorId":680,"metricType":"timing"},{"name":"time to collect","accumulatorId":679,"metricType":"timing"},{"name":"number of output rows","accumulatorId":678,"metricType":"sum"},{"name":"data size","accumulatorId":677,"metricType":"size"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"number of output rows","accumulatorId":1176,"metricType":"sum"}]}],"metadata":{},"metrics":[{"name":"number of output rows","accumulatorId":1175,"metricType":"sum"}]}],"metadata":{},"metrics":[{"name":"spill size","accumulatorId":1171,"metricType":"size"},{"name":"time in aggregation build","accumulatorId":1172,"metricType":"timing"},{"name":"peak memory","accumulatorId":1170,"metricType":"size"},{"name":"number of output rows","accumulatorId":1169,"metricType":"sum"},{"name":"number of sort fallback tasks","accumulatorId":1174,"metricType":"sum"},{"name":"avg hash probes per key","accumulatorId":1173,"metricType":"average"}]}],"metadata":{},"metrics":[{"name":"duration","accumulatorId":1168,"metricType":"timing"}]}],"metadata":{},"metrics":[{"name":"shuffle records written","accumulatorId":1166,"metricType":"sum"},{"name":"local merged chunks fetched","accumulatorId":1160,"metricType":"sum"},{"name":"shuffle write time","accumulatorId":1167,"metricType":"nsTiming"},{"name":"remote merged bytes read","accumulatorId":1161,"metricType":"size"},{"name":"local merged blocks fetched","accumulatorId":1158,"metricType":"sum"},{"name":"corrupt merged block chunks","accumulatorId":1155,"metricType":"sum"},{"name":"remote merged reqs duration","accumulatorId":1164,"metricType":"timing"},{"name":"remote merged blocks fetched","accumulatorId":1157,"metricType":"sum"},{"name":"records read","accumulatorId":1154,"metricType":"sum"},{"name":"local bytes read","accumulatorId":1152,"metricType":"size"},{"name":"fetch wait time","accumulatorId":1153,"metricType":"timing"},{"name":"remote bytes read","accumulatorId":1150,"metricType":"size"},{"name":"merged fetch fallback count","accumulatorId":1156,"metricType":"sum"},{"name":"local blocks read","accumulatorId":1149,"metricType":"sum"},{"name":"remote merged chunks fetched","accumulatorId":1159,"metricType":"sum"},{"name":"remote blocks read","accumulatorId":1148,"metricType":"sum"},{"name":"data size","accumulatorId":1146,"metricType":"size"},{"name":"local merged bytes read","accumulatorId":1162,"metricType":"size"},{"name":"number of partitions","accumulatorId":1147,"metricType":"sum"},{"name":"remote reqs duration","accumulatorId":1163,"metricType":"timing"},{"name":"remote bytes read to disk","accumulatorId":1151,"metricType":"size"},{"name":"shuffle bytes written","accumulatorId":1165,"metricType":"size"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"number of partitions","accumulatorId":1290,"metricType":"sum"},{"name":"partition data size","accumulatorId":1291,"metricType":"size"},{"name":"number of coalesced partitions","accumulatorId":1292,"metricType":"sum"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"spill size","accumulatorId":1286,"metricType":"size"},{"name":"time in aggregation build","accumulatorId":1287,"metricType":"timing"},{"name":"peak memory","accumulatorId":1285,"metricType":"size"},{"name":"number of output rows","accumulatorId":1284,"metricType":"sum"},{"name":"number of sort fallback tasks","accumulatorId":1289,"metricType":"sum"},{"name":"avg hash probes per key","accumulatorId":1288,"metricType":"average"}]}],"metadata":{},"metrics":[{"name":"spill size","accumulatorId":1280,"metricType":"size"},{"name":"time in aggregation build","accumulatorId":1281,"metricType":"timing"},{"name":"peak memory","accumulatorId":1279,"metricType":"size"},{"name":"number of output rows","accumulatorId":1278,"metricType":"sum"},{"name":"number of sort fallback tasks","accumulatorId":1283,"metricType":"sum"},{"name":"avg hash probes per key","accumulatorId":1282,"metricType":"average"}]}],"metadata":{},"metrics":[{"name":"duration","accumulatorId":1277,"metricType":"timing"}]}],"metadata":{},"metrics":[{"name":"shuffle records written","accumulatorId":1275,"metricType":"sum"},{"name":"local merged chunks fetched","accumulatorId":1269,"metricType":"sum"},{"name":"shuffle write time","accumulatorId":1276,"metricType":"nsTiming"},{"name":"remote merged bytes read","accumulatorId":1270,"metricType":"size"},{"name":"local merged blocks fetched","accumulatorId":1267,"metricType":"sum"},{"name":"corrupt merged block chunks","accumulatorId":1264,"metricType":"sum"},{"name":"remote merged reqs duration","accumulatorId":1273,"metricType":"timing"},{"name":"remote merged blocks fetched","accumulatorId":1266,"metricType":"sum"},{"name":"records read","accumulatorId":1263,"metricType":"sum"},{"name":"local bytes read","accumulatorId":1261,"metricType":"size"},{"name":"fetch wait time","accumulatorId":1262,"metricType":"timing"},{"name":"remote bytes read","accumulatorId":1259,"metricType":"size"},{"name":"merged fetch fallback count","accumulatorId":1265,"metricType":"sum"},{"name":"local blocks read","accumulatorId":1258,"metricType":"sum"},{"name":"remote merged chunks fetched","accumulatorId":1268,"metricType":"sum"},{"name":"remote blocks read","accumulatorId":1257,"metricType":"sum"},{"name":"data size","accumulatorId":1255,"metricType":"size"},{"name":"local merged bytes read","accumulatorId":1271,"metricType":"size"},{"name":"number of partitions","accumulatorId":1256,"metricType":"sum"},{"name":"remote reqs duration","accumulatorId":1272,"metricType":"timing"},{"name":"remote bytes read to disk","accumulatorId":1260,"metricType":"size"},{"name":"shuffle bytes written","accumulatorId":1274,"metricType":"size"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"spill size","accumulatorId":1251,"metricType":"size"},{"name":"time in aggregation build","accumulatorId":1252,"metricType":"timing"},{"name":"peak memory","accumulatorId":1250,"metricType":"size"},{"name":"number of output rows","accumulatorId":1249,"metricType":"sum"},{"name":"number of sort fallback tasks","accumulatorId":1254,"metricType":"sum"},{"name":"avg hash probes per key","accumulatorId":1253,"metricType":"average"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"shuffle records written","accumulatorId":1247,"metricType":"sum"},{"name":"local merged chunks fetched","accumulatorId":1241,"metricType":"sum"},{"name":"shuffle write time","accumulatorId":1248,"metricType":"nsTiming"},{"name":"remote merged bytes read","accumulatorId":1242,"metricType":"size"},{"name":"local merged blocks fetched","accumulatorId":1239,"metricType":"sum"},{"name":"corrupt merged block chunks","accumulatorId":1236,"metricType":"sum"},{"name":"remote merged reqs duration","accumulatorId":1245,"metricType":"timing"},{"name":"remote merged blocks fetched","accumulatorId":1238,"metricType":"sum"},{"name":"records read","accumulatorId":1235,"metricType":"sum"},{"name":"local bytes read","accumulatorId":1233,"metricType":"size"},{"name":"fetch wait time","accumulatorId":1234,"metricType":"timing"},{"name":"remote bytes read","accumulatorId":1231,"metricType":"size"},{"name":"merged fetch fallback count","accumulatorId":1237,"metricType":"sum"},{"name":"local blocks read","accumulatorId":1230,"metricType":"sum"},{"name":"remote merged chunks fetched","accumulatorId":1240,"metricType":"sum"},{"name":"remote blocks read","accumulatorId":1229,"metricType":"sum"},{"name":"data size","accumulatorId":1227,"metricType":"size"},{"name":"local merged bytes read","accumulatorId":1243,"metricType":"size"},{"name":"number of partitions","accumulatorId":1228,"metricType":"sum"},{"name":"remote reqs duration","accumulatorId":1244,"metricType":"timing"},{"name":"remote bytes read to disk","accumulatorId":1232,"metricType":"size"},{"name":"shuffle bytes written","accumulatorId":1246,"metricType":"size"}]}],"metadata":{},"metrics":[{"name":"sort time","accumulatorId":1224,"metricType":"timing"},{"name":"peak memory","accumulatorId":1225,"metricType":"size"},{"name":"spill size","accumulatorId":1226,"metricType":"size"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"task commit time","accumulatorId":1222,"metricType":"timing"},{"name":"number of written files","accumulatorId":1218,"metricType":"sum"},{"name":"job commit time","accumulatorId":1223,"metricType":"timing"},{"name":"number of output rows","accumulatorId":1220,"metricType":"sum"},{"name":"number of dynamic part","accumulatorId":1221,"metricType":"sum"},{"name":"written output","accumulatorId":1219,"metricType":"size"}]}],"metadata":{},"metrics":[]}} {"Event":"org.apache.spark.sql.execution.ui.SparkListenerDriverAccumUpdates","executionId":0,"accumUpdates":[[1290,1],[1292,1],[1291,4727]]} {"Event":"org.apache.spark.sql.execution.ui.SparkListenerDriverAccumUpdates","executionId":0,"accumUpdates":[[1256,200]]} {"Event":"SparkListenerJobStart","Job ID":7,"Submission Time":1784546406328,"Stage Infos":[{"Stage ID":12,"Stage Attempt ID":0,"Stage Name":"parquet at NativeMethodAccessorImpl.java:0","Number of Tasks":1,"RDD Info":[{"RDD ID":27,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"71\",\"name\":\"Exchange\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[26],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"UNORDERED","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":26,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"72\",\"name\":\"WholeStageCodegen (8)\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[25],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"UNORDERED","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":25,"Name":"ShuffledRowRDD","Scope":"{\"id\":\"76\",\"name\":\"AQEShuffleRead\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[24],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"UNORDERED","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0}],"Parent IDs":[11],"Details":"org.apache.spark.sql.DataFrameWriter.parquet(DataFrameWriter.scala:792)\njava.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\njava.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)\njava.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\njava.base/java.lang.reflect.Method.invoke(Method.java:569)\npy4j.reflection.MethodInvoker.invoke(MethodInvoker.java:244)\npy4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:374)\npy4j.Gateway.invoke(Gateway.java:282)\npy4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:132)\npy4j.commands.CallCommand.execute(CallCommand.java:79)\npy4j.ClientServerConnection.waitForCommands(ClientServerConnection.java:182)\npy4j.ClientServerConnection.run(ClientServerConnection.java:106)\njava.base/java.lang.Thread.run(Thread.java:840)","Accumulables":[],"Resource Profile Id":0,"Shuffle Push Enabled":false,"Shuffle Push Mergers Count":0},{"Stage ID":11,"Stage Attempt ID":0,"Stage Name":"parquet at NativeMethodAccessorImpl.java:0","Number of Tasks":1,"RDD Info":[{"RDD ID":24,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"54\",\"name\":\"Exchange\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[23],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"DETERMINATE","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":22,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"70\",\"name\":\"Scan csv \"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[21],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"DETERMINATE","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":23,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"55\",\"name\":\"WholeStageCodegen (7)\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[22],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"DETERMINATE","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":21,"Name":"FileScanRDD","Scope":"{\"id\":\"70\",\"name\":\"Scan csv \"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"DETERMINATE","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0}],"Parent IDs":[],"Details":"org.apache.spark.sql.DataFrameWriter.parquet(DataFrameWriter.scala:792)\njava.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\njava.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)\njava.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\njava.base/java.lang.reflect.Method.invoke(Method.java:569)\npy4j.reflection.MethodInvoker.invoke(MethodInvoker.java:244)\npy4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:374)\npy4j.Gateway.invoke(Gateway.java:282)\npy4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:132)\npy4j.commands.CallCommand.execute(CallCommand.java:79)\npy4j.ClientServerConnection.waitForCommands(ClientServerConnection.java:182)\npy4j.ClientServerConnection.run(ClientServerConnection.java:106)\njava.base/java.lang.Thread.run(Thread.java:840)","Accumulables":[],"Resource Profile Id":0,"Shuffle Push Enabled":false,"Shuffle Push Mergers Count":0}],"Stage IDs":[12,11],"Properties":{"spark.driver.port":"34351","spark.submit.pyFiles":"","spark.app.startTime":"1784546379461","spark.rdd.scope":"{\"id\":\"71\",\"name\":\"Exchange\"}","spark.hadoop.fs.s3a.endpoint":"http://minio:9000","spark.rdd.compress":"True","spark.hadoop.fs.s3a.impl":"org.apache.hadoop.fs.s3a.S3AFileSystem","spark.app.submitTime":"1784546378209","spark.eventLog.dir":"file:/opt/spark-events","spark.hadoop.fs.s3a.aws.credentials.provider":"org.apache.hadoop.fs.s3a.SimpleAWSCredentialsProvider","spark.sql.execution.id":"0","spark.sql.warehouse.dir":"file:/opt/airflow/spark-warehouse","spark.rdd.scope.noOverride":"true","spark.master":"spark://spark-master:7077","spark.hadoop.fs.s3a.secret.key":"*********(redacted)","spark.executor.id":"driver","spark.app.name":"dm_user_cohort_analysis","spark.hadoop.fs.s3a.access.key":"*********(redacted)","spark.submit.deployMode":"client","spark.hadoop.fs.s3a.path.style.access":"true","spark.driver.host":"73850a3d530b","spark.app.id":"app-20260720151940-0099","spark.eventLog.compress":"true","spark.eventLog.enabled":"true","__fetch_continuous_blocks_in_batch_enabled":"true","spark.executor.extraJavaOptions":"-Djava.net.preferIPv6Addresses=false -XX:+IgnoreUnrecognizedVMOptions --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.base/sun.nio.cs=ALL-UNNAMED --add-opens=java.base/sun.security.action=ALL-UNNAMED --add-opens=java.base/sun.util.calendar=ALL-UNNAMED --add-opens=java.security.jgss/sun.security.krb5=ALL-UNNAMED -Djdk.reflect.useDirectMethodHandle=false","spark.sql.execution.root.id":"0","spark.hadoop.fs.s3a.connection.ssl.enabled":"false","spark.serializer.objectStreamReset":"100","spark.driver.extraJavaOptions":"-Djava.net.preferIPv6Addresses=false -XX:+IgnoreUnrecognizedVMOptions --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.base/sun.nio.cs=ALL-UNNAMED --add-opens=java.base/sun.security.action=ALL-UNNAMED --add-opens=java.base/sun.util.calendar=ALL-UNNAMED --add-opens=java.security.jgss/sun.security.krb5=ALL-UNNAMED -Djdk.reflect.useDirectMethodHandle=false"}} {"Event":"SparkListenerStageSubmitted","Stage Info":{"Stage ID":12,"Stage Attempt ID":0,"Stage Name":"parquet at NativeMethodAccessorImpl.java:0","Number of Tasks":1,"RDD Info":[{"RDD ID":27,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"71\",\"name\":\"Exchange\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[26],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"UNORDERED","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":26,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"72\",\"name\":\"WholeStageCodegen (8)\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[25],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"UNORDERED","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":25,"Name":"ShuffledRowRDD","Scope":"{\"id\":\"76\",\"name\":\"AQEShuffleRead\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[24],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"UNORDERED","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0}],"Parent IDs":[11],"Details":"org.apache.spark.sql.DataFrameWriter.parquet(DataFrameWriter.scala:792)\njava.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\njava.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)\njava.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\njava.base/java.lang.reflect.Method.invoke(Method.java:569)\npy4j.reflection.MethodInvoker.invoke(MethodInvoker.java:244)\npy4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:374)\npy4j.Gateway.invoke(Gateway.java:282)\npy4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:132)\npy4j.commands.CallCommand.execute(CallCommand.java:79)\npy4j.ClientServerConnection.waitForCommands(ClientServerConnection.java:182)\npy4j.ClientServerConnection.run(ClientServerConnection.java:106)\njava.base/java.lang.Thread.run(Thread.java:840)","Submission Time":1784546406330,"Accumulables":[],"Resource Profile Id":0,"Shuffle Push Enabled":false,"Shuffle Push Mergers Count":0},"Properties":{"spark.driver.port":"34351","spark.submit.pyFiles":"","spark.app.startTime":"1784546379461","spark.rdd.scope":"{\"id\":\"71\",\"name\":\"Exchange\"}","spark.hadoop.fs.s3a.endpoint":"http://minio:9000","spark.rdd.compress":"True","spark.hadoop.fs.s3a.impl":"org.apache.hadoop.fs.s3a.S3AFileSystem","spark.app.submitTime":"1784546378209","spark.eventLog.dir":"file:/opt/spark-events","spark.hadoop.fs.s3a.aws.credentials.provider":"org.apache.hadoop.fs.s3a.SimpleAWSCredentialsProvider","spark.sql.execution.id":"0","spark.sql.warehouse.dir":"file:/opt/airflow/spark-warehouse","spark.rdd.scope.noOverride":"true","spark.master":"spark://spark-master:7077","spark.hadoop.fs.s3a.secret.key":"*********(redacted)","spark.executor.id":"driver","spark.app.name":"dm_user_cohort_analysis","spark.hadoop.fs.s3a.access.key":"*********(redacted)","spark.submit.deployMode":"client","spark.hadoop.fs.s3a.path.style.access":"true","spark.driver.host":"73850a3d530b","spark.app.id":"app-20260720151940-0099","spark.eventLog.compress":"true","spark.eventLog.enabled":"true","__fetch_continuous_blocks_in_batch_enabled":"true","spark.executor.extraJavaOptions":"-Djava.net.preferIPv6Addresses=false -XX:+IgnoreUnrecognizedVMOptions --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.base/sun.nio.cs=ALL-UNNAMED --add-opens=java.base/sun.security.action=ALL-UNNAMED --add-opens=java.base/sun.util.calendar=ALL-UNNAMED --add-opens=java.security.jgss/sun.security.krb5=ALL-UNNAMED -Djdk.reflect.useDirectMethodHandle=false","spark.sql.execution.root.id":"0","spark.hadoop.fs.s3a.connection.ssl.enabled":"false","spark.serializer.objectStreamReset":"100","spark.driver.extraJavaOptions":"-Djava.net.preferIPv6Addresses=false -XX:+IgnoreUnrecognizedVMOptions --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.base/sun.nio.cs=ALL-UNNAMED --add-opens=java.base/sun.security.action=ALL-UNNAMED --add-opens=java.base/sun.util.calendar=ALL-UNNAMED --add-opens=java.security.jgss/sun.security.krb5=ALL-UNNAMED -Djdk.reflect.useDirectMethodHandle=false"}} {"Event":"SparkListenerTaskStart","Stage ID":12,"Stage Attempt ID":0,"Task Info":{"Task ID":7,"Index":0,"Attempt":0,"Partition ID":0,"Launch Time":1784546406336,"Executor ID":"0","Host":"172.28.0.49","Locality":"NODE_LOCAL","Speculative":false,"Getting Result Time":0,"Finish Time":0,"Failed":false,"Killed":false,"Accumulables":[]}} {"Event":"SparkListenerTaskEnd","Stage ID":12,"Stage Attempt ID":0,"Task Type":"ShuffleMapTask","Task End Reason":{"Reason":"Success"},"Task Info":{"Task ID":7,"Index":0,"Attempt":0,"Partition ID":0,"Launch Time":1784546406336,"Executor ID":"0","Host":"172.28.0.49","Locality":"NODE_LOCAL","Speculative":false,"Getting Result Time":0,"Finish Time":1784546406478,"Failed":false,"Killed":false,"Accumulables":[{"ID":1149,"Name":"local blocks read","Update":"1","Value":"1","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1152,"Name":"local bytes read","Update":"4491","Value":"4491","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1153,"Name":"fetch wait time","Update":"0","Value":"0","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1154,"Name":"records read","Update":"59","Value":"59","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1255,"Name":"data size","Update":"288","Value":"288","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1274,"Name":"shuffle bytes written","Update":"360","Value":"360","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1275,"Name":"shuffle records written","Update":"4","Value":"4","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1276,"Name":"shuffle write time","Update":"3223807","Value":"3223807","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1277,"Name":"duration","Update":"47","Value":"47","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1278,"Name":"number of output rows","Update":"4","Value":"4","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1279,"Name":"peak memory","Update":"262144","Value":"262144","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1281,"Name":"time in aggregation build","Update":"8","Value":"8","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1284,"Name":"number of output rows","Update":"59","Value":"59","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1285,"Name":"peak memory","Update":"4456432","Value":"4456432","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1287,"Name":"time in aggregation build","Update":"2","Value":"2","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1288,"Name":"avg hash probes per key","Update":"10","Value":"10","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1293,"Name":"internal.metrics.executorDeserializeTime","Update":24,"Value":24,"Internal":true,"Count Failed Values":true},{"ID":1294,"Name":"internal.metrics.executorDeserializeCpuTime","Update":19933259,"Value":19933259,"Internal":true,"Count Failed Values":true},{"ID":1295,"Name":"internal.metrics.executorRunTime","Update":105,"Value":105,"Internal":true,"Count Failed Values":true},{"ID":1296,"Name":"internal.metrics.executorCpuTime","Update":90412115,"Value":90412115,"Internal":true,"Count Failed Values":true},{"ID":1297,"Name":"internal.metrics.resultSize","Update":13800,"Value":13800,"Internal":true,"Count Failed Values":true},{"ID":1302,"Name":"internal.metrics.peakExecutionMemory","Update":4718576,"Value":4718576,"Internal":true,"Count Failed Values":true},{"ID":1304,"Name":"internal.metrics.shuffle.read.remoteBlocksFetched","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":1305,"Name":"internal.metrics.shuffle.read.localBlocksFetched","Update":1,"Value":1,"Internal":true,"Count Failed Values":true},{"ID":1306,"Name":"internal.metrics.shuffle.read.remoteBytesRead","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":1307,"Name":"internal.metrics.shuffle.read.remoteBytesReadToDisk","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":1308,"Name":"internal.metrics.shuffle.read.localBytesRead","Update":4491,"Value":4491,"Internal":true,"Count Failed Values":true},{"ID":1309,"Name":"internal.metrics.shuffle.read.fetchWaitTime","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":1310,"Name":"internal.metrics.shuffle.read.recordsRead","Update":59,"Value":59,"Internal":true,"Count Failed Values":true},{"ID":1311,"Name":"internal.metrics.shuffle.push.read.corruptMergedBlockChunks","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":1312,"Name":"internal.metrics.shuffle.push.read.mergedFetchFallbackCount","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":1313,"Name":"internal.metrics.shuffle.push.read.remoteMergedBlocksFetched","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":1314,"Name":"internal.metrics.shuffle.push.read.localMergedBlocksFetched","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":1315,"Name":"internal.metrics.shuffle.push.read.remoteMergedChunksFetched","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":1316,"Name":"internal.metrics.shuffle.push.read.localMergedChunksFetched","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":1317,"Name":"internal.metrics.shuffle.push.read.remoteMergedBytesRead","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":1318,"Name":"internal.metrics.shuffle.push.read.localMergedBytesRead","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":1319,"Name":"internal.metrics.shuffle.read.remoteReqsDuration","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":1320,"Name":"internal.metrics.shuffle.push.read.remoteMergedReqsDuration","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":1321,"Name":"internal.metrics.shuffle.write.bytesWritten","Update":360,"Value":360,"Internal":true,"Count Failed Values":true},{"ID":1322,"Name":"internal.metrics.shuffle.write.recordsWritten","Update":4,"Value":4,"Internal":true,"Count Failed Values":true},{"ID":1323,"Name":"internal.metrics.shuffle.write.writeTime","Update":3223807,"Value":3223807,"Internal":true,"Count Failed Values":true}]},"Task Executor Metrics":{"JVMHeapMemory":0,"JVMOffHeapMemory":0,"OnHeapExecutionMemory":0,"OffHeapExecutionMemory":0,"OnHeapStorageMemory":0,"OffHeapStorageMemory":0,"OnHeapUnifiedMemory":0,"OffHeapUnifiedMemory":0,"DirectPoolMemory":0,"MappedPoolMemory":0,"ProcessTreeJVMVMemory":0,"ProcessTreeJVMRSSMemory":0,"ProcessTreePythonVMemory":0,"ProcessTreePythonRSSMemory":0,"ProcessTreeOtherVMemory":0,"ProcessTreeOtherRSSMemory":0,"MinorGCCount":0,"MinorGCTime":0,"MajorGCCount":0,"MajorGCTime":0,"TotalGCTime":0},"Task Metrics":{"Executor Deserialize Time":24,"Executor Deserialize CPU Time":19933259,"Executor Run Time":105,"Executor CPU Time":90412115,"Peak Execution Memory":4718576,"Result Size":13800,"JVM GC Time":0,"Result Serialization Time":0,"Memory Bytes Spilled":0,"Disk Bytes Spilled":0,"Shuffle Read Metrics":{"Remote Blocks Fetched":0,"Local Blocks Fetched":1,"Fetch Wait Time":0,"Remote Bytes Read":0,"Remote Bytes Read To Disk":0,"Local Bytes Read":4491,"Total Records Read":59,"Remote Requests Duration":0,"Push Based Shuffle":{"Corrupt Merged Block Chunks":0,"Merged Fetch Fallback Count":0,"Merged Remote Blocks Fetched":0,"Merged Local Blocks Fetched":0,"Merged Remote Chunks Fetched":0,"Merged Local Chunks Fetched":0,"Merged Remote Bytes Read":0,"Merged Local Bytes Read":0,"Merged Remote Requests Duration":0}},"Shuffle Write Metrics":{"Shuffle Bytes Written":360,"Shuffle Write Time":3223807,"Shuffle Records Written":4},"Input Metrics":{"Bytes Read":0,"Records Read":0},"Output Metrics":{"Bytes Written":0,"Records Written":0},"Updated Blocks":[]}} {"Event":"SparkListenerStageCompleted","Stage Info":{"Stage ID":12,"Stage Attempt ID":0,"Stage Name":"parquet at NativeMethodAccessorImpl.java:0","Number of Tasks":1,"RDD Info":[{"RDD ID":27,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"71\",\"name\":\"Exchange\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[26],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"UNORDERED","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":26,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"72\",\"name\":\"WholeStageCodegen (8)\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[25],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"UNORDERED","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":25,"Name":"ShuffledRowRDD","Scope":"{\"id\":\"76\",\"name\":\"AQEShuffleRead\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[24],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"UNORDERED","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0}],"Parent IDs":[11],"Details":"org.apache.spark.sql.DataFrameWriter.parquet(DataFrameWriter.scala:792)\njava.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\njava.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)\njava.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\njava.base/java.lang.reflect.Method.invoke(Method.java:569)\npy4j.reflection.MethodInvoker.invoke(MethodInvoker.java:244)\npy4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:374)\npy4j.Gateway.invoke(Gateway.java:282)\npy4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:132)\npy4j.commands.CallCommand.execute(CallCommand.java:79)\npy4j.ClientServerConnection.waitForCommands(ClientServerConnection.java:182)\npy4j.ClientServerConnection.run(ClientServerConnection.java:106)\njava.base/java.lang.Thread.run(Thread.java:840)","Submission Time":1784546406330,"Completion Time":1784546406480,"Accumulables":[{"ID":1149,"Name":"local blocks read","Value":"1","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1152,"Name":"local bytes read","Value":"4491","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1153,"Name":"fetch wait time","Value":"0","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1154,"Name":"records read","Value":"59","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1255,"Name":"data size","Value":"288","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1274,"Name":"shuffle bytes written","Value":"360","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1275,"Name":"shuffle records written","Value":"4","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1276,"Name":"shuffle write time","Value":"3223807","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1277,"Name":"duration","Value":"47","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1278,"Name":"number of output rows","Value":"4","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1279,"Name":"peak memory","Value":"262144","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1281,"Name":"time in aggregation build","Value":"8","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1284,"Name":"number of output rows","Value":"59","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1285,"Name":"peak memory","Value":"4456432","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1287,"Name":"time in aggregation build","Value":"2","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1288,"Name":"avg hash probes per key","Value":"10","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1293,"Name":"internal.metrics.executorDeserializeTime","Value":24,"Internal":true,"Count Failed Values":true},{"ID":1294,"Name":"internal.metrics.executorDeserializeCpuTime","Value":19933259,"Internal":true,"Count Failed Values":true},{"ID":1295,"Name":"internal.metrics.executorRunTime","Value":105,"Internal":true,"Count Failed Values":true},{"ID":1296,"Name":"internal.metrics.executorCpuTime","Value":90412115,"Internal":true,"Count Failed Values":true},{"ID":1297,"Name":"internal.metrics.resultSize","Value":13800,"Internal":true,"Count Failed Values":true},{"ID":1302,"Name":"internal.metrics.peakExecutionMemory","Value":4718576,"Internal":true,"Count Failed Values":true},{"ID":1304,"Name":"internal.metrics.shuffle.read.remoteBlocksFetched","Value":0,"Internal":true,"Count Failed Values":true},{"ID":1305,"Name":"internal.metrics.shuffle.read.localBlocksFetched","Value":1,"Internal":true,"Count Failed Values":true},{"ID":1306,"Name":"internal.metrics.shuffle.read.remoteBytesRead","Value":0,"Internal":true,"Count Failed Values":true},{"ID":1307,"Name":"internal.metrics.shuffle.read.remoteBytesReadToDisk","Value":0,"Internal":true,"Count Failed Values":true},{"ID":1308,"Name":"internal.metrics.shuffle.read.localBytesRead","Value":4491,"Internal":true,"Count Failed Values":true},{"ID":1309,"Name":"internal.metrics.shuffle.read.fetchWaitTime","Value":0,"Internal":true,"Count Failed Values":true},{"ID":1310,"Name":"internal.metrics.shuffle.read.recordsRead","Value":59,"Internal":true,"Count Failed Values":true},{"ID":1311,"Name":"internal.metrics.shuffle.push.read.corruptMergedBlockChunks","Value":0,"Internal":true,"Count Failed Values":true},{"ID":1312,"Name":"internal.metrics.shuffle.push.read.mergedFetchFallbackCount","Value":0,"Internal":true,"Count Failed Values":true},{"ID":1313,"Name":"internal.metrics.shuffle.push.read.remoteMergedBlocksFetched","Value":0,"Internal":true,"Count Failed Values":true},{"ID":1314,"Name":"internal.metrics.shuffle.push.read.localMergedBlocksFetched","Value":0,"Internal":true,"Count Failed Values":true},{"ID":1315,"Name":"internal.metrics.shuffle.push.read.remoteMergedChunksFetched","Value":0,"Internal":true,"Count Failed Values":true},{"ID":1316,"Name":"internal.metrics.shuffle.push.read.localMergedChunksFetched","Value":0,"Internal":true,"Count Failed Values":true},{"ID":1317,"Name":"internal.metrics.shuffle.push.read.remoteMergedBytesRead","Value":0,"Internal":true,"Count Failed Values":true},{"ID":1318,"Name":"internal.metrics.shuffle.push.read.localMergedBytesRead","Value":0,"Internal":true,"Count Failed Values":true},{"ID":1319,"Name":"internal.metrics.shuffle.read.remoteReqsDuration","Value":0,"Internal":true,"Count Failed Values":true},{"ID":1320,"Name":"internal.metrics.shuffle.push.read.remoteMergedReqsDuration","Value":0,"Internal":true,"Count Failed Values":true},{"ID":1321,"Name":"internal.metrics.shuffle.write.bytesWritten","Value":360,"Internal":true,"Count Failed Values":true},{"ID":1322,"Name":"internal.metrics.shuffle.write.recordsWritten","Value":4,"Internal":true,"Count Failed Values":true},{"ID":1323,"Name":"internal.metrics.shuffle.write.writeTime","Value":3223807,"Internal":true,"Count Failed Values":true}],"Resource Profile Id":0,"Shuffle Push Enabled":false,"Shuffle Push Mergers Count":0}} {"Event":"SparkListenerJobEnd","Job ID":7,"Completion Time":1784546406480,"Job Result":{"Result":"JobSucceeded"}} {"Event":"org.apache.spark.sql.execution.ui.SparkListenerSQLAdaptiveExecutionUpdate","executionId":0,"physicalPlanDescription":"== Physical Plan ==\nAdaptiveSparkPlan (84)\n+- == Current Plan ==\n Execute InsertIntoHadoopFsRelationCommand (50)\n +- WriteFiles (49)\n +- Sort (48)\n +- ShuffleQueryStage (47)\n +- Exchange (46)\n +- * Project (45)\n +- * HashAggregate (44)\n +- AQEShuffleRead (43)\n +- ShuffleQueryStage (42), Statistics(sizeInBytes=288.0 B, rowCount=4)\n +- Exchange (41)\n +- * HashAggregate (40)\n +- * HashAggregate (39)\n +- AQEShuffleRead (38)\n +- ShuffleQueryStage (37), Statistics(sizeInBytes=4.6 KiB, rowCount=59)\n +- Exchange (36)\n +- * HashAggregate (35)\n +- * Expand (34)\n +- * BroadcastHashJoin LeftOuter BuildRight (33)\n :- * BroadcastHashJoin LeftOuter BuildRight (23)\n : :- * Project (8)\n : : +- * BroadcastHashJoin LeftOuter BuildRight (7)\n : : :- * Project (2)\n : : : +- Scan csv (1)\n : : +- BroadcastQueryStage (6), Statistics(sizeInBytes=1024.2 KiB, rowCount=20)\n : : +- BroadcastExchange (5)\n : : +- * Filter (4)\n : : +- Scan csv (3)\n : +- BroadcastQueryStage (22), Statistics(sizeInBytes=1024.2 KiB, rowCount=20)\n : +- BroadcastExchange (21)\n : +- * HashAggregate (20)\n : +- AQEShuffleRead (19)\n : +- ShuffleQueryStage (18), Statistics(sizeInBytes=480.0 B, rowCount=20)\n : +- Exchange (17)\n : +- * HashAggregate (16)\n : +- * HashAggregate (15)\n : +- AQEShuffleRead (14)\n : +- ShuffleQueryStage (13), Statistics(sizeInBytes=1080.0 B, rowCount=45)\n : +- Exchange (12)\n : +- * HashAggregate (11)\n : +- * Filter (10)\n : +- Scan csv (9)\n +- BroadcastQueryStage (32), Statistics(sizeInBytes=1024.1 KiB, rowCount=11)\n +- BroadcastExchange (31)\n +- * HashAggregate (30)\n +- AQEShuffleRead (29)\n +- ShuffleQueryStage (28), Statistics(sizeInBytes=264.0 B, rowCount=11)\n +- Exchange (27)\n +- * HashAggregate (26)\n +- * Filter (25)\n +- Scan csv (24)\n+- == Initial Plan ==\n Execute InsertIntoHadoopFsRelationCommand (83)\n +- WriteFiles (82)\n +- Sort (81)\n +- Exchange (80)\n +- Project (79)\n +- HashAggregate (78)\n +- Exchange (77)\n +- HashAggregate (76)\n +- HashAggregate (75)\n +- Exchange (74)\n +- HashAggregate (73)\n +- Expand (72)\n +- BroadcastHashJoin LeftOuter BuildRight (71)\n :- BroadcastHashJoin LeftOuter BuildRight (65)\n : :- Project (56)\n : : +- BroadcastHashJoin LeftOuter BuildRight (55)\n : : :- Project (52)\n : : : +- Scan csv (51)\n : : +- BroadcastExchange (54)\n : : +- Filter (53)\n : : +- Scan csv (3)\n : +- BroadcastExchange (64)\n : +- HashAggregate (63)\n : +- Exchange (62)\n : +- HashAggregate (61)\n : +- HashAggregate (60)\n : +- Exchange (59)\n : +- HashAggregate (58)\n : +- Filter (57)\n : +- Scan csv (9)\n +- BroadcastExchange (70)\n +- HashAggregate (69)\n +- Exchange (68)\n +- HashAggregate (67)\n +- Filter (66)\n +- Scan csv (24)\n\n\n(1) Scan csv \nOutput [2]: [id#0L, registration_date#4]\nBatched: false\nLocation: InMemoryFileIndex [s3a://apavlovets-bucket/raw/users.csv]\nReadSchema: struct\n\n(2) Project [codegen id : 7]\nOutput [2]: [id#0L AS user_id#26L, date_trunc(month, registration_date#4, Some(Europe/Samara)) AS cohort_month_ts#27]\nInput [2]: [id#0L, registration_date#4]\n\n(3) Scan csv \nOutput [2]: [id#53L, registration_date#57]\nBatched: false\nLocation: InMemoryFileIndex [s3a://apavlovets-bucket/raw/users.csv]\nPushedFilters: [IsNotNull(id)]\nReadSchema: struct\n\n(4) Filter [codegen id : 1]\nInput [2]: [id#53L, registration_date#57]\nCondition : isnotnull(id#53L)\n\n(5) BroadcastExchange\nInput [2]: [id#53L, registration_date#57]\nArguments: HashedRelationBroadcastMode(List(input[0, bigint, false]),false), [plan_id=213]\n\n(6) BroadcastQueryStage\nOutput [2]: [id#53L, registration_date#57]\nArguments: 0\n\n(7) BroadcastHashJoin [codegen id : 7]\nLeft keys [1]: [user_id#26L]\nRight keys [1]: [id#53L]\nJoin type: LeftOuter\nJoin condition: None\n\n(8) Project [codegen id : 7]\nOutput [3]: [user_id#26L, cohort_month_ts#27, registration_date#57]\nInput [4]: [user_id#26L, cohort_month_ts#27, id#53L, registration_date#57]\n\n(9) Scan csv \nOutput [2]: [user_id#11L, course_id#12L]\nBatched: false\nLocation: InMemoryFileIndex [s3a://apavlovets-bucket/raw/enrollments.csv]\nPushedFilters: [IsNotNull(user_id)]\nReadSchema: struct\n\n(10) Filter [codegen id : 2]\nInput [2]: [user_id#11L, course_id#12L]\nCondition : isnotnull(user_id#11L)\n\n(11) HashAggregate [codegen id : 2]\nInput [2]: [user_id#11L, course_id#12L]\nKeys [2]: [user_id#11L, course_id#12L]\nFunctions: []\nAggregate Attributes: []\nResults [2]: [user_id#11L, course_id#12L]\n\n(12) Exchange\nInput [2]: [user_id#11L, course_id#12L]\nArguments: hashpartitioning(user_id#11L, course_id#12L, 200), ENSURE_REQUIREMENTS, [plan_id=226]\n\n(13) ShuffleQueryStage\nOutput [2]: [user_id#11L, course_id#12L]\nArguments: 1\n\n(14) AQEShuffleRead\nInput [2]: [user_id#11L, course_id#12L]\nArguments: coalesced\n\n(15) HashAggregate [codegen id : 5]\nInput [2]: [user_id#11L, course_id#12L]\nKeys [2]: [user_id#11L, course_id#12L]\nFunctions: []\nAggregate Attributes: []\nResults [2]: [user_id#11L, course_id#12L]\n\n(16) HashAggregate [codegen id : 5]\nInput [2]: [user_id#11L, course_id#12L]\nKeys [1]: [user_id#11L]\nFunctions [1]: [partial_count(distinct course_id#12L)]\nAggregate Attributes [1]: [count(course_id#12L)#36L]\nResults [2]: [user_id#11L, count#203L]\n\n(17) Exchange\nInput [2]: [user_id#11L, count#203L]\nArguments: hashpartitioning(user_id#11L, 200), ENSURE_REQUIREMENTS, [plan_id=507]\n\n(18) ShuffleQueryStage\nOutput [2]: [user_id#11L, count#203L]\nArguments: 4\n\n(19) AQEShuffleRead\nInput [2]: [user_id#11L, count#203L]\nArguments: coalesced\n\n(20) HashAggregate [codegen id : 6]\nInput [2]: [user_id#11L, count#203L]\nKeys [1]: [user_id#11L]\nFunctions [1]: [count(distinct course_id#12L)]\nAggregate Attributes [1]: [count(course_id#12L)#36L]\nResults [2]: [user_id#11L, count(course_id#12L)#36L AS courses_count#35L]\n\n(21) BroadcastExchange\nInput [2]: [user_id#11L, courses_count#35L]\nArguments: HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=700]\n\n(22) BroadcastQueryStage\nOutput [2]: [user_id#11L, courses_count#35L]\nArguments: 5\n\n(23) BroadcastHashJoin [codegen id : 7]\nLeft keys [1]: [user_id#26L]\nRight keys [1]: [user_id#11L]\nJoin type: LeftOuter\nJoin condition: None\n\n(24) Scan csv \nOutput [2]: [user_id#19L, viewed_at#21]\nBatched: false\nLocation: InMemoryFileIndex [s3a://apavlovets-bucket/raw/lesson_views.csv]\nPushedFilters: [IsNotNull(user_id)]\nReadSchema: struct\n\n(25) Filter [codegen id : 3]\nInput [2]: [user_id#19L, viewed_at#21]\nCondition : isnotnull(user_id#19L)\n\n(26) HashAggregate [codegen id : 3]\nInput [2]: [user_id#19L, viewed_at#21]\nKeys [1]: [user_id#19L]\nFunctions [1]: [partial_min(viewed_at#21)]\nAggregate Attributes [1]: [min#205]\nResults [2]: [user_id#19L, min#206]\n\n(27) Exchange\nInput [2]: [user_id#19L, min#206]\nArguments: hashpartitioning(user_id#19L, 200), ENSURE_REQUIREMENTS, [plan_id=246]\n\n(28) ShuffleQueryStage\nOutput [2]: [user_id#19L, min#206]\nArguments: 2\n\n(29) AQEShuffleRead\nInput [2]: [user_id#19L, min#206]\nArguments: coalesced\n\n(30) HashAggregate [codegen id : 4]\nInput [2]: [user_id#19L, min#206]\nKeys [1]: [user_id#19L]\nFunctions [1]: [min(viewed_at#21)]\nAggregate Attributes [1]: [min(viewed_at#21)#46]\nResults [2]: [user_id#19L, min(viewed_at#21)#46 AS first_viewed_at#47]\n\n(31) BroadcastExchange\nInput [2]: [user_id#19L, first_viewed_at#47]\nArguments: HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=384]\n\n(32) BroadcastQueryStage\nOutput [2]: [user_id#19L, first_viewed_at#47]\nArguments: 3\n\n(33) BroadcastHashJoin [codegen id : 7]\nLeft keys [1]: [user_id#26L]\nRight keys [1]: [user_id#19L]\nJoin type: LeftOuter\nJoin condition: None\n\n(34) Expand [codegen id : 7]\nInput [7]: [user_id#26L, cohort_month_ts#27, registration_date#57, user_id#11L, courses_count#35L, user_id#19L, first_viewed_at#47]\nArguments: [[cohort_month_ts#27, null, null, null, 0, courses_count#35L, datediff(cast(first_viewed_at#47 as date), cast(registration_date#57 as date))], [cohort_month_ts#27, user_id#26L, null, null, 1, null, null], [cohort_month_ts#27, null, user_id#11L, null, 2, null, null], [cohort_month_ts#27, null, null, user_id#19L, 3, null, null]], [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, ue.courses_count#173L, datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174]\n\n(35) HashAggregate [codegen id : 7]\nInput [7]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, ue.courses_count#173L, datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174]\nKeys [5]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169]\nFunctions [2]: [partial_avg(ue.courses_count#173L), partial_avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174)]\nAggregate Attributes [4]: [sum#193, count#194L, sum#195, count#196L]\nResults [9]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, sum#197, count#198L, sum#199, count#200L]\n\n(36) Exchange\nInput [9]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, sum#197, count#198L, sum#199, count#200L]\nArguments: hashpartitioning(cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, 200), ENSURE_REQUIREMENTS, [plan_id=821]\n\n(37) ShuffleQueryStage\nOutput [9]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, sum#197, count#198L, sum#199, count#200L]\nArguments: 6\n\n(38) AQEShuffleRead\nInput [9]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, sum#197, count#198L, sum#199, count#200L]\nArguments: coalesced\n\n(39) HashAggregate [codegen id : 8]\nInput [9]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, sum#197, count#198L, sum#199, count#200L]\nKeys [5]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169]\nFunctions [2]: [avg(ue.courses_count#173L), avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174)]\nAggregate Attributes [2]: [avg(ue.courses_count#173L)#127, avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174)#129]\nResults [7]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, avg(ue.courses_count#173L)#127 AS avg(ue.courses_count)#175, avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174)#129 AS avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177]\n\n(40) HashAggregate [codegen id : 8]\nInput [7]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, avg(ue.courses_count)#175, avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177]\nKeys [1]: [cohort_month_ts#27]\nFunctions [5]: [partial_count(c.user_id#170L) FILTER (WHERE (gid#169 = 1)), partial_count(ue.user_id#171L) FILTER (WHERE (gid#169 = 2)), partial_count(ufv.user_id#172L) FILTER (WHERE (gid#169 = 3)), partial_first(avg(ue.courses_count)#175, true) FILTER (WHERE (gid#169 = 0)), partial_first(avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177, true) FILTER (WHERE (gid#169 = 0))]\nAggregate Attributes [7]: [count#179L, count#180L, count#181L, first#182, valueSet#183, first#184, valueSet#185]\nResults [8]: [cohort_month_ts#27, count#186L, count#187L, count#188L, first#189, valueSet#190, first#191, valueSet#192]\n\n(41) Exchange\nInput [8]: [cohort_month_ts#27, count#186L, count#187L, count#188L, first#189, valueSet#190, first#191, valueSet#192]\nArguments: hashpartitioning(cohort_month_ts#27, 200), ENSURE_REQUIREMENTS, [plan_id=899]\n\n(42) ShuffleQueryStage\nOutput [8]: [cohort_month_ts#27, count#186L, count#187L, count#188L, first#189, valueSet#190, first#191, valueSet#192]\nArguments: 7\n\n(43) AQEShuffleRead\nInput [8]: [cohort_month_ts#27, count#186L, count#187L, count#188L, first#189, valueSet#190, first#191, valueSet#192]\nArguments: coalesced\n\n(44) HashAggregate [codegen id : 9]\nInput [8]: [cohort_month_ts#27, count#186L, count#187L, count#188L, first#189, valueSet#190, first#191, valueSet#192]\nKeys [1]: [cohort_month_ts#27]\nFunctions [5]: [count(c.user_id#170L), count(ue.user_id#171L), count(ufv.user_id#172L), first(avg(ue.courses_count)#175, true), first(avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177, true)]\nAggregate Attributes [5]: [count(c.user_id#170L)#131L, count(ue.user_id#171L)#132L, count(ufv.user_id#172L)#133L, first(avg(ue.courses_count)#175) ignore nulls#176, first(avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177) ignore nulls#178]\nResults [6]: [cohort_month_ts#27, count(c.user_id#170L)#131L AS users_in_cohort#124L, count(ue.user_id#171L)#132L AS enrolled_users#125L, count(ufv.user_id#172L)#133L AS active_users#126L, round(first(avg(ue.courses_count)#175) ignore nulls#176, 2) AS avg_courses_per_user#128, round(first(avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177) ignore nulls#178, 2) AS avg_time_to_first_view#130]\n\n(45) Project [codegen id : 9]\nOutput [7]: [date_format(cohort_month_ts#27, yyyy-MM, Some(Europe/Samara)) AS cohort_month#154, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130, CASE WHEN NOT (users_in_cohort#124L = 0) THEN round(((cast(active_users#126L as double) * 100.0) / cast(users_in_cohort#124L as double)), 2) END AS retention_rate#146]\nInput [6]: [cohort_month_ts#27, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130]\n\n(46) Exchange\nInput [7]: [cohort_month#154, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130, retention_rate#146]\nArguments: rangepartitioning(cohort_month#154 ASC NULLS FIRST, 200), ENSURE_REQUIREMENTS, [plan_id=947]\n\n(47) ShuffleQueryStage\nOutput [7]: [cohort_month#154, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130, retention_rate#146]\nArguments: 8\n\n(48) Sort\nInput [7]: [cohort_month#154, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130, retention_rate#146]\nArguments: [cohort_month#154 ASC NULLS FIRST], true, 0\n\n(49) WriteFiles\nInput [7]: [cohort_month#154, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130, retention_rate#146]\n\n(50) Execute InsertIntoHadoopFsRelationCommand\nInput: []\nArguments: s3a://apavlovets-bucket/marts/user_cohort_analysis.parquet, false, Parquet, [path=s3a://apavlovets-bucket/marts/user_cohort_analysis.parquet], Overwrite, [cohort_month, users_in_cohort, enrolled_users, active_users, avg_courses_per_user, avg_time_to_first_view, retention_rate]\n\n(51) Scan csv \nOutput [2]: [id#0L, registration_date#4]\nBatched: false\nLocation: InMemoryFileIndex [s3a://apavlovets-bucket/raw/users.csv]\nReadSchema: struct\n\n(52) Project\nOutput [2]: [id#0L AS user_id#26L, date_trunc(month, registration_date#4, Some(Europe/Samara)) AS cohort_month_ts#27]\nInput [2]: [id#0L, registration_date#4]\n\n(53) Filter\nInput [2]: [id#53L, registration_date#57]\nCondition : isnotnull(id#53L)\n\n(54) BroadcastExchange\nInput [2]: [id#53L, registration_date#57]\nArguments: HashedRelationBroadcastMode(List(input[0, bigint, false]),false), [plan_id=119]\n\n(55) BroadcastHashJoin\nLeft keys [1]: [user_id#26L]\nRight keys [1]: [id#53L]\nJoin type: LeftOuter\nJoin condition: None\n\n(56) Project\nOutput [3]: [user_id#26L, cohort_month_ts#27, registration_date#57]\nInput [4]: [user_id#26L, cohort_month_ts#27, id#53L, registration_date#57]\n\n(57) Filter\nInput [2]: [user_id#11L, course_id#12L]\nCondition : isnotnull(user_id#11L)\n\n(58) HashAggregate\nInput [2]: [user_id#11L, course_id#12L]\nKeys [2]: [user_id#11L, course_id#12L]\nFunctions: []\nAggregate Attributes: []\nResults [2]: [user_id#11L, course_id#12L]\n\n(59) Exchange\nInput [2]: [user_id#11L, course_id#12L]\nArguments: hashpartitioning(user_id#11L, course_id#12L, 200), ENSURE_REQUIREMENTS, [plan_id=122]\n\n(60) HashAggregate\nInput [2]: [user_id#11L, course_id#12L]\nKeys [2]: [user_id#11L, course_id#12L]\nFunctions: []\nAggregate Attributes: []\nResults [2]: [user_id#11L, course_id#12L]\n\n(61) HashAggregate\nInput [2]: [user_id#11L, course_id#12L]\nKeys [1]: [user_id#11L]\nFunctions [1]: [partial_count(distinct course_id#12L)]\nAggregate Attributes [1]: [count(course_id#12L)#36L]\nResults [2]: [user_id#11L, count#203L]\n\n(62) Exchange\nInput [2]: [user_id#11L, count#203L]\nArguments: hashpartitioning(user_id#11L, 200), ENSURE_REQUIREMENTS, [plan_id=126]\n\n(63) HashAggregate\nInput [2]: [user_id#11L, count#203L]\nKeys [1]: [user_id#11L]\nFunctions [1]: [count(distinct course_id#12L)]\nAggregate Attributes [1]: [count(course_id#12L)#36L]\nResults [2]: [user_id#11L, count(course_id#12L)#36L AS courses_count#35L]\n\n(64) BroadcastExchange\nInput [2]: [user_id#11L, courses_count#35L]\nArguments: HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=129]\n\n(65) BroadcastHashJoin\nLeft keys [1]: [user_id#26L]\nRight keys [1]: [user_id#11L]\nJoin type: LeftOuter\nJoin condition: None\n\n(66) Filter\nInput [2]: [user_id#19L, viewed_at#21]\nCondition : isnotnull(user_id#19L)\n\n(67) HashAggregate\nInput [2]: [user_id#19L, viewed_at#21]\nKeys [1]: [user_id#19L]\nFunctions [1]: [partial_min(viewed_at#21)]\nAggregate Attributes [1]: [min#205]\nResults [2]: [user_id#19L, min#206]\n\n(68) Exchange\nInput [2]: [user_id#19L, min#206]\nArguments: hashpartitioning(user_id#19L, 200), ENSURE_REQUIREMENTS, [plan_id=131]\n\n(69) HashAggregate\nInput [2]: [user_id#19L, min#206]\nKeys [1]: [user_id#19L]\nFunctions [1]: [min(viewed_at#21)]\nAggregate Attributes [1]: [min(viewed_at#21)#46]\nResults [2]: [user_id#19L, min(viewed_at#21)#46 AS first_viewed_at#47]\n\n(70) BroadcastExchange\nInput [2]: [user_id#19L, first_viewed_at#47]\nArguments: HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=134]\n\n(71) BroadcastHashJoin\nLeft keys [1]: [user_id#26L]\nRight keys [1]: [user_id#19L]\nJoin type: LeftOuter\nJoin condition: None\n\n(72) Expand\nInput [7]: [user_id#26L, cohort_month_ts#27, registration_date#57, user_id#11L, courses_count#35L, user_id#19L, first_viewed_at#47]\nArguments: [[cohort_month_ts#27, null, null, null, 0, courses_count#35L, datediff(cast(first_viewed_at#47 as date), cast(registration_date#57 as date))], [cohort_month_ts#27, user_id#26L, null, null, 1, null, null], [cohort_month_ts#27, null, user_id#11L, null, 2, null, null], [cohort_month_ts#27, null, null, user_id#19L, 3, null, null]], [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, ue.courses_count#173L, datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174]\n\n(73) HashAggregate\nInput [7]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, ue.courses_count#173L, datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174]\nKeys [5]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169]\nFunctions [2]: [partial_avg(ue.courses_count#173L), partial_avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174)]\nAggregate Attributes [4]: [sum#193, count#194L, sum#195, count#196L]\nResults [9]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, sum#197, count#198L, sum#199, count#200L]\n\n(74) Exchange\nInput [9]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, sum#197, count#198L, sum#199, count#200L]\nArguments: hashpartitioning(cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, 200), ENSURE_REQUIREMENTS, [plan_id=139]\n\n(75) HashAggregate\nInput [9]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, sum#197, count#198L, sum#199, count#200L]\nKeys [5]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169]\nFunctions [2]: [avg(ue.courses_count#173L), avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174)]\nAggregate Attributes [2]: [avg(ue.courses_count#173L)#127, avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174)#129]\nResults [7]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, avg(ue.courses_count#173L)#127 AS avg(ue.courses_count)#175, avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174)#129 AS avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177]\n\n(76) HashAggregate\nInput [7]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, avg(ue.courses_count)#175, avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177]\nKeys [1]: [cohort_month_ts#27]\nFunctions [5]: [partial_count(c.user_id#170L) FILTER (WHERE (gid#169 = 1)), partial_count(ue.user_id#171L) FILTER (WHERE (gid#169 = 2)), partial_count(ufv.user_id#172L) FILTER (WHERE (gid#169 = 3)), partial_first(avg(ue.courses_count)#175, true) FILTER (WHERE (gid#169 = 0)), partial_first(avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177, true) FILTER (WHERE (gid#169 = 0))]\nAggregate Attributes [7]: [count#179L, count#180L, count#181L, first#182, valueSet#183, first#184, valueSet#185]\nResults [8]: [cohort_month_ts#27, count#186L, count#187L, count#188L, first#189, valueSet#190, first#191, valueSet#192]\n\n(77) Exchange\nInput [8]: [cohort_month_ts#27, count#186L, count#187L, count#188L, first#189, valueSet#190, first#191, valueSet#192]\nArguments: hashpartitioning(cohort_month_ts#27, 200), ENSURE_REQUIREMENTS, [plan_id=143]\n\n(78) HashAggregate\nInput [8]: [cohort_month_ts#27, count#186L, count#187L, count#188L, first#189, valueSet#190, first#191, valueSet#192]\nKeys [1]: [cohort_month_ts#27]\nFunctions [5]: [count(c.user_id#170L), count(ue.user_id#171L), count(ufv.user_id#172L), first(avg(ue.courses_count)#175, true), first(avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177, true)]\nAggregate Attributes [5]: [count(c.user_id#170L)#131L, count(ue.user_id#171L)#132L, count(ufv.user_id#172L)#133L, first(avg(ue.courses_count)#175) ignore nulls#176, first(avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177) ignore nulls#178]\nResults [6]: [cohort_month_ts#27, count(c.user_id#170L)#131L AS users_in_cohort#124L, count(ue.user_id#171L)#132L AS enrolled_users#125L, count(ufv.user_id#172L)#133L AS active_users#126L, round(first(avg(ue.courses_count)#175) ignore nulls#176, 2) AS avg_courses_per_user#128, round(first(avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177) ignore nulls#178, 2) AS avg_time_to_first_view#130]\n\n(79) Project\nOutput [7]: [date_format(cohort_month_ts#27, yyyy-MM, Some(Europe/Samara)) AS cohort_month#154, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130, CASE WHEN NOT (users_in_cohort#124L = 0) THEN round(((cast(active_users#126L as double) * 100.0) / cast(users_in_cohort#124L as double)), 2) END AS retention_rate#146]\nInput [6]: [cohort_month_ts#27, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130]\n\n(80) Exchange\nInput [7]: [cohort_month#154, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130, retention_rate#146]\nArguments: rangepartitioning(cohort_month#154 ASC NULLS FIRST, 200), ENSURE_REQUIREMENTS, [plan_id=147]\n\n(81) Sort\nInput [7]: [cohort_month#154, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130, retention_rate#146]\nArguments: [cohort_month#154 ASC NULLS FIRST], true, 0\n\n(82) WriteFiles\nInput [7]: [cohort_month#154, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130, retention_rate#146]\n\n(83) Execute InsertIntoHadoopFsRelationCommand\nInput: []\nArguments: s3a://apavlovets-bucket/marts/user_cohort_analysis.parquet, false, Parquet, [path=s3a://apavlovets-bucket/marts/user_cohort_analysis.parquet], Overwrite, [cohort_month, users_in_cohort, enrolled_users, active_users, avg_courses_per_user, avg_time_to_first_view, retention_rate]\n\n(84) AdaptiveSparkPlan\nOutput: []\nArguments: isFinalPlan=false\n\n","sparkPlanInfo":{"nodeName":"AdaptiveSparkPlan","simpleString":"AdaptiveSparkPlan isFinalPlan=false","children":[{"nodeName":"Execute InsertIntoHadoopFsRelationCommand","simpleString":"Execute InsertIntoHadoopFsRelationCommand s3a://apavlovets-bucket/marts/user_cohort_analysis.parquet, false, Parquet, [path=s3a://apavlovets-bucket/marts/user_cohort_analysis.parquet], Overwrite, [cohort_month, users_in_cohort, enrolled_users, active_users, avg_courses_per_user, avg_time_to_first_view, retention_rate]","children":[{"nodeName":"WriteFiles","simpleString":"WriteFiles","children":[{"nodeName":"Sort","simpleString":"Sort [cohort_month#154 ASC NULLS FIRST], true, 0","children":[{"nodeName":"ShuffleQueryStage","simpleString":"ShuffleQueryStage 8","children":[{"nodeName":"Exchange","simpleString":"Exchange rangepartitioning(cohort_month#154 ASC NULLS FIRST, 200), ENSURE_REQUIREMENTS, [plan_id=947]","children":[{"nodeName":"WholeStageCodegen (9)","simpleString":"WholeStageCodegen (9)","children":[{"nodeName":"Project","simpleString":"Project [date_format(cohort_month_ts#27, yyyy-MM, Some(Europe/Samara)) AS cohort_month#154, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130, CASE WHEN NOT (users_in_cohort#124L = 0) THEN round(((cast(active_users#126L as double) * 100.0) / cast(users_in_cohort#124L as double)), 2) END AS retention_rate#146]","children":[{"nodeName":"HashAggregate","simpleString":"HashAggregate(keys=[cohort_month_ts#27], functions=[count(c.user_id#170L), count(ue.user_id#171L), count(ufv.user_id#172L), first(avg(ue.courses_count)#175, true), first(avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177, true)])","children":[{"nodeName":"InputAdapter","simpleString":"InputAdapter","children":[{"nodeName":"AQEShuffleRead","simpleString":"AQEShuffleRead coalesced","children":[{"nodeName":"ShuffleQueryStage","simpleString":"ShuffleQueryStage 7","children":[{"nodeName":"Exchange","simpleString":"Exchange hashpartitioning(cohort_month_ts#27, 200), ENSURE_REQUIREMENTS, [plan_id=899]","children":[{"nodeName":"WholeStageCodegen (8)","simpleString":"WholeStageCodegen (8)","children":[{"nodeName":"HashAggregate","simpleString":"HashAggregate(keys=[cohort_month_ts#27], functions=[partial_count(c.user_id#170L) FILTER (WHERE (gid#169 = 1)), partial_count(ue.user_id#171L) FILTER (WHERE (gid#169 = 2)), partial_count(ufv.user_id#172L) FILTER (WHERE (gid#169 = 3)), partial_first(avg(ue.courses_count)#175, true) FILTER (WHERE (gid#169 = 0)), partial_first(avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177, true) FILTER (WHERE (gid#169 = 0))])","children":[{"nodeName":"HashAggregate","simpleString":"HashAggregate(keys=[cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169], functions=[avg(ue.courses_count#173L), avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174)])","children":[{"nodeName":"InputAdapter","simpleString":"InputAdapter","children":[{"nodeName":"AQEShuffleRead","simpleString":"AQEShuffleRead coalesced","children":[{"nodeName":"ShuffleQueryStage","simpleString":"ShuffleQueryStage 6","children":[{"nodeName":"Exchange","simpleString":"Exchange hashpartitioning(cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, 200), ENSURE_REQUIREMENTS, [plan_id=821]","children":[{"nodeName":"WholeStageCodegen (7)","simpleString":"WholeStageCodegen (7)","children":[{"nodeName":"HashAggregate","simpleString":"HashAggregate(keys=[cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169], functions=[partial_avg(ue.courses_count#173L), partial_avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174)])","children":[{"nodeName":"Expand","simpleString":"Expand [[cohort_month_ts#27, null, null, null, 0, courses_count#35L, datediff(cast(first_viewed_at#47 as date), cast(registration_date#57 as date))], [cohort_month_ts#27, user_id#26L, null, null, 1, null, null], [cohort_month_ts#27, null, user_id#11L, null, 2, null, null], [cohort_month_ts#27, null, null, user_id#19L, 3, null, null]], [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, ue.courses_count#173L, datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174]","children":[{"nodeName":"BroadcastHashJoin","simpleString":"BroadcastHashJoin [user_id#26L], [user_id#19L], LeftOuter, BuildRight, false","children":[{"nodeName":"BroadcastHashJoin","simpleString":"BroadcastHashJoin [user_id#26L], [user_id#11L], LeftOuter, BuildRight, false","children":[{"nodeName":"Project","simpleString":"Project [user_id#26L, cohort_month_ts#27, registration_date#57]","children":[{"nodeName":"BroadcastHashJoin","simpleString":"BroadcastHashJoin [user_id#26L], [id#53L], LeftOuter, BuildRight, false","children":[{"nodeName":"Project","simpleString":"Project [id#0L AS user_id#26L, date_trunc(month, registration_date#4, Some(Europe/Samara)) AS cohort_month_ts#27]","children":[{"nodeName":"InputAdapter","simpleString":"InputAdapter","children":[{"nodeName":"Scan csv ","simpleString":"FileScan csv [id#0L,registration_date#4] Batched: false, DataFilters: [], Format: CSV, Location: InMemoryFileIndex(1 paths)[s3a://apavlovets-bucket/raw/users.csv], PartitionFilters: [], PushedFilters: [], ReadSchema: struct","children":[],"metadata":{"Location":"InMemoryFileIndex(1 paths)[s3a://apavlovets-bucket/raw/users.csv]","ReadSchema":"struct","Format":"CSV","Batched":"false","PartitionFilters":"[]","PushedFilters":"[]","DataFilters":"[]"},"metrics":[{"name":"number of output rows","accumulatorId":1179,"metricType":"sum"},{"name":"number of files read","accumulatorId":1180,"metricType":"sum"},{"name":"metadata time","accumulatorId":1181,"metricType":"timing"},{"name":"size of files read","accumulatorId":1182,"metricType":"size"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[]},{"nodeName":"InputAdapter","simpleString":"InputAdapter","children":[{"nodeName":"BroadcastQueryStage","simpleString":"BroadcastQueryStage 0","children":[{"nodeName":"BroadcastExchange","simpleString":"BroadcastExchange HashedRelationBroadcastMode(List(input[0, bigint, false]),false), [plan_id=213]","children":[{"nodeName":"WholeStageCodegen (1)","simpleString":"WholeStageCodegen (1)","children":[{"nodeName":"Filter","simpleString":"Filter isnotnull(id#53L)","children":[{"nodeName":"InputAdapter","simpleString":"InputAdapter","children":[{"nodeName":"Scan csv ","simpleString":"FileScan csv [id#53L,registration_date#57] Batched: false, DataFilters: [isnotnull(id#53L)], Format: CSV, Location: InMemoryFileIndex(1 paths)[s3a://apavlovets-bucket/raw/users.csv], PartitionFilters: [], PushedFilters: [IsNotNull(id)], ReadSchema: struct","children":[],"metadata":{"Location":"InMemoryFileIndex(1 paths)[s3a://apavlovets-bucket/raw/users.csv]","ReadSchema":"struct","Format":"CSV","Batched":"false","PartitionFilters":"[]","PushedFilters":"[IsNotNull(id)]","DataFilters":"[isnotnull(id#53L)]"},"metrics":[{"name":"number of output rows","accumulatorId":114,"metricType":"sum"},{"name":"number of files read","accumulatorId":115,"metricType":"sum"},{"name":"metadata time","accumulatorId":116,"metricType":"timing"},{"name":"size of files read","accumulatorId":117,"metricType":"size"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"number of output rows","accumulatorId":343,"metricType":"sum"}]}],"metadata":{},"metrics":[{"name":"duration","accumulatorId":342,"metricType":"timing"}]}],"metadata":{},"metrics":[{"name":"time to broadcast","accumulatorId":341,"metricType":"timing"},{"name":"time to build","accumulatorId":340,"metricType":"timing"},{"name":"time to collect","accumulatorId":339,"metricType":"timing"},{"name":"number of output rows","accumulatorId":338,"metricType":"sum"},{"name":"data size","accumulatorId":337,"metricType":"size"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"number of output rows","accumulatorId":1178,"metricType":"sum"}]}],"metadata":{},"metrics":[]},{"nodeName":"InputAdapter","simpleString":"InputAdapter","children":[{"nodeName":"BroadcastQueryStage","simpleString":"BroadcastQueryStage 5","children":[{"nodeName":"BroadcastExchange","simpleString":"BroadcastExchange HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=700]","children":[{"nodeName":"WholeStageCodegen (6)","simpleString":"WholeStageCodegen (6)","children":[{"nodeName":"HashAggregate","simpleString":"HashAggregate(keys=[user_id#11L], functions=[count(distinct course_id#12L)])","children":[{"nodeName":"InputAdapter","simpleString":"InputAdapter","children":[{"nodeName":"AQEShuffleRead","simpleString":"AQEShuffleRead coalesced","children":[{"nodeName":"ShuffleQueryStage","simpleString":"ShuffleQueryStage 4","children":[{"nodeName":"Exchange","simpleString":"Exchange hashpartitioning(user_id#11L, 200), ENSURE_REQUIREMENTS, [plan_id=507]","children":[{"nodeName":"WholeStageCodegen (5)","simpleString":"WholeStageCodegen (5)","children":[{"nodeName":"HashAggregate","simpleString":"HashAggregate(keys=[user_id#11L], functions=[partial_count(distinct course_id#12L)])","children":[{"nodeName":"HashAggregate","simpleString":"HashAggregate(keys=[user_id#11L, course_id#12L], functions=[])","children":[{"nodeName":"InputAdapter","simpleString":"InputAdapter","children":[{"nodeName":"AQEShuffleRead","simpleString":"AQEShuffleRead coalesced","children":[{"nodeName":"ShuffleQueryStage","simpleString":"ShuffleQueryStage 1","children":[{"nodeName":"Exchange","simpleString":"Exchange hashpartitioning(user_id#11L, course_id#12L, 200), ENSURE_REQUIREMENTS, [plan_id=226]","children":[{"nodeName":"WholeStageCodegen (2)","simpleString":"WholeStageCodegen (2)","children":[{"nodeName":"HashAggregate","simpleString":"HashAggregate(keys=[user_id#11L, course_id#12L], functions=[])","children":[{"nodeName":"Filter","simpleString":"Filter isnotnull(user_id#11L)","children":[{"nodeName":"InputAdapter","simpleString":"InputAdapter","children":[{"nodeName":"Scan csv ","simpleString":"FileScan csv [user_id#11L,course_id#12L] Batched: false, DataFilters: [isnotnull(user_id#11L)], Format: CSV, Location: InMemoryFileIndex(1 paths)[s3a://apavlovets-bucket/raw/enrollments.csv], PartitionFilters: [], PushedFilters: [IsNotNull(user_id)], ReadSchema: struct","children":[],"metadata":{"Location":"InMemoryFileIndex(1 paths)[s3a://apavlovets-bucket/raw/enrollments.csv]","ReadSchema":"struct","Format":"CSV","Batched":"false","PartitionFilters":"[]","PushedFilters":"[IsNotNull(user_id)]","DataFilters":"[isnotnull(user_id#11L)]"},"metrics":[{"name":"number of output rows","accumulatorId":192,"metricType":"sum"},{"name":"number of files read","accumulatorId":193,"metricType":"sum"},{"name":"metadata time","accumulatorId":194,"metricType":"timing"},{"name":"size of files read","accumulatorId":195,"metricType":"size"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"number of output rows","accumulatorId":418,"metricType":"sum"}]}],"metadata":{},"metrics":[{"name":"spill size","accumulatorId":414,"metricType":"size"},{"name":"time in aggregation build","accumulatorId":415,"metricType":"timing"},{"name":"peak memory","accumulatorId":413,"metricType":"size"},{"name":"number of output rows","accumulatorId":412,"metricType":"sum"},{"name":"number of sort fallback tasks","accumulatorId":417,"metricType":"sum"},{"name":"avg hash probes per key","accumulatorId":416,"metricType":"average"}]}],"metadata":{},"metrics":[{"name":"duration","accumulatorId":411,"metricType":"timing"}]}],"metadata":{},"metrics":[{"name":"shuffle records written","accumulatorId":409,"metricType":"sum"},{"name":"local merged chunks fetched","accumulatorId":403,"metricType":"sum"},{"name":"shuffle write time","accumulatorId":410,"metricType":"nsTiming"},{"name":"remote merged bytes read","accumulatorId":404,"metricType":"size"},{"name":"local merged blocks fetched","accumulatorId":401,"metricType":"sum"},{"name":"corrupt merged block chunks","accumulatorId":398,"metricType":"sum"},{"name":"remote merged reqs duration","accumulatorId":407,"metricType":"timing"},{"name":"remote merged blocks fetched","accumulatorId":400,"metricType":"sum"},{"name":"records read","accumulatorId":397,"metricType":"sum"},{"name":"local bytes read","accumulatorId":395,"metricType":"size"},{"name":"fetch wait time","accumulatorId":396,"metricType":"timing"},{"name":"remote bytes read","accumulatorId":393,"metricType":"size"},{"name":"merged fetch fallback count","accumulatorId":399,"metricType":"sum"},{"name":"local blocks read","accumulatorId":392,"metricType":"sum"},{"name":"remote merged chunks fetched","accumulatorId":402,"metricType":"sum"},{"name":"remote blocks read","accumulatorId":391,"metricType":"sum"},{"name":"data size","accumulatorId":389,"metricType":"size"},{"name":"local merged bytes read","accumulatorId":405,"metricType":"size"},{"name":"number of partitions","accumulatorId":390,"metricType":"sum"},{"name":"remote reqs duration","accumulatorId":406,"metricType":"timing"},{"name":"remote bytes read to disk","accumulatorId":394,"metricType":"size"},{"name":"shuffle bytes written","accumulatorId":408,"metricType":"size"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"number of partitions","accumulatorId":845,"metricType":"sum"},{"name":"partition data size","accumulatorId":846,"metricType":"size"},{"name":"number of coalesced partitions","accumulatorId":847,"metricType":"sum"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"spill size","accumulatorId":841,"metricType":"size"},{"name":"time in aggregation build","accumulatorId":842,"metricType":"timing"},{"name":"peak memory","accumulatorId":840,"metricType":"size"},{"name":"number of output rows","accumulatorId":839,"metricType":"sum"},{"name":"number of sort fallback tasks","accumulatorId":844,"metricType":"sum"},{"name":"avg hash probes per key","accumulatorId":843,"metricType":"average"}]}],"metadata":{},"metrics":[{"name":"spill size","accumulatorId":835,"metricType":"size"},{"name":"time in aggregation build","accumulatorId":836,"metricType":"timing"},{"name":"peak memory","accumulatorId":834,"metricType":"size"},{"name":"number of output rows","accumulatorId":833,"metricType":"sum"},{"name":"number of sort fallback tasks","accumulatorId":838,"metricType":"sum"},{"name":"avg hash probes per key","accumulatorId":837,"metricType":"average"}]}],"metadata":{},"metrics":[{"name":"duration","accumulatorId":832,"metricType":"timing"}]}],"metadata":{},"metrics":[{"name":"shuffle records written","accumulatorId":830,"metricType":"sum"},{"name":"local merged chunks fetched","accumulatorId":824,"metricType":"sum"},{"name":"shuffle write time","accumulatorId":831,"metricType":"nsTiming"},{"name":"remote merged bytes read","accumulatorId":825,"metricType":"size"},{"name":"local merged blocks fetched","accumulatorId":822,"metricType":"sum"},{"name":"corrupt merged block chunks","accumulatorId":819,"metricType":"sum"},{"name":"remote merged reqs duration","accumulatorId":828,"metricType":"timing"},{"name":"remote merged blocks fetched","accumulatorId":821,"metricType":"sum"},{"name":"records read","accumulatorId":818,"metricType":"sum"},{"name":"local bytes read","accumulatorId":816,"metricType":"size"},{"name":"fetch wait time","accumulatorId":817,"metricType":"timing"},{"name":"remote bytes read","accumulatorId":814,"metricType":"size"},{"name":"merged fetch fallback count","accumulatorId":820,"metricType":"sum"},{"name":"local blocks read","accumulatorId":813,"metricType":"sum"},{"name":"remote merged chunks fetched","accumulatorId":823,"metricType":"sum"},{"name":"remote blocks read","accumulatorId":812,"metricType":"sum"},{"name":"data size","accumulatorId":810,"metricType":"size"},{"name":"local merged bytes read","accumulatorId":826,"metricType":"size"},{"name":"number of partitions","accumulatorId":811,"metricType":"sum"},{"name":"remote reqs duration","accumulatorId":827,"metricType":"timing"},{"name":"remote bytes read to disk","accumulatorId":815,"metricType":"size"},{"name":"shuffle bytes written","accumulatorId":829,"metricType":"size"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"number of partitions","accumulatorId":1037,"metricType":"sum"},{"name":"partition data size","accumulatorId":1038,"metricType":"size"},{"name":"number of coalesced partitions","accumulatorId":1039,"metricType":"sum"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"spill size","accumulatorId":1033,"metricType":"size"},{"name":"time in aggregation build","accumulatorId":1034,"metricType":"timing"},{"name":"peak memory","accumulatorId":1032,"metricType":"size"},{"name":"number of output rows","accumulatorId":1031,"metricType":"sum"},{"name":"number of sort fallback tasks","accumulatorId":1036,"metricType":"sum"},{"name":"avg hash probes per key","accumulatorId":1035,"metricType":"average"}]}],"metadata":{},"metrics":[{"name":"duration","accumulatorId":1030,"metricType":"timing"}]}],"metadata":{},"metrics":[{"name":"time to broadcast","accumulatorId":1029,"metricType":"timing"},{"name":"time to build","accumulatorId":1028,"metricType":"timing"},{"name":"time to collect","accumulatorId":1027,"metricType":"timing"},{"name":"number of output rows","accumulatorId":1026,"metricType":"sum"},{"name":"data size","accumulatorId":1025,"metricType":"size"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"number of output rows","accumulatorId":1177,"metricType":"sum"}]},{"nodeName":"InputAdapter","simpleString":"InputAdapter","children":[{"nodeName":"BroadcastQueryStage","simpleString":"BroadcastQueryStage 3","children":[{"nodeName":"BroadcastExchange","simpleString":"BroadcastExchange HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=384]","children":[{"nodeName":"WholeStageCodegen (4)","simpleString":"WholeStageCodegen (4)","children":[{"nodeName":"HashAggregate","simpleString":"HashAggregate(keys=[user_id#19L], functions=[min(viewed_at#21)])","children":[{"nodeName":"InputAdapter","simpleString":"InputAdapter","children":[{"nodeName":"AQEShuffleRead","simpleString":"AQEShuffleRead coalesced","children":[{"nodeName":"ShuffleQueryStage","simpleString":"ShuffleQueryStage 2","children":[{"nodeName":"Exchange","simpleString":"Exchange hashpartitioning(user_id#19L, 200), ENSURE_REQUIREMENTS, [plan_id=246]","children":[{"nodeName":"WholeStageCodegen (3)","simpleString":"WholeStageCodegen (3)","children":[{"nodeName":"HashAggregate","simpleString":"HashAggregate(keys=[user_id#19L], functions=[partial_min(viewed_at#21)])","children":[{"nodeName":"Filter","simpleString":"Filter isnotnull(user_id#19L)","children":[{"nodeName":"InputAdapter","simpleString":"InputAdapter","children":[{"nodeName":"Scan csv ","simpleString":"FileScan csv [user_id#19L,viewed_at#21] Batched: false, DataFilters: [isnotnull(user_id#19L)], Format: CSV, Location: InMemoryFileIndex(1 paths)[s3a://apavlovets-bucket/raw/lesson_views.csv], PartitionFilters: [], PushedFilters: [IsNotNull(user_id)], ReadSchema: struct","children":[],"metadata":{"Location":"InMemoryFileIndex(1 paths)[s3a://apavlovets-bucket/raw/lesson_views.csv]","ReadSchema":"struct","Format":"CSV","Batched":"false","PartitionFilters":"[]","PushedFilters":"[IsNotNull(user_id)]","DataFilters":"[isnotnull(user_id#19L)]"},"metrics":[{"name":"number of output rows","accumulatorId":236,"metricType":"sum"},{"name":"number of files read","accumulatorId":237,"metricType":"sum"},{"name":"metadata time","accumulatorId":238,"metricType":"timing"},{"name":"size of files read","accumulatorId":239,"metricType":"size"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"number of output rows","accumulatorId":459,"metricType":"sum"}]}],"metadata":{},"metrics":[{"name":"spill size","accumulatorId":455,"metricType":"size"},{"name":"time in aggregation build","accumulatorId":456,"metricType":"timing"},{"name":"peak memory","accumulatorId":454,"metricType":"size"},{"name":"number of output rows","accumulatorId":453,"metricType":"sum"},{"name":"number of sort fallback tasks","accumulatorId":458,"metricType":"sum"},{"name":"avg hash probes per key","accumulatorId":457,"metricType":"average"}]}],"metadata":{},"metrics":[{"name":"duration","accumulatorId":452,"metricType":"timing"}]}],"metadata":{},"metrics":[{"name":"shuffle records written","accumulatorId":450,"metricType":"sum"},{"name":"local merged chunks fetched","accumulatorId":444,"metricType":"sum"},{"name":"shuffle write time","accumulatorId":451,"metricType":"nsTiming"},{"name":"remote merged bytes read","accumulatorId":445,"metricType":"size"},{"name":"local merged blocks fetched","accumulatorId":442,"metricType":"sum"},{"name":"corrupt merged block chunks","accumulatorId":439,"metricType":"sum"},{"name":"remote merged reqs duration","accumulatorId":448,"metricType":"timing"},{"name":"remote merged blocks fetched","accumulatorId":441,"metricType":"sum"},{"name":"records read","accumulatorId":438,"metricType":"sum"},{"name":"local bytes read","accumulatorId":436,"metricType":"size"},{"name":"fetch wait time","accumulatorId":437,"metricType":"timing"},{"name":"remote bytes read","accumulatorId":434,"metricType":"size"},{"name":"merged fetch fallback count","accumulatorId":440,"metricType":"sum"},{"name":"local blocks read","accumulatorId":433,"metricType":"sum"},{"name":"remote merged chunks fetched","accumulatorId":443,"metricType":"sum"},{"name":"remote blocks read","accumulatorId":432,"metricType":"sum"},{"name":"data size","accumulatorId":430,"metricType":"size"},{"name":"local merged bytes read","accumulatorId":446,"metricType":"size"},{"name":"number of partitions","accumulatorId":431,"metricType":"sum"},{"name":"remote reqs duration","accumulatorId":447,"metricType":"timing"},{"name":"remote bytes read to disk","accumulatorId":435,"metricType":"size"},{"name":"shuffle bytes written","accumulatorId":449,"metricType":"size"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"number of partitions","accumulatorId":689,"metricType":"sum"},{"name":"partition data size","accumulatorId":690,"metricType":"size"},{"name":"number of coalesced partitions","accumulatorId":691,"metricType":"sum"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"spill size","accumulatorId":685,"metricType":"size"},{"name":"time in aggregation build","accumulatorId":686,"metricType":"timing"},{"name":"peak memory","accumulatorId":684,"metricType":"size"},{"name":"number of output rows","accumulatorId":683,"metricType":"sum"},{"name":"number of sort fallback tasks","accumulatorId":688,"metricType":"sum"},{"name":"avg hash probes per key","accumulatorId":687,"metricType":"average"}]}],"metadata":{},"metrics":[{"name":"duration","accumulatorId":682,"metricType":"timing"}]}],"metadata":{},"metrics":[{"name":"time to broadcast","accumulatorId":681,"metricType":"timing"},{"name":"time to build","accumulatorId":680,"metricType":"timing"},{"name":"time to collect","accumulatorId":679,"metricType":"timing"},{"name":"number of output rows","accumulatorId":678,"metricType":"sum"},{"name":"data size","accumulatorId":677,"metricType":"size"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"number of output rows","accumulatorId":1176,"metricType":"sum"}]}],"metadata":{},"metrics":[{"name":"number of output rows","accumulatorId":1175,"metricType":"sum"}]}],"metadata":{},"metrics":[{"name":"spill size","accumulatorId":1171,"metricType":"size"},{"name":"time in aggregation build","accumulatorId":1172,"metricType":"timing"},{"name":"peak memory","accumulatorId":1170,"metricType":"size"},{"name":"number of output rows","accumulatorId":1169,"metricType":"sum"},{"name":"number of sort fallback tasks","accumulatorId":1174,"metricType":"sum"},{"name":"avg hash probes per key","accumulatorId":1173,"metricType":"average"}]}],"metadata":{},"metrics":[{"name":"duration","accumulatorId":1168,"metricType":"timing"}]}],"metadata":{},"metrics":[{"name":"shuffle records written","accumulatorId":1166,"metricType":"sum"},{"name":"local merged chunks fetched","accumulatorId":1160,"metricType":"sum"},{"name":"shuffle write time","accumulatorId":1167,"metricType":"nsTiming"},{"name":"remote merged bytes read","accumulatorId":1161,"metricType":"size"},{"name":"local merged blocks fetched","accumulatorId":1158,"metricType":"sum"},{"name":"corrupt merged block chunks","accumulatorId":1155,"metricType":"sum"},{"name":"remote merged reqs duration","accumulatorId":1164,"metricType":"timing"},{"name":"remote merged blocks fetched","accumulatorId":1157,"metricType":"sum"},{"name":"records read","accumulatorId":1154,"metricType":"sum"},{"name":"local bytes read","accumulatorId":1152,"metricType":"size"},{"name":"fetch wait time","accumulatorId":1153,"metricType":"timing"},{"name":"remote bytes read","accumulatorId":1150,"metricType":"size"},{"name":"merged fetch fallback count","accumulatorId":1156,"metricType":"sum"},{"name":"local blocks read","accumulatorId":1149,"metricType":"sum"},{"name":"remote merged chunks fetched","accumulatorId":1159,"metricType":"sum"},{"name":"remote blocks read","accumulatorId":1148,"metricType":"sum"},{"name":"data size","accumulatorId":1146,"metricType":"size"},{"name":"local merged bytes read","accumulatorId":1162,"metricType":"size"},{"name":"number of partitions","accumulatorId":1147,"metricType":"sum"},{"name":"remote reqs duration","accumulatorId":1163,"metricType":"timing"},{"name":"remote bytes read to disk","accumulatorId":1151,"metricType":"size"},{"name":"shuffle bytes written","accumulatorId":1165,"metricType":"size"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"number of partitions","accumulatorId":1290,"metricType":"sum"},{"name":"partition data size","accumulatorId":1291,"metricType":"size"},{"name":"number of coalesced partitions","accumulatorId":1292,"metricType":"sum"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"spill size","accumulatorId":1286,"metricType":"size"},{"name":"time in aggregation build","accumulatorId":1287,"metricType":"timing"},{"name":"peak memory","accumulatorId":1285,"metricType":"size"},{"name":"number of output rows","accumulatorId":1284,"metricType":"sum"},{"name":"number of sort fallback tasks","accumulatorId":1289,"metricType":"sum"},{"name":"avg hash probes per key","accumulatorId":1288,"metricType":"average"}]}],"metadata":{},"metrics":[{"name":"spill size","accumulatorId":1280,"metricType":"size"},{"name":"time in aggregation build","accumulatorId":1281,"metricType":"timing"},{"name":"peak memory","accumulatorId":1279,"metricType":"size"},{"name":"number of output rows","accumulatorId":1278,"metricType":"sum"},{"name":"number of sort fallback tasks","accumulatorId":1283,"metricType":"sum"},{"name":"avg hash probes per key","accumulatorId":1282,"metricType":"average"}]}],"metadata":{},"metrics":[{"name":"duration","accumulatorId":1277,"metricType":"timing"}]}],"metadata":{},"metrics":[{"name":"shuffle records written","accumulatorId":1275,"metricType":"sum"},{"name":"local merged chunks fetched","accumulatorId":1269,"metricType":"sum"},{"name":"shuffle write time","accumulatorId":1276,"metricType":"nsTiming"},{"name":"remote merged bytes read","accumulatorId":1270,"metricType":"size"},{"name":"local merged blocks fetched","accumulatorId":1267,"metricType":"sum"},{"name":"corrupt merged block chunks","accumulatorId":1264,"metricType":"sum"},{"name":"remote merged reqs duration","accumulatorId":1273,"metricType":"timing"},{"name":"remote merged blocks fetched","accumulatorId":1266,"metricType":"sum"},{"name":"records read","accumulatorId":1263,"metricType":"sum"},{"name":"local bytes read","accumulatorId":1261,"metricType":"size"},{"name":"fetch wait time","accumulatorId":1262,"metricType":"timing"},{"name":"remote bytes read","accumulatorId":1259,"metricType":"size"},{"name":"merged fetch fallback count","accumulatorId":1265,"metricType":"sum"},{"name":"local blocks read","accumulatorId":1258,"metricType":"sum"},{"name":"remote merged chunks fetched","accumulatorId":1268,"metricType":"sum"},{"name":"remote blocks read","accumulatorId":1257,"metricType":"sum"},{"name":"data size","accumulatorId":1255,"metricType":"size"},{"name":"local merged bytes read","accumulatorId":1271,"metricType":"size"},{"name":"number of partitions","accumulatorId":1256,"metricType":"sum"},{"name":"remote reqs duration","accumulatorId":1272,"metricType":"timing"},{"name":"remote bytes read to disk","accumulatorId":1260,"metricType":"size"},{"name":"shuffle bytes written","accumulatorId":1274,"metricType":"size"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"number of partitions","accumulatorId":1366,"metricType":"sum"},{"name":"partition data size","accumulatorId":1367,"metricType":"size"},{"name":"number of coalesced partitions","accumulatorId":1368,"metricType":"sum"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"spill size","accumulatorId":1362,"metricType":"size"},{"name":"time in aggregation build","accumulatorId":1363,"metricType":"timing"},{"name":"peak memory","accumulatorId":1361,"metricType":"size"},{"name":"number of output rows","accumulatorId":1360,"metricType":"sum"},{"name":"number of sort fallback tasks","accumulatorId":1365,"metricType":"sum"},{"name":"avg hash probes per key","accumulatorId":1364,"metricType":"average"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"duration","accumulatorId":1359,"metricType":"timing"}]}],"metadata":{},"metrics":[{"name":"shuffle records written","accumulatorId":1357,"metricType":"sum"},{"name":"local merged chunks fetched","accumulatorId":1351,"metricType":"sum"},{"name":"shuffle write time","accumulatorId":1358,"metricType":"nsTiming"},{"name":"remote merged bytes read","accumulatorId":1352,"metricType":"size"},{"name":"local merged blocks fetched","accumulatorId":1349,"metricType":"sum"},{"name":"corrupt merged block chunks","accumulatorId":1346,"metricType":"sum"},{"name":"remote merged reqs duration","accumulatorId":1355,"metricType":"timing"},{"name":"remote merged blocks fetched","accumulatorId":1348,"metricType":"sum"},{"name":"records read","accumulatorId":1345,"metricType":"sum"},{"name":"local bytes read","accumulatorId":1343,"metricType":"size"},{"name":"fetch wait time","accumulatorId":1344,"metricType":"timing"},{"name":"remote bytes read","accumulatorId":1341,"metricType":"size"},{"name":"merged fetch fallback count","accumulatorId":1347,"metricType":"sum"},{"name":"local blocks read","accumulatorId":1340,"metricType":"sum"},{"name":"remote merged chunks fetched","accumulatorId":1350,"metricType":"sum"},{"name":"remote blocks read","accumulatorId":1339,"metricType":"sum"},{"name":"data size","accumulatorId":1337,"metricType":"size"},{"name":"local merged bytes read","accumulatorId":1353,"metricType":"size"},{"name":"number of partitions","accumulatorId":1338,"metricType":"sum"},{"name":"remote reqs duration","accumulatorId":1354,"metricType":"timing"},{"name":"remote bytes read to disk","accumulatorId":1342,"metricType":"size"},{"name":"shuffle bytes written","accumulatorId":1356,"metricType":"size"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"sort time","accumulatorId":1334,"metricType":"timing"},{"name":"peak memory","accumulatorId":1335,"metricType":"size"},{"name":"spill size","accumulatorId":1336,"metricType":"size"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"task commit time","accumulatorId":1332,"metricType":"timing"},{"name":"number of written files","accumulatorId":1328,"metricType":"sum"},{"name":"job commit time","accumulatorId":1333,"metricType":"timing"},{"name":"number of output rows","accumulatorId":1330,"metricType":"sum"},{"name":"number of dynamic part","accumulatorId":1331,"metricType":"sum"},{"name":"written output","accumulatorId":1329,"metricType":"size"}]}],"metadata":{},"metrics":[]}} {"Event":"org.apache.spark.sql.execution.ui.SparkListenerDriverAccumUpdates","executionId":0,"accumUpdates":[[1366,1],[1368,1],[1367,379]]} {"Event":"SparkListenerJobStart","Job ID":8,"Submission Time":1784546406593,"Stage Infos":[{"Stage ID":15,"Stage Attempt ID":0,"Stage Name":"parquet at NativeMethodAccessorImpl.java:0","Number of Tasks":1,"RDD Info":[{"RDD ID":32,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"77\",\"name\":\"Exchange\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[31],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"UNORDERED","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":28,"Name":"ShuffledRowRDD","Scope":"{\"id\":\"82\",\"name\":\"AQEShuffleRead\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[27],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"UNORDERED","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":29,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"78\",\"name\":\"WholeStageCodegen (9)\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[28],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"UNORDERED","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":31,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"77\",\"name\":\"Exchange\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[30],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"UNORDERED","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":30,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"77\",\"name\":\"Exchange\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[29],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"UNORDERED","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0}],"Parent IDs":[14],"Details":"org.apache.spark.sql.DataFrameWriter.parquet(DataFrameWriter.scala:792)\njava.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\njava.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)\njava.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\njava.base/java.lang.reflect.Method.invoke(Method.java:569)\npy4j.reflection.MethodInvoker.invoke(MethodInvoker.java:244)\npy4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:374)\npy4j.Gateway.invoke(Gateway.java:282)\npy4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:132)\npy4j.commands.CallCommand.execute(CallCommand.java:79)\npy4j.ClientServerConnection.waitForCommands(ClientServerConnection.java:182)\npy4j.ClientServerConnection.run(ClientServerConnection.java:106)\njava.base/java.lang.Thread.run(Thread.java:840)","Accumulables":[],"Resource Profile Id":0,"Shuffle Push Enabled":false,"Shuffle Push Mergers Count":0},{"Stage ID":13,"Stage Attempt ID":0,"Stage Name":"parquet at NativeMethodAccessorImpl.java:0","Number of Tasks":1,"RDD Info":[{"RDD ID":24,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"54\",\"name\":\"Exchange\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[23],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"DETERMINATE","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":22,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"70\",\"name\":\"Scan csv \"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[21],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"DETERMINATE","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":23,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"55\",\"name\":\"WholeStageCodegen (7)\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[22],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"DETERMINATE","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":21,"Name":"FileScanRDD","Scope":"{\"id\":\"70\",\"name\":\"Scan csv \"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"DETERMINATE","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0}],"Parent IDs":[],"Details":"org.apache.spark.sql.DataFrameWriter.parquet(DataFrameWriter.scala:792)\njava.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\njava.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)\njava.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\njava.base/java.lang.reflect.Method.invoke(Method.java:569)\npy4j.reflection.MethodInvoker.invoke(MethodInvoker.java:244)\npy4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:374)\npy4j.Gateway.invoke(Gateway.java:282)\npy4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:132)\npy4j.commands.CallCommand.execute(CallCommand.java:79)\npy4j.ClientServerConnection.waitForCommands(ClientServerConnection.java:182)\npy4j.ClientServerConnection.run(ClientServerConnection.java:106)\njava.base/java.lang.Thread.run(Thread.java:840)","Accumulables":[],"Resource Profile Id":0,"Shuffle Push Enabled":false,"Shuffle Push Mergers Count":0},{"Stage ID":14,"Stage Attempt ID":0,"Stage Name":"parquet at NativeMethodAccessorImpl.java:0","Number of Tasks":1,"RDD Info":[{"RDD ID":27,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"71\",\"name\":\"Exchange\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[26],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"UNORDERED","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":26,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"72\",\"name\":\"WholeStageCodegen (8)\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[25],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"UNORDERED","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":25,"Name":"ShuffledRowRDD","Scope":"{\"id\":\"76\",\"name\":\"AQEShuffleRead\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[24],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"UNORDERED","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0}],"Parent IDs":[13],"Details":"org.apache.spark.sql.DataFrameWriter.parquet(DataFrameWriter.scala:792)\njava.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\njava.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)\njava.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\njava.base/java.lang.reflect.Method.invoke(Method.java:569)\npy4j.reflection.MethodInvoker.invoke(MethodInvoker.java:244)\npy4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:374)\npy4j.Gateway.invoke(Gateway.java:282)\npy4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:132)\npy4j.commands.CallCommand.execute(CallCommand.java:79)\npy4j.ClientServerConnection.waitForCommands(ClientServerConnection.java:182)\npy4j.ClientServerConnection.run(ClientServerConnection.java:106)\njava.base/java.lang.Thread.run(Thread.java:840)","Accumulables":[],"Resource Profile Id":0,"Shuffle Push Enabled":false,"Shuffle Push Mergers Count":0}],"Stage IDs":[15,13,14],"Properties":{"spark.driver.port":"34351","spark.submit.pyFiles":"","spark.app.startTime":"1784546379461","spark.rdd.scope":"{\"id\":\"77\",\"name\":\"Exchange\"}","spark.hadoop.fs.s3a.endpoint":"http://minio:9000","spark.rdd.compress":"True","spark.hadoop.fs.s3a.impl":"org.apache.hadoop.fs.s3a.S3AFileSystem","spark.app.submitTime":"1784546378209","spark.eventLog.dir":"file:/opt/spark-events","spark.hadoop.fs.s3a.aws.credentials.provider":"org.apache.hadoop.fs.s3a.SimpleAWSCredentialsProvider","spark.sql.execution.id":"0","spark.sql.warehouse.dir":"file:/opt/airflow/spark-warehouse","spark.rdd.scope.noOverride":"true","spark.master":"spark://spark-master:7077","spark.hadoop.fs.s3a.secret.key":"*********(redacted)","spark.executor.id":"driver","spark.app.name":"dm_user_cohort_analysis","spark.hadoop.fs.s3a.access.key":"*********(redacted)","spark.submit.deployMode":"client","spark.hadoop.fs.s3a.path.style.access":"true","spark.driver.host":"73850a3d530b","spark.app.id":"app-20260720151940-0099","spark.eventLog.compress":"true","spark.eventLog.enabled":"true","__fetch_continuous_blocks_in_batch_enabled":"true","spark.executor.extraJavaOptions":"-Djava.net.preferIPv6Addresses=false -XX:+IgnoreUnrecognizedVMOptions --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.base/sun.nio.cs=ALL-UNNAMED --add-opens=java.base/sun.security.action=ALL-UNNAMED --add-opens=java.base/sun.util.calendar=ALL-UNNAMED --add-opens=java.security.jgss/sun.security.krb5=ALL-UNNAMED -Djdk.reflect.useDirectMethodHandle=false","spark.sql.execution.root.id":"0","spark.hadoop.fs.s3a.connection.ssl.enabled":"false","spark.serializer.objectStreamReset":"100","spark.driver.extraJavaOptions":"-Djava.net.preferIPv6Addresses=false -XX:+IgnoreUnrecognizedVMOptions --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.base/sun.nio.cs=ALL-UNNAMED --add-opens=java.base/sun.security.action=ALL-UNNAMED --add-opens=java.base/sun.util.calendar=ALL-UNNAMED --add-opens=java.security.jgss/sun.security.krb5=ALL-UNNAMED -Djdk.reflect.useDirectMethodHandle=false"}} {"Event":"SparkListenerStageSubmitted","Stage Info":{"Stage ID":15,"Stage Attempt ID":0,"Stage Name":"parquet at NativeMethodAccessorImpl.java:0","Number of Tasks":1,"RDD Info":[{"RDD ID":32,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"77\",\"name\":\"Exchange\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[31],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"UNORDERED","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":28,"Name":"ShuffledRowRDD","Scope":"{\"id\":\"82\",\"name\":\"AQEShuffleRead\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[27],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"UNORDERED","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":29,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"78\",\"name\":\"WholeStageCodegen (9)\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[28],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"UNORDERED","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":31,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"77\",\"name\":\"Exchange\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[30],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"UNORDERED","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":30,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"77\",\"name\":\"Exchange\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[29],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"UNORDERED","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0}],"Parent IDs":[14],"Details":"org.apache.spark.sql.DataFrameWriter.parquet(DataFrameWriter.scala:792)\njava.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\njava.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)\njava.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\njava.base/java.lang.reflect.Method.invoke(Method.java:569)\npy4j.reflection.MethodInvoker.invoke(MethodInvoker.java:244)\npy4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:374)\npy4j.Gateway.invoke(Gateway.java:282)\npy4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:132)\npy4j.commands.CallCommand.execute(CallCommand.java:79)\npy4j.ClientServerConnection.waitForCommands(ClientServerConnection.java:182)\npy4j.ClientServerConnection.run(ClientServerConnection.java:106)\njava.base/java.lang.Thread.run(Thread.java:840)","Submission Time":1784546406595,"Accumulables":[],"Resource Profile Id":0,"Shuffle Push Enabled":false,"Shuffle Push Mergers Count":0},"Properties":{"spark.driver.port":"34351","spark.submit.pyFiles":"","spark.app.startTime":"1784546379461","spark.rdd.scope":"{\"id\":\"77\",\"name\":\"Exchange\"}","spark.hadoop.fs.s3a.endpoint":"http://minio:9000","spark.rdd.compress":"True","spark.hadoop.fs.s3a.impl":"org.apache.hadoop.fs.s3a.S3AFileSystem","spark.app.submitTime":"1784546378209","spark.eventLog.dir":"file:/opt/spark-events","spark.hadoop.fs.s3a.aws.credentials.provider":"org.apache.hadoop.fs.s3a.SimpleAWSCredentialsProvider","spark.sql.execution.id":"0","spark.sql.warehouse.dir":"file:/opt/airflow/spark-warehouse","spark.rdd.scope.noOverride":"true","spark.master":"spark://spark-master:7077","spark.hadoop.fs.s3a.secret.key":"*********(redacted)","spark.executor.id":"driver","spark.app.name":"dm_user_cohort_analysis","spark.hadoop.fs.s3a.access.key":"*********(redacted)","spark.submit.deployMode":"client","spark.hadoop.fs.s3a.path.style.access":"true","spark.driver.host":"73850a3d530b","spark.app.id":"app-20260720151940-0099","spark.eventLog.compress":"true","spark.eventLog.enabled":"true","__fetch_continuous_blocks_in_batch_enabled":"true","spark.executor.extraJavaOptions":"-Djava.net.preferIPv6Addresses=false -XX:+IgnoreUnrecognizedVMOptions --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.base/sun.nio.cs=ALL-UNNAMED --add-opens=java.base/sun.security.action=ALL-UNNAMED --add-opens=java.base/sun.util.calendar=ALL-UNNAMED --add-opens=java.security.jgss/sun.security.krb5=ALL-UNNAMED -Djdk.reflect.useDirectMethodHandle=false","spark.sql.execution.root.id":"0","spark.hadoop.fs.s3a.connection.ssl.enabled":"false","spark.serializer.objectStreamReset":"100","spark.driver.extraJavaOptions":"-Djava.net.preferIPv6Addresses=false -XX:+IgnoreUnrecognizedVMOptions --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.base/sun.nio.cs=ALL-UNNAMED --add-opens=java.base/sun.security.action=ALL-UNNAMED --add-opens=java.base/sun.util.calendar=ALL-UNNAMED --add-opens=java.security.jgss/sun.security.krb5=ALL-UNNAMED -Djdk.reflect.useDirectMethodHandle=false"}} {"Event":"SparkListenerTaskStart","Stage ID":15,"Stage Attempt ID":0,"Task Info":{"Task ID":8,"Index":0,"Attempt":0,"Partition ID":0,"Launch Time":1784546406608,"Executor ID":"0","Host":"172.28.0.49","Locality":"NODE_LOCAL","Speculative":false,"Getting Result Time":0,"Finish Time":0,"Failed":false,"Killed":false,"Accumulables":[]}} {"Event":"SparkListenerTaskEnd","Stage ID":15,"Stage Attempt ID":0,"Task Type":"ResultTask","Task End Reason":{"Reason":"Success"},"Task Info":{"Task ID":8,"Index":0,"Attempt":0,"Partition ID":0,"Launch Time":1784546406608,"Executor ID":"0","Host":"172.28.0.49","Locality":"NODE_LOCAL","Speculative":false,"Getting Result Time":0,"Finish Time":1784546406713,"Failed":false,"Killed":false,"Accumulables":[{"ID":1258,"Name":"local blocks read","Update":"1","Value":"1","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1261,"Name":"local bytes read","Update":"360","Value":"360","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1262,"Name":"fetch wait time","Update":"0","Value":"0","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1263,"Name":"records read","Update":"4","Value":"4","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1359,"Name":"duration","Update":"16","Value":"16","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1360,"Name":"number of output rows","Update":"4","Value":"4","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1361,"Name":"peak memory","Update":"4456432","Value":"4456432","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1363,"Name":"time in aggregation build","Update":"0","Value":"0","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1364,"Name":"avg hash probes per key","Update":"10","Value":"10","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1369,"Name":"internal.metrics.executorDeserializeTime","Update":51,"Value":51,"Internal":true,"Count Failed Values":true},{"ID":1370,"Name":"internal.metrics.executorDeserializeCpuTime","Update":36297529,"Value":36297529,"Internal":true,"Count Failed Values":true},{"ID":1371,"Name":"internal.metrics.executorRunTime","Update":42,"Value":42,"Internal":true,"Count Failed Values":true},{"ID":1372,"Name":"internal.metrics.executorCpuTime","Update":38967441,"Value":38967441,"Internal":true,"Count Failed Values":true},{"ID":1373,"Name":"internal.metrics.resultSize","Update":15358,"Value":15358,"Internal":true,"Count Failed Values":true},{"ID":1378,"Name":"internal.metrics.peakExecutionMemory","Update":4456432,"Value":4456432,"Internal":true,"Count Failed Values":true},{"ID":1380,"Name":"internal.metrics.shuffle.read.remoteBlocksFetched","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":1381,"Name":"internal.metrics.shuffle.read.localBlocksFetched","Update":1,"Value":1,"Internal":true,"Count Failed Values":true},{"ID":1382,"Name":"internal.metrics.shuffle.read.remoteBytesRead","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":1383,"Name":"internal.metrics.shuffle.read.remoteBytesReadToDisk","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":1384,"Name":"internal.metrics.shuffle.read.localBytesRead","Update":360,"Value":360,"Internal":true,"Count Failed Values":true},{"ID":1385,"Name":"internal.metrics.shuffle.read.fetchWaitTime","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":1386,"Name":"internal.metrics.shuffle.read.recordsRead","Update":4,"Value":4,"Internal":true,"Count Failed Values":true},{"ID":1387,"Name":"internal.metrics.shuffle.push.read.corruptMergedBlockChunks","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":1388,"Name":"internal.metrics.shuffle.push.read.mergedFetchFallbackCount","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":1389,"Name":"internal.metrics.shuffle.push.read.remoteMergedBlocksFetched","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":1390,"Name":"internal.metrics.shuffle.push.read.localMergedBlocksFetched","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":1391,"Name":"internal.metrics.shuffle.push.read.remoteMergedChunksFetched","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":1392,"Name":"internal.metrics.shuffle.push.read.localMergedChunksFetched","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":1393,"Name":"internal.metrics.shuffle.push.read.remoteMergedBytesRead","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":1394,"Name":"internal.metrics.shuffle.push.read.localMergedBytesRead","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":1395,"Name":"internal.metrics.shuffle.read.remoteReqsDuration","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":1396,"Name":"internal.metrics.shuffle.push.read.remoteMergedReqsDuration","Update":0,"Value":0,"Internal":true,"Count Failed Values":true}]},"Task Executor Metrics":{"JVMHeapMemory":0,"JVMOffHeapMemory":0,"OnHeapExecutionMemory":0,"OffHeapExecutionMemory":0,"OnHeapStorageMemory":0,"OffHeapStorageMemory":0,"OnHeapUnifiedMemory":0,"OffHeapUnifiedMemory":0,"DirectPoolMemory":0,"MappedPoolMemory":0,"ProcessTreeJVMVMemory":0,"ProcessTreeJVMRSSMemory":0,"ProcessTreePythonVMemory":0,"ProcessTreePythonRSSMemory":0,"ProcessTreeOtherVMemory":0,"ProcessTreeOtherRSSMemory":0,"MinorGCCount":0,"MinorGCTime":0,"MajorGCCount":0,"MajorGCTime":0,"TotalGCTime":0},"Task Metrics":{"Executor Deserialize Time":51,"Executor Deserialize CPU Time":36297529,"Executor Run Time":42,"Executor CPU Time":38967441,"Peak Execution Memory":4456432,"Result Size":15358,"JVM GC Time":0,"Result Serialization Time":0,"Memory Bytes Spilled":0,"Disk Bytes Spilled":0,"Shuffle Read Metrics":{"Remote Blocks Fetched":0,"Local Blocks Fetched":1,"Fetch Wait Time":0,"Remote Bytes Read":0,"Remote Bytes Read To Disk":0,"Local Bytes Read":360,"Total Records Read":4,"Remote Requests Duration":0,"Push Based Shuffle":{"Corrupt Merged Block Chunks":0,"Merged Fetch Fallback Count":0,"Merged Remote Blocks Fetched":0,"Merged Local Blocks Fetched":0,"Merged Remote Chunks Fetched":0,"Merged Local Chunks Fetched":0,"Merged Remote Bytes Read":0,"Merged Local Bytes Read":0,"Merged Remote Requests Duration":0}},"Shuffle Write Metrics":{"Shuffle Bytes Written":0,"Shuffle Write Time":0,"Shuffle Records Written":0},"Input Metrics":{"Bytes Read":0,"Records Read":0},"Output Metrics":{"Bytes Written":0,"Records Written":0},"Updated Blocks":[]}} {"Event":"SparkListenerStageCompleted","Stage Info":{"Stage ID":15,"Stage Attempt ID":0,"Stage Name":"parquet at NativeMethodAccessorImpl.java:0","Number of Tasks":1,"RDD Info":[{"RDD ID":32,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"77\",\"name\":\"Exchange\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[31],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"UNORDERED","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":28,"Name":"ShuffledRowRDD","Scope":"{\"id\":\"82\",\"name\":\"AQEShuffleRead\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[27],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"UNORDERED","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":29,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"78\",\"name\":\"WholeStageCodegen (9)\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[28],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"UNORDERED","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":31,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"77\",\"name\":\"Exchange\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[30],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"UNORDERED","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":30,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"77\",\"name\":\"Exchange\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[29],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"UNORDERED","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0}],"Parent IDs":[14],"Details":"org.apache.spark.sql.DataFrameWriter.parquet(DataFrameWriter.scala:792)\njava.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\njava.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)\njava.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\njava.base/java.lang.reflect.Method.invoke(Method.java:569)\npy4j.reflection.MethodInvoker.invoke(MethodInvoker.java:244)\npy4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:374)\npy4j.Gateway.invoke(Gateway.java:282)\npy4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:132)\npy4j.commands.CallCommand.execute(CallCommand.java:79)\npy4j.ClientServerConnection.waitForCommands(ClientServerConnection.java:182)\npy4j.ClientServerConnection.run(ClientServerConnection.java:106)\njava.base/java.lang.Thread.run(Thread.java:840)","Submission Time":1784546406595,"Completion Time":1784546406714,"Accumulables":[{"ID":1258,"Name":"local blocks read","Value":"1","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1261,"Name":"local bytes read","Value":"360","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1262,"Name":"fetch wait time","Value":"0","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1263,"Name":"records read","Value":"4","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1359,"Name":"duration","Value":"16","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1360,"Name":"number of output rows","Value":"4","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1361,"Name":"peak memory","Value":"4456432","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1363,"Name":"time in aggregation build","Value":"0","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1364,"Name":"avg hash probes per key","Value":"10","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1369,"Name":"internal.metrics.executorDeserializeTime","Value":51,"Internal":true,"Count Failed Values":true},{"ID":1370,"Name":"internal.metrics.executorDeserializeCpuTime","Value":36297529,"Internal":true,"Count Failed Values":true},{"ID":1371,"Name":"internal.metrics.executorRunTime","Value":42,"Internal":true,"Count Failed Values":true},{"ID":1372,"Name":"internal.metrics.executorCpuTime","Value":38967441,"Internal":true,"Count Failed Values":true},{"ID":1373,"Name":"internal.metrics.resultSize","Value":15358,"Internal":true,"Count Failed Values":true},{"ID":1378,"Name":"internal.metrics.peakExecutionMemory","Value":4456432,"Internal":true,"Count Failed Values":true},{"ID":1380,"Name":"internal.metrics.shuffle.read.remoteBlocksFetched","Value":0,"Internal":true,"Count Failed Values":true},{"ID":1381,"Name":"internal.metrics.shuffle.read.localBlocksFetched","Value":1,"Internal":true,"Count Failed Values":true},{"ID":1382,"Name":"internal.metrics.shuffle.read.remoteBytesRead","Value":0,"Internal":true,"Count Failed Values":true},{"ID":1383,"Name":"internal.metrics.shuffle.read.remoteBytesReadToDisk","Value":0,"Internal":true,"Count Failed Values":true},{"ID":1384,"Name":"internal.metrics.shuffle.read.localBytesRead","Value":360,"Internal":true,"Count Failed Values":true},{"ID":1385,"Name":"internal.metrics.shuffle.read.fetchWaitTime","Value":0,"Internal":true,"Count Failed Values":true},{"ID":1386,"Name":"internal.metrics.shuffle.read.recordsRead","Value":4,"Internal":true,"Count Failed Values":true},{"ID":1387,"Name":"internal.metrics.shuffle.push.read.corruptMergedBlockChunks","Value":0,"Internal":true,"Count Failed Values":true},{"ID":1388,"Name":"internal.metrics.shuffle.push.read.mergedFetchFallbackCount","Value":0,"Internal":true,"Count Failed Values":true},{"ID":1389,"Name":"internal.metrics.shuffle.push.read.remoteMergedBlocksFetched","Value":0,"Internal":true,"Count Failed Values":true},{"ID":1390,"Name":"internal.metrics.shuffle.push.read.localMergedBlocksFetched","Value":0,"Internal":true,"Count Failed Values":true},{"ID":1391,"Name":"internal.metrics.shuffle.push.read.remoteMergedChunksFetched","Value":0,"Internal":true,"Count Failed Values":true},{"ID":1392,"Name":"internal.metrics.shuffle.push.read.localMergedChunksFetched","Value":0,"Internal":true,"Count Failed Values":true},{"ID":1393,"Name":"internal.metrics.shuffle.push.read.remoteMergedBytesRead","Value":0,"Internal":true,"Count Failed Values":true},{"ID":1394,"Name":"internal.metrics.shuffle.push.read.localMergedBytesRead","Value":0,"Internal":true,"Count Failed Values":true},{"ID":1395,"Name":"internal.metrics.shuffle.read.remoteReqsDuration","Value":0,"Internal":true,"Count Failed Values":true},{"ID":1396,"Name":"internal.metrics.shuffle.push.read.remoteMergedReqsDuration","Value":0,"Internal":true,"Count Failed Values":true}],"Resource Profile Id":0,"Shuffle Push Enabled":false,"Shuffle Push Mergers Count":0}} {"Event":"SparkListenerJobEnd","Job ID":8,"Completion Time":1784546406716,"Job Result":{"Result":"JobSucceeded"}} {"Event":"org.apache.spark.sql.execution.ui.SparkListenerDriverAccumUpdates","executionId":0,"accumUpdates":[[1338,4]]} {"Event":"SparkListenerJobStart","Job ID":9,"Submission Time":1784546406725,"Stage Infos":[{"Stage ID":16,"Stage Attempt ID":0,"Stage Name":"parquet at NativeMethodAccessorImpl.java:0","Number of Tasks":1,"RDD Info":[{"RDD ID":24,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"54\",\"name\":\"Exchange\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[23],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"DETERMINATE","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":22,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"70\",\"name\":\"Scan csv \"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[21],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"DETERMINATE","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":23,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"55\",\"name\":\"WholeStageCodegen (7)\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[22],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"DETERMINATE","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":21,"Name":"FileScanRDD","Scope":"{\"id\":\"70\",\"name\":\"Scan csv \"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"DETERMINATE","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0}],"Parent IDs":[],"Details":"org.apache.spark.sql.DataFrameWriter.parquet(DataFrameWriter.scala:792)\njava.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\njava.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)\njava.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\njava.base/java.lang.reflect.Method.invoke(Method.java:569)\npy4j.reflection.MethodInvoker.invoke(MethodInvoker.java:244)\npy4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:374)\npy4j.Gateway.invoke(Gateway.java:282)\npy4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:132)\npy4j.commands.CallCommand.execute(CallCommand.java:79)\npy4j.ClientServerConnection.waitForCommands(ClientServerConnection.java:182)\npy4j.ClientServerConnection.run(ClientServerConnection.java:106)\njava.base/java.lang.Thread.run(Thread.java:840)","Accumulables":[],"Resource Profile Id":0,"Shuffle Push Enabled":false,"Shuffle Push Mergers Count":0},{"Stage ID":17,"Stage Attempt ID":0,"Stage Name":"parquet at NativeMethodAccessorImpl.java:0","Number of Tasks":1,"RDD Info":[{"RDD ID":27,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"71\",\"name\":\"Exchange\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[26],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"UNORDERED","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":26,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"72\",\"name\":\"WholeStageCodegen (8)\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[25],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"UNORDERED","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":25,"Name":"ShuffledRowRDD","Scope":"{\"id\":\"76\",\"name\":\"AQEShuffleRead\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[24],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"UNORDERED","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0}],"Parent IDs":[16],"Details":"org.apache.spark.sql.DataFrameWriter.parquet(DataFrameWriter.scala:792)\njava.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\njava.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)\njava.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\njava.base/java.lang.reflect.Method.invoke(Method.java:569)\npy4j.reflection.MethodInvoker.invoke(MethodInvoker.java:244)\npy4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:374)\npy4j.Gateway.invoke(Gateway.java:282)\npy4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:132)\npy4j.commands.CallCommand.execute(CallCommand.java:79)\npy4j.ClientServerConnection.waitForCommands(ClientServerConnection.java:182)\npy4j.ClientServerConnection.run(ClientServerConnection.java:106)\njava.base/java.lang.Thread.run(Thread.java:840)","Accumulables":[],"Resource Profile Id":0,"Shuffle Push Enabled":false,"Shuffle Push Mergers Count":0},{"Stage ID":18,"Stage Attempt ID":0,"Stage Name":"parquet at NativeMethodAccessorImpl.java:0","Number of Tasks":1,"RDD Info":[{"RDD ID":33,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"77\",\"name\":\"Exchange\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[29],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"UNORDERED","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":28,"Name":"ShuffledRowRDD","Scope":"{\"id\":\"82\",\"name\":\"AQEShuffleRead\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[27],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"UNORDERED","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":29,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"78\",\"name\":\"WholeStageCodegen (9)\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[28],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"UNORDERED","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0}],"Parent IDs":[17],"Details":"org.apache.spark.sql.DataFrameWriter.parquet(DataFrameWriter.scala:792)\njava.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\njava.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)\njava.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\njava.base/java.lang.reflect.Method.invoke(Method.java:569)\npy4j.reflection.MethodInvoker.invoke(MethodInvoker.java:244)\npy4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:374)\npy4j.Gateway.invoke(Gateway.java:282)\npy4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:132)\npy4j.commands.CallCommand.execute(CallCommand.java:79)\npy4j.ClientServerConnection.waitForCommands(ClientServerConnection.java:182)\npy4j.ClientServerConnection.run(ClientServerConnection.java:106)\njava.base/java.lang.Thread.run(Thread.java:840)","Accumulables":[],"Resource Profile Id":0,"Shuffle Push Enabled":false,"Shuffle Push Mergers Count":0}],"Stage IDs":[16,17,18],"Properties":{"spark.driver.port":"34351","spark.submit.pyFiles":"","spark.app.startTime":"1784546379461","spark.rdd.scope":"{\"id\":\"77\",\"name\":\"Exchange\"}","spark.hadoop.fs.s3a.endpoint":"http://minio:9000","spark.rdd.compress":"True","spark.hadoop.fs.s3a.impl":"org.apache.hadoop.fs.s3a.S3AFileSystem","spark.app.submitTime":"1784546378209","spark.eventLog.dir":"file:/opt/spark-events","spark.hadoop.fs.s3a.aws.credentials.provider":"org.apache.hadoop.fs.s3a.SimpleAWSCredentialsProvider","spark.sql.execution.id":"0","spark.sql.warehouse.dir":"file:/opt/airflow/spark-warehouse","spark.rdd.scope.noOverride":"true","spark.master":"spark://spark-master:7077","spark.hadoop.fs.s3a.secret.key":"*********(redacted)","spark.executor.id":"driver","spark.app.name":"dm_user_cohort_analysis","spark.hadoop.fs.s3a.access.key":"*********(redacted)","spark.submit.deployMode":"client","spark.hadoop.fs.s3a.path.style.access":"true","spark.driver.host":"73850a3d530b","spark.app.id":"app-20260720151940-0099","spark.eventLog.compress":"true","spark.eventLog.enabled":"true","__fetch_continuous_blocks_in_batch_enabled":"true","spark.executor.extraJavaOptions":"-Djava.net.preferIPv6Addresses=false -XX:+IgnoreUnrecognizedVMOptions --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.base/sun.nio.cs=ALL-UNNAMED --add-opens=java.base/sun.security.action=ALL-UNNAMED --add-opens=java.base/sun.util.calendar=ALL-UNNAMED --add-opens=java.security.jgss/sun.security.krb5=ALL-UNNAMED -Djdk.reflect.useDirectMethodHandle=false","spark.sql.execution.root.id":"0","spark.hadoop.fs.s3a.connection.ssl.enabled":"false","spark.serializer.objectStreamReset":"100","spark.driver.extraJavaOptions":"-Djava.net.preferIPv6Addresses=false -XX:+IgnoreUnrecognizedVMOptions --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.base/sun.nio.cs=ALL-UNNAMED --add-opens=java.base/sun.security.action=ALL-UNNAMED --add-opens=java.base/sun.util.calendar=ALL-UNNAMED --add-opens=java.security.jgss/sun.security.krb5=ALL-UNNAMED -Djdk.reflect.useDirectMethodHandle=false"}} {"Event":"SparkListenerStageSubmitted","Stage Info":{"Stage ID":18,"Stage Attempt ID":0,"Stage Name":"parquet at NativeMethodAccessorImpl.java:0","Number of Tasks":1,"RDD Info":[{"RDD ID":33,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"77\",\"name\":\"Exchange\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[29],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"UNORDERED","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":28,"Name":"ShuffledRowRDD","Scope":"{\"id\":\"82\",\"name\":\"AQEShuffleRead\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[27],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"UNORDERED","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":29,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"78\",\"name\":\"WholeStageCodegen (9)\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[28],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"UNORDERED","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0}],"Parent IDs":[17],"Details":"org.apache.spark.sql.DataFrameWriter.parquet(DataFrameWriter.scala:792)\njava.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\njava.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)\njava.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\njava.base/java.lang.reflect.Method.invoke(Method.java:569)\npy4j.reflection.MethodInvoker.invoke(MethodInvoker.java:244)\npy4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:374)\npy4j.Gateway.invoke(Gateway.java:282)\npy4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:132)\npy4j.commands.CallCommand.execute(CallCommand.java:79)\npy4j.ClientServerConnection.waitForCommands(ClientServerConnection.java:182)\npy4j.ClientServerConnection.run(ClientServerConnection.java:106)\njava.base/java.lang.Thread.run(Thread.java:840)","Submission Time":1784546406726,"Accumulables":[],"Resource Profile Id":0,"Shuffle Push Enabled":false,"Shuffle Push Mergers Count":0},"Properties":{"spark.driver.port":"34351","spark.submit.pyFiles":"","spark.app.startTime":"1784546379461","spark.rdd.scope":"{\"id\":\"77\",\"name\":\"Exchange\"}","spark.hadoop.fs.s3a.endpoint":"http://minio:9000","spark.rdd.compress":"True","spark.hadoop.fs.s3a.impl":"org.apache.hadoop.fs.s3a.S3AFileSystem","spark.app.submitTime":"1784546378209","spark.eventLog.dir":"file:/opt/spark-events","spark.hadoop.fs.s3a.aws.credentials.provider":"org.apache.hadoop.fs.s3a.SimpleAWSCredentialsProvider","spark.sql.execution.id":"0","spark.sql.warehouse.dir":"file:/opt/airflow/spark-warehouse","spark.rdd.scope.noOverride":"true","spark.master":"spark://spark-master:7077","spark.hadoop.fs.s3a.secret.key":"*********(redacted)","spark.executor.id":"driver","spark.app.name":"dm_user_cohort_analysis","spark.hadoop.fs.s3a.access.key":"*********(redacted)","spark.submit.deployMode":"client","spark.hadoop.fs.s3a.path.style.access":"true","spark.driver.host":"73850a3d530b","spark.app.id":"app-20260720151940-0099","spark.eventLog.compress":"true","spark.eventLog.enabled":"true","__fetch_continuous_blocks_in_batch_enabled":"true","spark.executor.extraJavaOptions":"-Djava.net.preferIPv6Addresses=false -XX:+IgnoreUnrecognizedVMOptions --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.base/sun.nio.cs=ALL-UNNAMED --add-opens=java.base/sun.security.action=ALL-UNNAMED --add-opens=java.base/sun.util.calendar=ALL-UNNAMED --add-opens=java.security.jgss/sun.security.krb5=ALL-UNNAMED -Djdk.reflect.useDirectMethodHandle=false","spark.sql.execution.root.id":"0","spark.hadoop.fs.s3a.connection.ssl.enabled":"false","spark.serializer.objectStreamReset":"100","spark.driver.extraJavaOptions":"-Djava.net.preferIPv6Addresses=false -XX:+IgnoreUnrecognizedVMOptions --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.base/sun.nio.cs=ALL-UNNAMED --add-opens=java.base/sun.security.action=ALL-UNNAMED --add-opens=java.base/sun.util.calendar=ALL-UNNAMED --add-opens=java.security.jgss/sun.security.krb5=ALL-UNNAMED -Djdk.reflect.useDirectMethodHandle=false"}} {"Event":"SparkListenerTaskStart","Stage ID":18,"Stage Attempt ID":0,"Task Info":{"Task ID":9,"Index":0,"Attempt":0,"Partition ID":0,"Launch Time":1784546406750,"Executor ID":"0","Host":"172.28.0.49","Locality":"NODE_LOCAL","Speculative":false,"Getting Result Time":0,"Finish Time":0,"Failed":false,"Killed":false,"Accumulables":[]}} {"Event":"SparkListenerTaskEnd","Stage ID":18,"Stage Attempt ID":0,"Task Type":"ShuffleMapTask","Task End Reason":{"Reason":"Success"},"Task Info":{"Task ID":9,"Index":0,"Attempt":0,"Partition ID":0,"Launch Time":1784546406750,"Executor ID":"0","Host":"172.28.0.49","Locality":"NODE_LOCAL","Speculative":false,"Getting Result Time":0,"Finish Time":1784546406823,"Failed":false,"Killed":false,"Accumulables":[{"ID":1258,"Name":"local blocks read","Update":"1","Value":"2","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1261,"Name":"local bytes read","Update":"360","Value":"720","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1262,"Name":"fetch wait time","Update":"0","Value":"0","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1263,"Name":"records read","Update":"4","Value":"8","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1337,"Name":"data size","Update":"288","Value":"288","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1356,"Name":"shuffle bytes written","Update":"383","Value":"383","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1357,"Name":"shuffle records written","Update":"4","Value":"4","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1358,"Name":"shuffle write time","Update":"491764","Value":"491764","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1359,"Name":"duration","Update":"8","Value":"24","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1360,"Name":"number of output rows","Update":"4","Value":"8","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1361,"Name":"peak memory","Update":"4456432","Value":"8912864","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1363,"Name":"time in aggregation build","Update":"0","Value":"0","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1364,"Name":"avg hash probes per key","Update":"10","Value":"20","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1404,"Name":"internal.metrics.executorDeserializeTime","Update":50,"Value":50,"Internal":true,"Count Failed Values":true},{"ID":1405,"Name":"internal.metrics.executorDeserializeCpuTime","Update":31958409,"Value":31958409,"Internal":true,"Count Failed Values":true},{"ID":1406,"Name":"internal.metrics.executorRunTime","Update":11,"Value":11,"Internal":true,"Count Failed Values":true},{"ID":1407,"Name":"internal.metrics.executorCpuTime","Update":11490186,"Value":11490186,"Internal":true,"Count Failed Values":true},{"ID":1408,"Name":"internal.metrics.resultSize","Update":15225,"Value":15225,"Internal":true,"Count Failed Values":true},{"ID":1413,"Name":"internal.metrics.peakExecutionMemory","Update":4456432,"Value":4456432,"Internal":true,"Count Failed Values":true},{"ID":1415,"Name":"internal.metrics.shuffle.read.remoteBlocksFetched","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":1416,"Name":"internal.metrics.shuffle.read.localBlocksFetched","Update":1,"Value":1,"Internal":true,"Count Failed Values":true},{"ID":1417,"Name":"internal.metrics.shuffle.read.remoteBytesRead","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":1418,"Name":"internal.metrics.shuffle.read.remoteBytesReadToDisk","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":1419,"Name":"internal.metrics.shuffle.read.localBytesRead","Update":360,"Value":360,"Internal":true,"Count Failed Values":true},{"ID":1420,"Name":"internal.metrics.shuffle.read.fetchWaitTime","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":1421,"Name":"internal.metrics.shuffle.read.recordsRead","Update":4,"Value":4,"Internal":true,"Count Failed Values":true},{"ID":1422,"Name":"internal.metrics.shuffle.push.read.corruptMergedBlockChunks","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":1423,"Name":"internal.metrics.shuffle.push.read.mergedFetchFallbackCount","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":1424,"Name":"internal.metrics.shuffle.push.read.remoteMergedBlocksFetched","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":1425,"Name":"internal.metrics.shuffle.push.read.localMergedBlocksFetched","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":1426,"Name":"internal.metrics.shuffle.push.read.remoteMergedChunksFetched","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":1427,"Name":"internal.metrics.shuffle.push.read.localMergedChunksFetched","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":1428,"Name":"internal.metrics.shuffle.push.read.remoteMergedBytesRead","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":1429,"Name":"internal.metrics.shuffle.push.read.localMergedBytesRead","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":1430,"Name":"internal.metrics.shuffle.read.remoteReqsDuration","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":1431,"Name":"internal.metrics.shuffle.push.read.remoteMergedReqsDuration","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":1432,"Name":"internal.metrics.shuffle.write.bytesWritten","Update":383,"Value":383,"Internal":true,"Count Failed Values":true},{"ID":1433,"Name":"internal.metrics.shuffle.write.recordsWritten","Update":4,"Value":4,"Internal":true,"Count Failed Values":true},{"ID":1434,"Name":"internal.metrics.shuffle.write.writeTime","Update":491764,"Value":491764,"Internal":true,"Count Failed Values":true}]},"Task Executor Metrics":{"JVMHeapMemory":0,"JVMOffHeapMemory":0,"OnHeapExecutionMemory":0,"OffHeapExecutionMemory":0,"OnHeapStorageMemory":0,"OffHeapStorageMemory":0,"OnHeapUnifiedMemory":0,"OffHeapUnifiedMemory":0,"DirectPoolMemory":0,"MappedPoolMemory":0,"ProcessTreeJVMVMemory":0,"ProcessTreeJVMRSSMemory":0,"ProcessTreePythonVMemory":0,"ProcessTreePythonRSSMemory":0,"ProcessTreeOtherVMemory":0,"ProcessTreeOtherRSSMemory":0,"MinorGCCount":0,"MinorGCTime":0,"MajorGCCount":0,"MajorGCTime":0,"TotalGCTime":0},"Task Metrics":{"Executor Deserialize Time":50,"Executor Deserialize CPU Time":31958409,"Executor Run Time":11,"Executor CPU Time":11490186,"Peak Execution Memory":4456432,"Result Size":15225,"JVM GC Time":0,"Result Serialization Time":0,"Memory Bytes Spilled":0,"Disk Bytes Spilled":0,"Shuffle Read Metrics":{"Remote Blocks Fetched":0,"Local Blocks Fetched":1,"Fetch Wait Time":0,"Remote Bytes Read":0,"Remote Bytes Read To Disk":0,"Local Bytes Read":360,"Total Records Read":4,"Remote Requests Duration":0,"Push Based Shuffle":{"Corrupt Merged Block Chunks":0,"Merged Fetch Fallback Count":0,"Merged Remote Blocks Fetched":0,"Merged Local Blocks Fetched":0,"Merged Remote Chunks Fetched":0,"Merged Local Chunks Fetched":0,"Merged Remote Bytes Read":0,"Merged Local Bytes Read":0,"Merged Remote Requests Duration":0}},"Shuffle Write Metrics":{"Shuffle Bytes Written":383,"Shuffle Write Time":491764,"Shuffle Records Written":4},"Input Metrics":{"Bytes Read":0,"Records Read":0},"Output Metrics":{"Bytes Written":0,"Records Written":0},"Updated Blocks":[]}} {"Event":"SparkListenerStageCompleted","Stage Info":{"Stage ID":18,"Stage Attempt ID":0,"Stage Name":"parquet at NativeMethodAccessorImpl.java:0","Number of Tasks":1,"RDD Info":[{"RDD ID":33,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"77\",\"name\":\"Exchange\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[29],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"UNORDERED","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":28,"Name":"ShuffledRowRDD","Scope":"{\"id\":\"82\",\"name\":\"AQEShuffleRead\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[27],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"UNORDERED","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":29,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"78\",\"name\":\"WholeStageCodegen (9)\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[28],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"UNORDERED","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0}],"Parent IDs":[17],"Details":"org.apache.spark.sql.DataFrameWriter.parquet(DataFrameWriter.scala:792)\njava.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\njava.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)\njava.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\njava.base/java.lang.reflect.Method.invoke(Method.java:569)\npy4j.reflection.MethodInvoker.invoke(MethodInvoker.java:244)\npy4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:374)\npy4j.Gateway.invoke(Gateway.java:282)\npy4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:132)\npy4j.commands.CallCommand.execute(CallCommand.java:79)\npy4j.ClientServerConnection.waitForCommands(ClientServerConnection.java:182)\npy4j.ClientServerConnection.run(ClientServerConnection.java:106)\njava.base/java.lang.Thread.run(Thread.java:840)","Submission Time":1784546406726,"Completion Time":1784546406825,"Accumulables":[{"ID":1258,"Name":"local blocks read","Value":"2","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1261,"Name":"local bytes read","Value":"720","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1262,"Name":"fetch wait time","Value":"0","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1263,"Name":"records read","Value":"8","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1337,"Name":"data size","Value":"288","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1356,"Name":"shuffle bytes written","Value":"383","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1357,"Name":"shuffle records written","Value":"4","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1358,"Name":"shuffle write time","Value":"491764","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1359,"Name":"duration","Value":"24","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1360,"Name":"number of output rows","Value":"8","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1361,"Name":"peak memory","Value":"8912864","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1363,"Name":"time in aggregation build","Value":"0","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1364,"Name":"avg hash probes per key","Value":"20","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1404,"Name":"internal.metrics.executorDeserializeTime","Value":50,"Internal":true,"Count Failed Values":true},{"ID":1405,"Name":"internal.metrics.executorDeserializeCpuTime","Value":31958409,"Internal":true,"Count Failed Values":true},{"ID":1406,"Name":"internal.metrics.executorRunTime","Value":11,"Internal":true,"Count Failed Values":true},{"ID":1407,"Name":"internal.metrics.executorCpuTime","Value":11490186,"Internal":true,"Count Failed Values":true},{"ID":1408,"Name":"internal.metrics.resultSize","Value":15225,"Internal":true,"Count Failed Values":true},{"ID":1413,"Name":"internal.metrics.peakExecutionMemory","Value":4456432,"Internal":true,"Count Failed Values":true},{"ID":1415,"Name":"internal.metrics.shuffle.read.remoteBlocksFetched","Value":0,"Internal":true,"Count Failed Values":true},{"ID":1416,"Name":"internal.metrics.shuffle.read.localBlocksFetched","Value":1,"Internal":true,"Count Failed Values":true},{"ID":1417,"Name":"internal.metrics.shuffle.read.remoteBytesRead","Value":0,"Internal":true,"Count Failed Values":true},{"ID":1418,"Name":"internal.metrics.shuffle.read.remoteBytesReadToDisk","Value":0,"Internal":true,"Count Failed Values":true},{"ID":1419,"Name":"internal.metrics.shuffle.read.localBytesRead","Value":360,"Internal":true,"Count Failed Values":true},{"ID":1420,"Name":"internal.metrics.shuffle.read.fetchWaitTime","Value":0,"Internal":true,"Count Failed Values":true},{"ID":1421,"Name":"internal.metrics.shuffle.read.recordsRead","Value":4,"Internal":true,"Count Failed Values":true},{"ID":1422,"Name":"internal.metrics.shuffle.push.read.corruptMergedBlockChunks","Value":0,"Internal":true,"Count Failed Values":true},{"ID":1423,"Name":"internal.metrics.shuffle.push.read.mergedFetchFallbackCount","Value":0,"Internal":true,"Count Failed Values":true},{"ID":1424,"Name":"internal.metrics.shuffle.push.read.remoteMergedBlocksFetched","Value":0,"Internal":true,"Count Failed Values":true},{"ID":1425,"Name":"internal.metrics.shuffle.push.read.localMergedBlocksFetched","Value":0,"Internal":true,"Count Failed Values":true},{"ID":1426,"Name":"internal.metrics.shuffle.push.read.remoteMergedChunksFetched","Value":0,"Internal":true,"Count Failed Values":true},{"ID":1427,"Name":"internal.metrics.shuffle.push.read.localMergedChunksFetched","Value":0,"Internal":true,"Count Failed Values":true},{"ID":1428,"Name":"internal.metrics.shuffle.push.read.remoteMergedBytesRead","Value":0,"Internal":true,"Count Failed Values":true},{"ID":1429,"Name":"internal.metrics.shuffle.push.read.localMergedBytesRead","Value":0,"Internal":true,"Count Failed Values":true},{"ID":1430,"Name":"internal.metrics.shuffle.read.remoteReqsDuration","Value":0,"Internal":true,"Count Failed Values":true},{"ID":1431,"Name":"internal.metrics.shuffle.push.read.remoteMergedReqsDuration","Value":0,"Internal":true,"Count Failed Values":true},{"ID":1432,"Name":"internal.metrics.shuffle.write.bytesWritten","Value":383,"Internal":true,"Count Failed Values":true},{"ID":1433,"Name":"internal.metrics.shuffle.write.recordsWritten","Value":4,"Internal":true,"Count Failed Values":true},{"ID":1434,"Name":"internal.metrics.shuffle.write.writeTime","Value":491764,"Internal":true,"Count Failed Values":true}],"Resource Profile Id":0,"Shuffle Push Enabled":false,"Shuffle Push Mergers Count":0}} {"Event":"SparkListenerJobEnd","Job ID":9,"Completion Time":1784546406825,"Job Result":{"Result":"JobSucceeded"}} {"Event":"org.apache.spark.sql.execution.ui.SparkListenerSQLAdaptiveExecutionUpdate","executionId":0,"physicalPlanDescription":"== Physical Plan ==\nAdaptiveSparkPlan (85)\n+- == Final Plan ==\n Execute InsertIntoHadoopFsRelationCommand (51)\n +- WriteFiles (50)\n +- * Sort (49)\n +- AQEShuffleRead (48)\n +- ShuffleQueryStage (47), Statistics(sizeInBytes=288.0 B, rowCount=4)\n +- Exchange (46)\n +- * Project (45)\n +- * HashAggregate (44)\n +- AQEShuffleRead (43)\n +- ShuffleQueryStage (42), Statistics(sizeInBytes=288.0 B, rowCount=4)\n +- Exchange (41)\n +- * HashAggregate (40)\n +- * HashAggregate (39)\n +- AQEShuffleRead (38)\n +- ShuffleQueryStage (37), Statistics(sizeInBytes=4.6 KiB, rowCount=59)\n +- Exchange (36)\n +- * HashAggregate (35)\n +- * Expand (34)\n +- * BroadcastHashJoin LeftOuter BuildRight (33)\n :- * BroadcastHashJoin LeftOuter BuildRight (23)\n : :- * Project (8)\n : : +- * BroadcastHashJoin LeftOuter BuildRight (7)\n : : :- * Project (2)\n : : : +- Scan csv (1)\n : : +- BroadcastQueryStage (6), Statistics(sizeInBytes=1024.2 KiB, rowCount=20)\n : : +- BroadcastExchange (5)\n : : +- * Filter (4)\n : : +- Scan csv (3)\n : +- BroadcastQueryStage (22), Statistics(sizeInBytes=1024.2 KiB, rowCount=20)\n : +- BroadcastExchange (21)\n : +- * HashAggregate (20)\n : +- AQEShuffleRead (19)\n : +- ShuffleQueryStage (18), Statistics(sizeInBytes=480.0 B, rowCount=20)\n : +- Exchange (17)\n : +- * HashAggregate (16)\n : +- * HashAggregate (15)\n : +- AQEShuffleRead (14)\n : +- ShuffleQueryStage (13), Statistics(sizeInBytes=1080.0 B, rowCount=45)\n : +- Exchange (12)\n : +- * HashAggregate (11)\n : +- * Filter (10)\n : +- Scan csv (9)\n +- BroadcastQueryStage (32), Statistics(sizeInBytes=1024.1 KiB, rowCount=11)\n +- BroadcastExchange (31)\n +- * HashAggregate (30)\n +- AQEShuffleRead (29)\n +- ShuffleQueryStage (28), Statistics(sizeInBytes=264.0 B, rowCount=11)\n +- Exchange (27)\n +- * HashAggregate (26)\n +- * Filter (25)\n +- Scan csv (24)\n+- == Initial Plan ==\n Execute InsertIntoHadoopFsRelationCommand (84)\n +- WriteFiles (83)\n +- Sort (82)\n +- Exchange (81)\n +- Project (80)\n +- HashAggregate (79)\n +- Exchange (78)\n +- HashAggregate (77)\n +- HashAggregate (76)\n +- Exchange (75)\n +- HashAggregate (74)\n +- Expand (73)\n +- BroadcastHashJoin LeftOuter BuildRight (72)\n :- BroadcastHashJoin LeftOuter BuildRight (66)\n : :- Project (57)\n : : +- BroadcastHashJoin LeftOuter BuildRight (56)\n : : :- Project (53)\n : : : +- Scan csv (52)\n : : +- BroadcastExchange (55)\n : : +- Filter (54)\n : : +- Scan csv (3)\n : +- BroadcastExchange (65)\n : +- HashAggregate (64)\n : +- Exchange (63)\n : +- HashAggregate (62)\n : +- HashAggregate (61)\n : +- Exchange (60)\n : +- HashAggregate (59)\n : +- Filter (58)\n : +- Scan csv (9)\n +- BroadcastExchange (71)\n +- HashAggregate (70)\n +- Exchange (69)\n +- HashAggregate (68)\n +- Filter (67)\n +- Scan csv (24)\n\n\n(1) Scan csv \nOutput [2]: [id#0L, registration_date#4]\nBatched: false\nLocation: InMemoryFileIndex [s3a://apavlovets-bucket/raw/users.csv]\nReadSchema: struct\n\n(2) Project [codegen id : 7]\nOutput [2]: [id#0L AS user_id#26L, date_trunc(month, registration_date#4, Some(Europe/Samara)) AS cohort_month_ts#27]\nInput [2]: [id#0L, registration_date#4]\n\n(3) Scan csv \nOutput [2]: [id#53L, registration_date#57]\nBatched: false\nLocation: InMemoryFileIndex [s3a://apavlovets-bucket/raw/users.csv]\nPushedFilters: [IsNotNull(id)]\nReadSchema: struct\n\n(4) Filter [codegen id : 1]\nInput [2]: [id#53L, registration_date#57]\nCondition : isnotnull(id#53L)\n\n(5) BroadcastExchange\nInput [2]: [id#53L, registration_date#57]\nArguments: HashedRelationBroadcastMode(List(input[0, bigint, false]),false), [plan_id=213]\n\n(6) BroadcastQueryStage\nOutput [2]: [id#53L, registration_date#57]\nArguments: 0\n\n(7) BroadcastHashJoin [codegen id : 7]\nLeft keys [1]: [user_id#26L]\nRight keys [1]: [id#53L]\nJoin type: LeftOuter\nJoin condition: None\n\n(8) Project [codegen id : 7]\nOutput [3]: [user_id#26L, cohort_month_ts#27, registration_date#57]\nInput [4]: [user_id#26L, cohort_month_ts#27, id#53L, registration_date#57]\n\n(9) Scan csv \nOutput [2]: [user_id#11L, course_id#12L]\nBatched: false\nLocation: InMemoryFileIndex [s3a://apavlovets-bucket/raw/enrollments.csv]\nPushedFilters: [IsNotNull(user_id)]\nReadSchema: struct\n\n(10) Filter [codegen id : 2]\nInput [2]: [user_id#11L, course_id#12L]\nCondition : isnotnull(user_id#11L)\n\n(11) HashAggregate [codegen id : 2]\nInput [2]: [user_id#11L, course_id#12L]\nKeys [2]: [user_id#11L, course_id#12L]\nFunctions: []\nAggregate Attributes: []\nResults [2]: [user_id#11L, course_id#12L]\n\n(12) Exchange\nInput [2]: [user_id#11L, course_id#12L]\nArguments: hashpartitioning(user_id#11L, course_id#12L, 200), ENSURE_REQUIREMENTS, [plan_id=226]\n\n(13) ShuffleQueryStage\nOutput [2]: [user_id#11L, course_id#12L]\nArguments: 1\n\n(14) AQEShuffleRead\nInput [2]: [user_id#11L, course_id#12L]\nArguments: coalesced\n\n(15) HashAggregate [codegen id : 5]\nInput [2]: [user_id#11L, course_id#12L]\nKeys [2]: [user_id#11L, course_id#12L]\nFunctions: []\nAggregate Attributes: []\nResults [2]: [user_id#11L, course_id#12L]\n\n(16) HashAggregate [codegen id : 5]\nInput [2]: [user_id#11L, course_id#12L]\nKeys [1]: [user_id#11L]\nFunctions [1]: [partial_count(distinct course_id#12L)]\nAggregate Attributes [1]: [count(course_id#12L)#36L]\nResults [2]: [user_id#11L, count#203L]\n\n(17) Exchange\nInput [2]: [user_id#11L, count#203L]\nArguments: hashpartitioning(user_id#11L, 200), ENSURE_REQUIREMENTS, [plan_id=507]\n\n(18) ShuffleQueryStage\nOutput [2]: [user_id#11L, count#203L]\nArguments: 4\n\n(19) AQEShuffleRead\nInput [2]: [user_id#11L, count#203L]\nArguments: coalesced\n\n(20) HashAggregate [codegen id : 6]\nInput [2]: [user_id#11L, count#203L]\nKeys [1]: [user_id#11L]\nFunctions [1]: [count(distinct course_id#12L)]\nAggregate Attributes [1]: [count(course_id#12L)#36L]\nResults [2]: [user_id#11L, count(course_id#12L)#36L AS courses_count#35L]\n\n(21) BroadcastExchange\nInput [2]: [user_id#11L, courses_count#35L]\nArguments: HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=700]\n\n(22) BroadcastQueryStage\nOutput [2]: [user_id#11L, courses_count#35L]\nArguments: 5\n\n(23) BroadcastHashJoin [codegen id : 7]\nLeft keys [1]: [user_id#26L]\nRight keys [1]: [user_id#11L]\nJoin type: LeftOuter\nJoin condition: None\n\n(24) Scan csv \nOutput [2]: [user_id#19L, viewed_at#21]\nBatched: false\nLocation: InMemoryFileIndex [s3a://apavlovets-bucket/raw/lesson_views.csv]\nPushedFilters: [IsNotNull(user_id)]\nReadSchema: struct\n\n(25) Filter [codegen id : 3]\nInput [2]: [user_id#19L, viewed_at#21]\nCondition : isnotnull(user_id#19L)\n\n(26) HashAggregate [codegen id : 3]\nInput [2]: [user_id#19L, viewed_at#21]\nKeys [1]: [user_id#19L]\nFunctions [1]: [partial_min(viewed_at#21)]\nAggregate Attributes [1]: [min#205]\nResults [2]: [user_id#19L, min#206]\n\n(27) Exchange\nInput [2]: [user_id#19L, min#206]\nArguments: hashpartitioning(user_id#19L, 200), ENSURE_REQUIREMENTS, [plan_id=246]\n\n(28) ShuffleQueryStage\nOutput [2]: [user_id#19L, min#206]\nArguments: 2\n\n(29) AQEShuffleRead\nInput [2]: [user_id#19L, min#206]\nArguments: coalesced\n\n(30) HashAggregate [codegen id : 4]\nInput [2]: [user_id#19L, min#206]\nKeys [1]: [user_id#19L]\nFunctions [1]: [min(viewed_at#21)]\nAggregate Attributes [1]: [min(viewed_at#21)#46]\nResults [2]: [user_id#19L, min(viewed_at#21)#46 AS first_viewed_at#47]\n\n(31) BroadcastExchange\nInput [2]: [user_id#19L, first_viewed_at#47]\nArguments: HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=384]\n\n(32) BroadcastQueryStage\nOutput [2]: [user_id#19L, first_viewed_at#47]\nArguments: 3\n\n(33) BroadcastHashJoin [codegen id : 7]\nLeft keys [1]: [user_id#26L]\nRight keys [1]: [user_id#19L]\nJoin type: LeftOuter\nJoin condition: None\n\n(34) Expand [codegen id : 7]\nInput [7]: [user_id#26L, cohort_month_ts#27, registration_date#57, user_id#11L, courses_count#35L, user_id#19L, first_viewed_at#47]\nArguments: [[cohort_month_ts#27, null, null, null, 0, courses_count#35L, datediff(cast(first_viewed_at#47 as date), cast(registration_date#57 as date))], [cohort_month_ts#27, user_id#26L, null, null, 1, null, null], [cohort_month_ts#27, null, user_id#11L, null, 2, null, null], [cohort_month_ts#27, null, null, user_id#19L, 3, null, null]], [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, ue.courses_count#173L, datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174]\n\n(35) HashAggregate [codegen id : 7]\nInput [7]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, ue.courses_count#173L, datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174]\nKeys [5]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169]\nFunctions [2]: [partial_avg(ue.courses_count#173L), partial_avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174)]\nAggregate Attributes [4]: [sum#193, count#194L, sum#195, count#196L]\nResults [9]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, sum#197, count#198L, sum#199, count#200L]\n\n(36) Exchange\nInput [9]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, sum#197, count#198L, sum#199, count#200L]\nArguments: hashpartitioning(cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, 200), ENSURE_REQUIREMENTS, [plan_id=821]\n\n(37) ShuffleQueryStage\nOutput [9]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, sum#197, count#198L, sum#199, count#200L]\nArguments: 6\n\n(38) AQEShuffleRead\nInput [9]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, sum#197, count#198L, sum#199, count#200L]\nArguments: coalesced\n\n(39) HashAggregate [codegen id : 8]\nInput [9]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, sum#197, count#198L, sum#199, count#200L]\nKeys [5]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169]\nFunctions [2]: [avg(ue.courses_count#173L), avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174)]\nAggregate Attributes [2]: [avg(ue.courses_count#173L)#127, avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174)#129]\nResults [7]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, avg(ue.courses_count#173L)#127 AS avg(ue.courses_count)#175, avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174)#129 AS avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177]\n\n(40) HashAggregate [codegen id : 8]\nInput [7]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, avg(ue.courses_count)#175, avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177]\nKeys [1]: [cohort_month_ts#27]\nFunctions [5]: [partial_count(c.user_id#170L) FILTER (WHERE (gid#169 = 1)), partial_count(ue.user_id#171L) FILTER (WHERE (gid#169 = 2)), partial_count(ufv.user_id#172L) FILTER (WHERE (gid#169 = 3)), partial_first(avg(ue.courses_count)#175, true) FILTER (WHERE (gid#169 = 0)), partial_first(avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177, true) FILTER (WHERE (gid#169 = 0))]\nAggregate Attributes [7]: [count#179L, count#180L, count#181L, first#182, valueSet#183, first#184, valueSet#185]\nResults [8]: [cohort_month_ts#27, count#186L, count#187L, count#188L, first#189, valueSet#190, first#191, valueSet#192]\n\n(41) Exchange\nInput [8]: [cohort_month_ts#27, count#186L, count#187L, count#188L, first#189, valueSet#190, first#191, valueSet#192]\nArguments: hashpartitioning(cohort_month_ts#27, 200), ENSURE_REQUIREMENTS, [plan_id=899]\n\n(42) ShuffleQueryStage\nOutput [8]: [cohort_month_ts#27, count#186L, count#187L, count#188L, first#189, valueSet#190, first#191, valueSet#192]\nArguments: 7\n\n(43) AQEShuffleRead\nInput [8]: [cohort_month_ts#27, count#186L, count#187L, count#188L, first#189, valueSet#190, first#191, valueSet#192]\nArguments: coalesced\n\n(44) HashAggregate [codegen id : 9]\nInput [8]: [cohort_month_ts#27, count#186L, count#187L, count#188L, first#189, valueSet#190, first#191, valueSet#192]\nKeys [1]: [cohort_month_ts#27]\nFunctions [5]: [count(c.user_id#170L), count(ue.user_id#171L), count(ufv.user_id#172L), first(avg(ue.courses_count)#175, true), first(avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177, true)]\nAggregate Attributes [5]: [count(c.user_id#170L)#131L, count(ue.user_id#171L)#132L, count(ufv.user_id#172L)#133L, first(avg(ue.courses_count)#175) ignore nulls#176, first(avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177) ignore nulls#178]\nResults [6]: [cohort_month_ts#27, count(c.user_id#170L)#131L AS users_in_cohort#124L, count(ue.user_id#171L)#132L AS enrolled_users#125L, count(ufv.user_id#172L)#133L AS active_users#126L, round(first(avg(ue.courses_count)#175) ignore nulls#176, 2) AS avg_courses_per_user#128, round(first(avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177) ignore nulls#178, 2) AS avg_time_to_first_view#130]\n\n(45) Project [codegen id : 9]\nOutput [7]: [date_format(cohort_month_ts#27, yyyy-MM, Some(Europe/Samara)) AS cohort_month#154, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130, CASE WHEN NOT (users_in_cohort#124L = 0) THEN round(((cast(active_users#126L as double) * 100.0) / cast(users_in_cohort#124L as double)), 2) END AS retention_rate#146]\nInput [6]: [cohort_month_ts#27, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130]\n\n(46) Exchange\nInput [7]: [cohort_month#154, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130, retention_rate#146]\nArguments: rangepartitioning(cohort_month#154 ASC NULLS FIRST, 200), ENSURE_REQUIREMENTS, [plan_id=947]\n\n(47) ShuffleQueryStage\nOutput [7]: [cohort_month#154, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130, retention_rate#146]\nArguments: 8\n\n(48) AQEShuffleRead\nInput [7]: [cohort_month#154, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130, retention_rate#146]\nArguments: coalesced\n\n(49) Sort [codegen id : 10]\nInput [7]: [cohort_month#154, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130, retention_rate#146]\nArguments: [cohort_month#154 ASC NULLS FIRST], true, 0\n\n(50) WriteFiles\nInput [7]: [cohort_month#154, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130, retention_rate#146]\n\n(51) Execute InsertIntoHadoopFsRelationCommand\nInput: []\nArguments: s3a://apavlovets-bucket/marts/user_cohort_analysis.parquet, false, Parquet, [path=s3a://apavlovets-bucket/marts/user_cohort_analysis.parquet], Overwrite, [cohort_month, users_in_cohort, enrolled_users, active_users, avg_courses_per_user, avg_time_to_first_view, retention_rate]\n\n(52) Scan csv \nOutput [2]: [id#0L, registration_date#4]\nBatched: false\nLocation: InMemoryFileIndex [s3a://apavlovets-bucket/raw/users.csv]\nReadSchema: struct\n\n(53) Project\nOutput [2]: [id#0L AS user_id#26L, date_trunc(month, registration_date#4, Some(Europe/Samara)) AS cohort_month_ts#27]\nInput [2]: [id#0L, registration_date#4]\n\n(54) Filter\nInput [2]: [id#53L, registration_date#57]\nCondition : isnotnull(id#53L)\n\n(55) BroadcastExchange\nInput [2]: [id#53L, registration_date#57]\nArguments: HashedRelationBroadcastMode(List(input[0, bigint, false]),false), [plan_id=119]\n\n(56) BroadcastHashJoin\nLeft keys [1]: [user_id#26L]\nRight keys [1]: [id#53L]\nJoin type: LeftOuter\nJoin condition: None\n\n(57) Project\nOutput [3]: [user_id#26L, cohort_month_ts#27, registration_date#57]\nInput [4]: [user_id#26L, cohort_month_ts#27, id#53L, registration_date#57]\n\n(58) Filter\nInput [2]: [user_id#11L, course_id#12L]\nCondition : isnotnull(user_id#11L)\n\n(59) HashAggregate\nInput [2]: [user_id#11L, course_id#12L]\nKeys [2]: [user_id#11L, course_id#12L]\nFunctions: []\nAggregate Attributes: []\nResults [2]: [user_id#11L, course_id#12L]\n\n(60) Exchange\nInput [2]: [user_id#11L, course_id#12L]\nArguments: hashpartitioning(user_id#11L, course_id#12L, 200), ENSURE_REQUIREMENTS, [plan_id=122]\n\n(61) HashAggregate\nInput [2]: [user_id#11L, course_id#12L]\nKeys [2]: [user_id#11L, course_id#12L]\nFunctions: []\nAggregate Attributes: []\nResults [2]: [user_id#11L, course_id#12L]\n\n(62) HashAggregate\nInput [2]: [user_id#11L, course_id#12L]\nKeys [1]: [user_id#11L]\nFunctions [1]: [partial_count(distinct course_id#12L)]\nAggregate Attributes [1]: [count(course_id#12L)#36L]\nResults [2]: [user_id#11L, count#203L]\n\n(63) Exchange\nInput [2]: [user_id#11L, count#203L]\nArguments: hashpartitioning(user_id#11L, 200), ENSURE_REQUIREMENTS, [plan_id=126]\n\n(64) HashAggregate\nInput [2]: [user_id#11L, count#203L]\nKeys [1]: [user_id#11L]\nFunctions [1]: [count(distinct course_id#12L)]\nAggregate Attributes [1]: [count(course_id#12L)#36L]\nResults [2]: [user_id#11L, count(course_id#12L)#36L AS courses_count#35L]\n\n(65) BroadcastExchange\nInput [2]: [user_id#11L, courses_count#35L]\nArguments: HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=129]\n\n(66) BroadcastHashJoin\nLeft keys [1]: [user_id#26L]\nRight keys [1]: [user_id#11L]\nJoin type: LeftOuter\nJoin condition: None\n\n(67) Filter\nInput [2]: [user_id#19L, viewed_at#21]\nCondition : isnotnull(user_id#19L)\n\n(68) HashAggregate\nInput [2]: [user_id#19L, viewed_at#21]\nKeys [1]: [user_id#19L]\nFunctions [1]: [partial_min(viewed_at#21)]\nAggregate Attributes [1]: [min#205]\nResults [2]: [user_id#19L, min#206]\n\n(69) Exchange\nInput [2]: [user_id#19L, min#206]\nArguments: hashpartitioning(user_id#19L, 200), ENSURE_REQUIREMENTS, [plan_id=131]\n\n(70) HashAggregate\nInput [2]: [user_id#19L, min#206]\nKeys [1]: [user_id#19L]\nFunctions [1]: [min(viewed_at#21)]\nAggregate Attributes [1]: [min(viewed_at#21)#46]\nResults [2]: [user_id#19L, min(viewed_at#21)#46 AS first_viewed_at#47]\n\n(71) BroadcastExchange\nInput [2]: [user_id#19L, first_viewed_at#47]\nArguments: HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=134]\n\n(72) BroadcastHashJoin\nLeft keys [1]: [user_id#26L]\nRight keys [1]: [user_id#19L]\nJoin type: LeftOuter\nJoin condition: None\n\n(73) Expand\nInput [7]: [user_id#26L, cohort_month_ts#27, registration_date#57, user_id#11L, courses_count#35L, user_id#19L, first_viewed_at#47]\nArguments: [[cohort_month_ts#27, null, null, null, 0, courses_count#35L, datediff(cast(first_viewed_at#47 as date), cast(registration_date#57 as date))], [cohort_month_ts#27, user_id#26L, null, null, 1, null, null], [cohort_month_ts#27, null, user_id#11L, null, 2, null, null], [cohort_month_ts#27, null, null, user_id#19L, 3, null, null]], [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, ue.courses_count#173L, datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174]\n\n(74) HashAggregate\nInput [7]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, ue.courses_count#173L, datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174]\nKeys [5]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169]\nFunctions [2]: [partial_avg(ue.courses_count#173L), partial_avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174)]\nAggregate Attributes [4]: [sum#193, count#194L, sum#195, count#196L]\nResults [9]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, sum#197, count#198L, sum#199, count#200L]\n\n(75) Exchange\nInput [9]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, sum#197, count#198L, sum#199, count#200L]\nArguments: hashpartitioning(cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, 200), ENSURE_REQUIREMENTS, [plan_id=139]\n\n(76) HashAggregate\nInput [9]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, sum#197, count#198L, sum#199, count#200L]\nKeys [5]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169]\nFunctions [2]: [avg(ue.courses_count#173L), avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174)]\nAggregate Attributes [2]: [avg(ue.courses_count#173L)#127, avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174)#129]\nResults [7]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, avg(ue.courses_count#173L)#127 AS avg(ue.courses_count)#175, avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174)#129 AS avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177]\n\n(77) HashAggregate\nInput [7]: [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, avg(ue.courses_count)#175, avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177]\nKeys [1]: [cohort_month_ts#27]\nFunctions [5]: [partial_count(c.user_id#170L) FILTER (WHERE (gid#169 = 1)), partial_count(ue.user_id#171L) FILTER (WHERE (gid#169 = 2)), partial_count(ufv.user_id#172L) FILTER (WHERE (gid#169 = 3)), partial_first(avg(ue.courses_count)#175, true) FILTER (WHERE (gid#169 = 0)), partial_first(avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177, true) FILTER (WHERE (gid#169 = 0))]\nAggregate Attributes [7]: [count#179L, count#180L, count#181L, first#182, valueSet#183, first#184, valueSet#185]\nResults [8]: [cohort_month_ts#27, count#186L, count#187L, count#188L, first#189, valueSet#190, first#191, valueSet#192]\n\n(78) Exchange\nInput [8]: [cohort_month_ts#27, count#186L, count#187L, count#188L, first#189, valueSet#190, first#191, valueSet#192]\nArguments: hashpartitioning(cohort_month_ts#27, 200), ENSURE_REQUIREMENTS, [plan_id=143]\n\n(79) HashAggregate\nInput [8]: [cohort_month_ts#27, count#186L, count#187L, count#188L, first#189, valueSet#190, first#191, valueSet#192]\nKeys [1]: [cohort_month_ts#27]\nFunctions [5]: [count(c.user_id#170L), count(ue.user_id#171L), count(ufv.user_id#172L), first(avg(ue.courses_count)#175, true), first(avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177, true)]\nAggregate Attributes [5]: [count(c.user_id#170L)#131L, count(ue.user_id#171L)#132L, count(ufv.user_id#172L)#133L, first(avg(ue.courses_count)#175) ignore nulls#176, first(avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177) ignore nulls#178]\nResults [6]: [cohort_month_ts#27, count(c.user_id#170L)#131L AS users_in_cohort#124L, count(ue.user_id#171L)#132L AS enrolled_users#125L, count(ufv.user_id#172L)#133L AS active_users#126L, round(first(avg(ue.courses_count)#175) ignore nulls#176, 2) AS avg_courses_per_user#128, round(first(avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177) ignore nulls#178, 2) AS avg_time_to_first_view#130]\n\n(80) Project\nOutput [7]: [date_format(cohort_month_ts#27, yyyy-MM, Some(Europe/Samara)) AS cohort_month#154, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130, CASE WHEN NOT (users_in_cohort#124L = 0) THEN round(((cast(active_users#126L as double) * 100.0) / cast(users_in_cohort#124L as double)), 2) END AS retention_rate#146]\nInput [6]: [cohort_month_ts#27, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130]\n\n(81) Exchange\nInput [7]: [cohort_month#154, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130, retention_rate#146]\nArguments: rangepartitioning(cohort_month#154 ASC NULLS FIRST, 200), ENSURE_REQUIREMENTS, [plan_id=147]\n\n(82) Sort\nInput [7]: [cohort_month#154, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130, retention_rate#146]\nArguments: [cohort_month#154 ASC NULLS FIRST], true, 0\n\n(83) WriteFiles\nInput [7]: [cohort_month#154, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130, retention_rate#146]\n\n(84) Execute InsertIntoHadoopFsRelationCommand\nInput: []\nArguments: s3a://apavlovets-bucket/marts/user_cohort_analysis.parquet, false, Parquet, [path=s3a://apavlovets-bucket/marts/user_cohort_analysis.parquet], Overwrite, [cohort_month, users_in_cohort, enrolled_users, active_users, avg_courses_per_user, avg_time_to_first_view, retention_rate]\n\n(85) AdaptiveSparkPlan\nOutput: []\nArguments: isFinalPlan=true\n\n","sparkPlanInfo":{"nodeName":"AdaptiveSparkPlan","simpleString":"AdaptiveSparkPlan isFinalPlan=true","children":[{"nodeName":"Execute InsertIntoHadoopFsRelationCommand","simpleString":"Execute InsertIntoHadoopFsRelationCommand s3a://apavlovets-bucket/marts/user_cohort_analysis.parquet, false, Parquet, [path=s3a://apavlovets-bucket/marts/user_cohort_analysis.parquet], Overwrite, [cohort_month, users_in_cohort, enrolled_users, active_users, avg_courses_per_user, avg_time_to_first_view, retention_rate]","children":[{"nodeName":"WriteFiles","simpleString":"WriteFiles","children":[{"nodeName":"WholeStageCodegen (10)","simpleString":"WholeStageCodegen (10)","children":[{"nodeName":"Sort","simpleString":"Sort [cohort_month#154 ASC NULLS FIRST], true, 0","children":[{"nodeName":"InputAdapter","simpleString":"InputAdapter","children":[{"nodeName":"AQEShuffleRead","simpleString":"AQEShuffleRead coalesced","children":[{"nodeName":"ShuffleQueryStage","simpleString":"ShuffleQueryStage 8","children":[{"nodeName":"Exchange","simpleString":"Exchange rangepartitioning(cohort_month#154 ASC NULLS FIRST, 200), ENSURE_REQUIREMENTS, [plan_id=947]","children":[{"nodeName":"WholeStageCodegen (9)","simpleString":"WholeStageCodegen (9)","children":[{"nodeName":"Project","simpleString":"Project [date_format(cohort_month_ts#27, yyyy-MM, Some(Europe/Samara)) AS cohort_month#154, users_in_cohort#124L, enrolled_users#125L, active_users#126L, avg_courses_per_user#128, avg_time_to_first_view#130, CASE WHEN NOT (users_in_cohort#124L = 0) THEN round(((cast(active_users#126L as double) * 100.0) / cast(users_in_cohort#124L as double)), 2) END AS retention_rate#146]","children":[{"nodeName":"HashAggregate","simpleString":"HashAggregate(keys=[cohort_month_ts#27], functions=[count(c.user_id#170L), count(ue.user_id#171L), count(ufv.user_id#172L), first(avg(ue.courses_count)#175, true), first(avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177, true)])","children":[{"nodeName":"InputAdapter","simpleString":"InputAdapter","children":[{"nodeName":"AQEShuffleRead","simpleString":"AQEShuffleRead coalesced","children":[{"nodeName":"ShuffleQueryStage","simpleString":"ShuffleQueryStage 7","children":[{"nodeName":"Exchange","simpleString":"Exchange hashpartitioning(cohort_month_ts#27, 200), ENSURE_REQUIREMENTS, [plan_id=899]","children":[{"nodeName":"WholeStageCodegen (8)","simpleString":"WholeStageCodegen (8)","children":[{"nodeName":"HashAggregate","simpleString":"HashAggregate(keys=[cohort_month_ts#27], functions=[partial_count(c.user_id#170L) FILTER (WHERE (gid#169 = 1)), partial_count(ue.user_id#171L) FILTER (WHERE (gid#169 = 2)), partial_count(ufv.user_id#172L) FILTER (WHERE (gid#169 = 3)), partial_first(avg(ue.courses_count)#175, true) FILTER (WHERE (gid#169 = 0)), partial_first(avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE)))#177, true) FILTER (WHERE (gid#169 = 0))])","children":[{"nodeName":"HashAggregate","simpleString":"HashAggregate(keys=[cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169], functions=[avg(ue.courses_count#173L), avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174)])","children":[{"nodeName":"InputAdapter","simpleString":"InputAdapter","children":[{"nodeName":"AQEShuffleRead","simpleString":"AQEShuffleRead coalesced","children":[{"nodeName":"ShuffleQueryStage","simpleString":"ShuffleQueryStage 6","children":[{"nodeName":"Exchange","simpleString":"Exchange hashpartitioning(cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, 200), ENSURE_REQUIREMENTS, [plan_id=821]","children":[{"nodeName":"WholeStageCodegen (7)","simpleString":"WholeStageCodegen (7)","children":[{"nodeName":"HashAggregate","simpleString":"HashAggregate(keys=[cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169], functions=[partial_avg(ue.courses_count#173L), partial_avg(datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174)])","children":[{"nodeName":"Expand","simpleString":"Expand [[cohort_month_ts#27, null, null, null, 0, courses_count#35L, datediff(cast(first_viewed_at#47 as date), cast(registration_date#57 as date))], [cohort_month_ts#27, user_id#26L, null, null, 1, null, null], [cohort_month_ts#27, null, user_id#11L, null, 2, null, null], [cohort_month_ts#27, null, null, user_id#19L, 3, null, null]], [cohort_month_ts#27, c.user_id#170L, ue.user_id#171L, ufv.user_id#172L, gid#169, ue.courses_count#173L, datediff(CAST(ufv.first_viewed_at AS DATE), CAST(u.registration_date AS DATE))#174]","children":[{"nodeName":"BroadcastHashJoin","simpleString":"BroadcastHashJoin [user_id#26L], [user_id#19L], LeftOuter, BuildRight, false","children":[{"nodeName":"BroadcastHashJoin","simpleString":"BroadcastHashJoin [user_id#26L], [user_id#11L], LeftOuter, BuildRight, false","children":[{"nodeName":"Project","simpleString":"Project [user_id#26L, cohort_month_ts#27, registration_date#57]","children":[{"nodeName":"BroadcastHashJoin","simpleString":"BroadcastHashJoin [user_id#26L], [id#53L], LeftOuter, BuildRight, false","children":[{"nodeName":"Project","simpleString":"Project [id#0L AS user_id#26L, date_trunc(month, registration_date#4, Some(Europe/Samara)) AS cohort_month_ts#27]","children":[{"nodeName":"InputAdapter","simpleString":"InputAdapter","children":[{"nodeName":"Scan csv ","simpleString":"FileScan csv [id#0L,registration_date#4] Batched: false, DataFilters: [], Format: CSV, Location: InMemoryFileIndex(1 paths)[s3a://apavlovets-bucket/raw/users.csv], PartitionFilters: [], PushedFilters: [], ReadSchema: struct","children":[],"metadata":{"Location":"InMemoryFileIndex(1 paths)[s3a://apavlovets-bucket/raw/users.csv]","ReadSchema":"struct","Format":"CSV","Batched":"false","PartitionFilters":"[]","PushedFilters":"[]","DataFilters":"[]"},"metrics":[{"name":"number of output rows","accumulatorId":1179,"metricType":"sum"},{"name":"number of files read","accumulatorId":1180,"metricType":"sum"},{"name":"metadata time","accumulatorId":1181,"metricType":"timing"},{"name":"size of files read","accumulatorId":1182,"metricType":"size"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[]},{"nodeName":"InputAdapter","simpleString":"InputAdapter","children":[{"nodeName":"BroadcastQueryStage","simpleString":"BroadcastQueryStage 0","children":[{"nodeName":"BroadcastExchange","simpleString":"BroadcastExchange HashedRelationBroadcastMode(List(input[0, bigint, false]),false), [plan_id=213]","children":[{"nodeName":"WholeStageCodegen (1)","simpleString":"WholeStageCodegen (1)","children":[{"nodeName":"Filter","simpleString":"Filter isnotnull(id#53L)","children":[{"nodeName":"InputAdapter","simpleString":"InputAdapter","children":[{"nodeName":"Scan csv ","simpleString":"FileScan csv [id#53L,registration_date#57] Batched: false, DataFilters: [isnotnull(id#53L)], Format: CSV, Location: InMemoryFileIndex(1 paths)[s3a://apavlovets-bucket/raw/users.csv], PartitionFilters: [], PushedFilters: [IsNotNull(id)], ReadSchema: struct","children":[],"metadata":{"Location":"InMemoryFileIndex(1 paths)[s3a://apavlovets-bucket/raw/users.csv]","ReadSchema":"struct","Format":"CSV","Batched":"false","PartitionFilters":"[]","PushedFilters":"[IsNotNull(id)]","DataFilters":"[isnotnull(id#53L)]"},"metrics":[{"name":"number of output rows","accumulatorId":114,"metricType":"sum"},{"name":"number of files read","accumulatorId":115,"metricType":"sum"},{"name":"metadata time","accumulatorId":116,"metricType":"timing"},{"name":"size of files read","accumulatorId":117,"metricType":"size"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"number of output rows","accumulatorId":343,"metricType":"sum"}]}],"metadata":{},"metrics":[{"name":"duration","accumulatorId":342,"metricType":"timing"}]}],"metadata":{},"metrics":[{"name":"time to broadcast","accumulatorId":341,"metricType":"timing"},{"name":"time to build","accumulatorId":340,"metricType":"timing"},{"name":"time to collect","accumulatorId":339,"metricType":"timing"},{"name":"number of output rows","accumulatorId":338,"metricType":"sum"},{"name":"data size","accumulatorId":337,"metricType":"size"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"number of output rows","accumulatorId":1178,"metricType":"sum"}]}],"metadata":{},"metrics":[]},{"nodeName":"InputAdapter","simpleString":"InputAdapter","children":[{"nodeName":"BroadcastQueryStage","simpleString":"BroadcastQueryStage 5","children":[{"nodeName":"BroadcastExchange","simpleString":"BroadcastExchange HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=700]","children":[{"nodeName":"WholeStageCodegen (6)","simpleString":"WholeStageCodegen (6)","children":[{"nodeName":"HashAggregate","simpleString":"HashAggregate(keys=[user_id#11L], functions=[count(distinct course_id#12L)])","children":[{"nodeName":"InputAdapter","simpleString":"InputAdapter","children":[{"nodeName":"AQEShuffleRead","simpleString":"AQEShuffleRead coalesced","children":[{"nodeName":"ShuffleQueryStage","simpleString":"ShuffleQueryStage 4","children":[{"nodeName":"Exchange","simpleString":"Exchange hashpartitioning(user_id#11L, 200), ENSURE_REQUIREMENTS, [plan_id=507]","children":[{"nodeName":"WholeStageCodegen (5)","simpleString":"WholeStageCodegen (5)","children":[{"nodeName":"HashAggregate","simpleString":"HashAggregate(keys=[user_id#11L], functions=[partial_count(distinct course_id#12L)])","children":[{"nodeName":"HashAggregate","simpleString":"HashAggregate(keys=[user_id#11L, course_id#12L], functions=[])","children":[{"nodeName":"InputAdapter","simpleString":"InputAdapter","children":[{"nodeName":"AQEShuffleRead","simpleString":"AQEShuffleRead coalesced","children":[{"nodeName":"ShuffleQueryStage","simpleString":"ShuffleQueryStage 1","children":[{"nodeName":"Exchange","simpleString":"Exchange hashpartitioning(user_id#11L, course_id#12L, 200), ENSURE_REQUIREMENTS, [plan_id=226]","children":[{"nodeName":"WholeStageCodegen (2)","simpleString":"WholeStageCodegen (2)","children":[{"nodeName":"HashAggregate","simpleString":"HashAggregate(keys=[user_id#11L, course_id#12L], functions=[])","children":[{"nodeName":"Filter","simpleString":"Filter isnotnull(user_id#11L)","children":[{"nodeName":"InputAdapter","simpleString":"InputAdapter","children":[{"nodeName":"Scan csv ","simpleString":"FileScan csv [user_id#11L,course_id#12L] Batched: false, DataFilters: [isnotnull(user_id#11L)], Format: CSV, Location: InMemoryFileIndex(1 paths)[s3a://apavlovets-bucket/raw/enrollments.csv], PartitionFilters: [], PushedFilters: [IsNotNull(user_id)], ReadSchema: struct","children":[],"metadata":{"Location":"InMemoryFileIndex(1 paths)[s3a://apavlovets-bucket/raw/enrollments.csv]","ReadSchema":"struct","Format":"CSV","Batched":"false","PartitionFilters":"[]","PushedFilters":"[IsNotNull(user_id)]","DataFilters":"[isnotnull(user_id#11L)]"},"metrics":[{"name":"number of output rows","accumulatorId":192,"metricType":"sum"},{"name":"number of files read","accumulatorId":193,"metricType":"sum"},{"name":"metadata time","accumulatorId":194,"metricType":"timing"},{"name":"size of files read","accumulatorId":195,"metricType":"size"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"number of output rows","accumulatorId":418,"metricType":"sum"}]}],"metadata":{},"metrics":[{"name":"spill size","accumulatorId":414,"metricType":"size"},{"name":"time in aggregation build","accumulatorId":415,"metricType":"timing"},{"name":"peak memory","accumulatorId":413,"metricType":"size"},{"name":"number of output rows","accumulatorId":412,"metricType":"sum"},{"name":"number of sort fallback tasks","accumulatorId":417,"metricType":"sum"},{"name":"avg hash probes per key","accumulatorId":416,"metricType":"average"}]}],"metadata":{},"metrics":[{"name":"duration","accumulatorId":411,"metricType":"timing"}]}],"metadata":{},"metrics":[{"name":"shuffle records written","accumulatorId":409,"metricType":"sum"},{"name":"local merged chunks fetched","accumulatorId":403,"metricType":"sum"},{"name":"shuffle write time","accumulatorId":410,"metricType":"nsTiming"},{"name":"remote merged bytes read","accumulatorId":404,"metricType":"size"},{"name":"local merged blocks fetched","accumulatorId":401,"metricType":"sum"},{"name":"corrupt merged block chunks","accumulatorId":398,"metricType":"sum"},{"name":"remote merged reqs duration","accumulatorId":407,"metricType":"timing"},{"name":"remote merged blocks fetched","accumulatorId":400,"metricType":"sum"},{"name":"records read","accumulatorId":397,"metricType":"sum"},{"name":"local bytes read","accumulatorId":395,"metricType":"size"},{"name":"fetch wait time","accumulatorId":396,"metricType":"timing"},{"name":"remote bytes read","accumulatorId":393,"metricType":"size"},{"name":"merged fetch fallback count","accumulatorId":399,"metricType":"sum"},{"name":"local blocks read","accumulatorId":392,"metricType":"sum"},{"name":"remote merged chunks fetched","accumulatorId":402,"metricType":"sum"},{"name":"remote blocks read","accumulatorId":391,"metricType":"sum"},{"name":"data size","accumulatorId":389,"metricType":"size"},{"name":"local merged bytes read","accumulatorId":405,"metricType":"size"},{"name":"number of partitions","accumulatorId":390,"metricType":"sum"},{"name":"remote reqs duration","accumulatorId":406,"metricType":"timing"},{"name":"remote bytes read to disk","accumulatorId":394,"metricType":"size"},{"name":"shuffle bytes written","accumulatorId":408,"metricType":"size"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"number of partitions","accumulatorId":845,"metricType":"sum"},{"name":"partition data size","accumulatorId":846,"metricType":"size"},{"name":"number of coalesced partitions","accumulatorId":847,"metricType":"sum"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"spill size","accumulatorId":841,"metricType":"size"},{"name":"time in aggregation build","accumulatorId":842,"metricType":"timing"},{"name":"peak memory","accumulatorId":840,"metricType":"size"},{"name":"number of output rows","accumulatorId":839,"metricType":"sum"},{"name":"number of sort fallback tasks","accumulatorId":844,"metricType":"sum"},{"name":"avg hash probes per key","accumulatorId":843,"metricType":"average"}]}],"metadata":{},"metrics":[{"name":"spill size","accumulatorId":835,"metricType":"size"},{"name":"time in aggregation build","accumulatorId":836,"metricType":"timing"},{"name":"peak memory","accumulatorId":834,"metricType":"size"},{"name":"number of output rows","accumulatorId":833,"metricType":"sum"},{"name":"number of sort fallback tasks","accumulatorId":838,"metricType":"sum"},{"name":"avg hash probes per key","accumulatorId":837,"metricType":"average"}]}],"metadata":{},"metrics":[{"name":"duration","accumulatorId":832,"metricType":"timing"}]}],"metadata":{},"metrics":[{"name":"shuffle records written","accumulatorId":830,"metricType":"sum"},{"name":"local merged chunks fetched","accumulatorId":824,"metricType":"sum"},{"name":"shuffle write time","accumulatorId":831,"metricType":"nsTiming"},{"name":"remote merged bytes read","accumulatorId":825,"metricType":"size"},{"name":"local merged blocks fetched","accumulatorId":822,"metricType":"sum"},{"name":"corrupt merged block chunks","accumulatorId":819,"metricType":"sum"},{"name":"remote merged reqs duration","accumulatorId":828,"metricType":"timing"},{"name":"remote merged blocks fetched","accumulatorId":821,"metricType":"sum"},{"name":"records read","accumulatorId":818,"metricType":"sum"},{"name":"local bytes read","accumulatorId":816,"metricType":"size"},{"name":"fetch wait time","accumulatorId":817,"metricType":"timing"},{"name":"remote bytes read","accumulatorId":814,"metricType":"size"},{"name":"merged fetch fallback count","accumulatorId":820,"metricType":"sum"},{"name":"local blocks read","accumulatorId":813,"metricType":"sum"},{"name":"remote merged chunks fetched","accumulatorId":823,"metricType":"sum"},{"name":"remote blocks read","accumulatorId":812,"metricType":"sum"},{"name":"data size","accumulatorId":810,"metricType":"size"},{"name":"local merged bytes read","accumulatorId":826,"metricType":"size"},{"name":"number of partitions","accumulatorId":811,"metricType":"sum"},{"name":"remote reqs duration","accumulatorId":827,"metricType":"timing"},{"name":"remote bytes read to disk","accumulatorId":815,"metricType":"size"},{"name":"shuffle bytes written","accumulatorId":829,"metricType":"size"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"number of partitions","accumulatorId":1037,"metricType":"sum"},{"name":"partition data size","accumulatorId":1038,"metricType":"size"},{"name":"number of coalesced partitions","accumulatorId":1039,"metricType":"sum"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"spill size","accumulatorId":1033,"metricType":"size"},{"name":"time in aggregation build","accumulatorId":1034,"metricType":"timing"},{"name":"peak memory","accumulatorId":1032,"metricType":"size"},{"name":"number of output rows","accumulatorId":1031,"metricType":"sum"},{"name":"number of sort fallback tasks","accumulatorId":1036,"metricType":"sum"},{"name":"avg hash probes per key","accumulatorId":1035,"metricType":"average"}]}],"metadata":{},"metrics":[{"name":"duration","accumulatorId":1030,"metricType":"timing"}]}],"metadata":{},"metrics":[{"name":"time to broadcast","accumulatorId":1029,"metricType":"timing"},{"name":"time to build","accumulatorId":1028,"metricType":"timing"},{"name":"time to collect","accumulatorId":1027,"metricType":"timing"},{"name":"number of output rows","accumulatorId":1026,"metricType":"sum"},{"name":"data size","accumulatorId":1025,"metricType":"size"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"number of output rows","accumulatorId":1177,"metricType":"sum"}]},{"nodeName":"InputAdapter","simpleString":"InputAdapter","children":[{"nodeName":"BroadcastQueryStage","simpleString":"BroadcastQueryStage 3","children":[{"nodeName":"BroadcastExchange","simpleString":"BroadcastExchange HashedRelationBroadcastMode(List(input[0, bigint, true]),false), [plan_id=384]","children":[{"nodeName":"WholeStageCodegen (4)","simpleString":"WholeStageCodegen (4)","children":[{"nodeName":"HashAggregate","simpleString":"HashAggregate(keys=[user_id#19L], functions=[min(viewed_at#21)])","children":[{"nodeName":"InputAdapter","simpleString":"InputAdapter","children":[{"nodeName":"AQEShuffleRead","simpleString":"AQEShuffleRead coalesced","children":[{"nodeName":"ShuffleQueryStage","simpleString":"ShuffleQueryStage 2","children":[{"nodeName":"Exchange","simpleString":"Exchange hashpartitioning(user_id#19L, 200), ENSURE_REQUIREMENTS, [plan_id=246]","children":[{"nodeName":"WholeStageCodegen (3)","simpleString":"WholeStageCodegen (3)","children":[{"nodeName":"HashAggregate","simpleString":"HashAggregate(keys=[user_id#19L], functions=[partial_min(viewed_at#21)])","children":[{"nodeName":"Filter","simpleString":"Filter isnotnull(user_id#19L)","children":[{"nodeName":"InputAdapter","simpleString":"InputAdapter","children":[{"nodeName":"Scan csv ","simpleString":"FileScan csv [user_id#19L,viewed_at#21] Batched: false, DataFilters: [isnotnull(user_id#19L)], Format: CSV, Location: InMemoryFileIndex(1 paths)[s3a://apavlovets-bucket/raw/lesson_views.csv], PartitionFilters: [], PushedFilters: [IsNotNull(user_id)], ReadSchema: struct","children":[],"metadata":{"Location":"InMemoryFileIndex(1 paths)[s3a://apavlovets-bucket/raw/lesson_views.csv]","ReadSchema":"struct","Format":"CSV","Batched":"false","PartitionFilters":"[]","PushedFilters":"[IsNotNull(user_id)]","DataFilters":"[isnotnull(user_id#19L)]"},"metrics":[{"name":"number of output rows","accumulatorId":236,"metricType":"sum"},{"name":"number of files read","accumulatorId":237,"metricType":"sum"},{"name":"metadata time","accumulatorId":238,"metricType":"timing"},{"name":"size of files read","accumulatorId":239,"metricType":"size"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"number of output rows","accumulatorId":459,"metricType":"sum"}]}],"metadata":{},"metrics":[{"name":"spill size","accumulatorId":455,"metricType":"size"},{"name":"time in aggregation build","accumulatorId":456,"metricType":"timing"},{"name":"peak memory","accumulatorId":454,"metricType":"size"},{"name":"number of output rows","accumulatorId":453,"metricType":"sum"},{"name":"number of sort fallback tasks","accumulatorId":458,"metricType":"sum"},{"name":"avg hash probes per key","accumulatorId":457,"metricType":"average"}]}],"metadata":{},"metrics":[{"name":"duration","accumulatorId":452,"metricType":"timing"}]}],"metadata":{},"metrics":[{"name":"shuffle records written","accumulatorId":450,"metricType":"sum"},{"name":"local merged chunks fetched","accumulatorId":444,"metricType":"sum"},{"name":"shuffle write time","accumulatorId":451,"metricType":"nsTiming"},{"name":"remote merged bytes read","accumulatorId":445,"metricType":"size"},{"name":"local merged blocks fetched","accumulatorId":442,"metricType":"sum"},{"name":"corrupt merged block chunks","accumulatorId":439,"metricType":"sum"},{"name":"remote merged reqs duration","accumulatorId":448,"metricType":"timing"},{"name":"remote merged blocks fetched","accumulatorId":441,"metricType":"sum"},{"name":"records read","accumulatorId":438,"metricType":"sum"},{"name":"local bytes read","accumulatorId":436,"metricType":"size"},{"name":"fetch wait time","accumulatorId":437,"metricType":"timing"},{"name":"remote bytes read","accumulatorId":434,"metricType":"size"},{"name":"merged fetch fallback count","accumulatorId":440,"metricType":"sum"},{"name":"local blocks read","accumulatorId":433,"metricType":"sum"},{"name":"remote merged chunks fetched","accumulatorId":443,"metricType":"sum"},{"name":"remote blocks read","accumulatorId":432,"metricType":"sum"},{"name":"data size","accumulatorId":430,"metricType":"size"},{"name":"local merged bytes read","accumulatorId":446,"metricType":"size"},{"name":"number of partitions","accumulatorId":431,"metricType":"sum"},{"name":"remote reqs duration","accumulatorId":447,"metricType":"timing"},{"name":"remote bytes read to disk","accumulatorId":435,"metricType":"size"},{"name":"shuffle bytes written","accumulatorId":449,"metricType":"size"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"number of partitions","accumulatorId":689,"metricType":"sum"},{"name":"partition data size","accumulatorId":690,"metricType":"size"},{"name":"number of coalesced partitions","accumulatorId":691,"metricType":"sum"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"spill size","accumulatorId":685,"metricType":"size"},{"name":"time in aggregation build","accumulatorId":686,"metricType":"timing"},{"name":"peak memory","accumulatorId":684,"metricType":"size"},{"name":"number of output rows","accumulatorId":683,"metricType":"sum"},{"name":"number of sort fallback tasks","accumulatorId":688,"metricType":"sum"},{"name":"avg hash probes per key","accumulatorId":687,"metricType":"average"}]}],"metadata":{},"metrics":[{"name":"duration","accumulatorId":682,"metricType":"timing"}]}],"metadata":{},"metrics":[{"name":"time to broadcast","accumulatorId":681,"metricType":"timing"},{"name":"time to build","accumulatorId":680,"metricType":"timing"},{"name":"time to collect","accumulatorId":679,"metricType":"timing"},{"name":"number of output rows","accumulatorId":678,"metricType":"sum"},{"name":"data size","accumulatorId":677,"metricType":"size"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"number of output rows","accumulatorId":1176,"metricType":"sum"}]}],"metadata":{},"metrics":[{"name":"number of output rows","accumulatorId":1175,"metricType":"sum"}]}],"metadata":{},"metrics":[{"name":"spill size","accumulatorId":1171,"metricType":"size"},{"name":"time in aggregation build","accumulatorId":1172,"metricType":"timing"},{"name":"peak memory","accumulatorId":1170,"metricType":"size"},{"name":"number of output rows","accumulatorId":1169,"metricType":"sum"},{"name":"number of sort fallback tasks","accumulatorId":1174,"metricType":"sum"},{"name":"avg hash probes per key","accumulatorId":1173,"metricType":"average"}]}],"metadata":{},"metrics":[{"name":"duration","accumulatorId":1168,"metricType":"timing"}]}],"metadata":{},"metrics":[{"name":"shuffle records written","accumulatorId":1166,"metricType":"sum"},{"name":"local merged chunks fetched","accumulatorId":1160,"metricType":"sum"},{"name":"shuffle write time","accumulatorId":1167,"metricType":"nsTiming"},{"name":"remote merged bytes read","accumulatorId":1161,"metricType":"size"},{"name":"local merged blocks fetched","accumulatorId":1158,"metricType":"sum"},{"name":"corrupt merged block chunks","accumulatorId":1155,"metricType":"sum"},{"name":"remote merged reqs duration","accumulatorId":1164,"metricType":"timing"},{"name":"remote merged blocks fetched","accumulatorId":1157,"metricType":"sum"},{"name":"records read","accumulatorId":1154,"metricType":"sum"},{"name":"local bytes read","accumulatorId":1152,"metricType":"size"},{"name":"fetch wait time","accumulatorId":1153,"metricType":"timing"},{"name":"remote bytes read","accumulatorId":1150,"metricType":"size"},{"name":"merged fetch fallback count","accumulatorId":1156,"metricType":"sum"},{"name":"local blocks read","accumulatorId":1149,"metricType":"sum"},{"name":"remote merged chunks fetched","accumulatorId":1159,"metricType":"sum"},{"name":"remote blocks read","accumulatorId":1148,"metricType":"sum"},{"name":"data size","accumulatorId":1146,"metricType":"size"},{"name":"local merged bytes read","accumulatorId":1162,"metricType":"size"},{"name":"number of partitions","accumulatorId":1147,"metricType":"sum"},{"name":"remote reqs duration","accumulatorId":1163,"metricType":"timing"},{"name":"remote bytes read to disk","accumulatorId":1151,"metricType":"size"},{"name":"shuffle bytes written","accumulatorId":1165,"metricType":"size"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"number of partitions","accumulatorId":1290,"metricType":"sum"},{"name":"partition data size","accumulatorId":1291,"metricType":"size"},{"name":"number of coalesced partitions","accumulatorId":1292,"metricType":"sum"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"spill size","accumulatorId":1286,"metricType":"size"},{"name":"time in aggregation build","accumulatorId":1287,"metricType":"timing"},{"name":"peak memory","accumulatorId":1285,"metricType":"size"},{"name":"number of output rows","accumulatorId":1284,"metricType":"sum"},{"name":"number of sort fallback tasks","accumulatorId":1289,"metricType":"sum"},{"name":"avg hash probes per key","accumulatorId":1288,"metricType":"average"}]}],"metadata":{},"metrics":[{"name":"spill size","accumulatorId":1280,"metricType":"size"},{"name":"time in aggregation build","accumulatorId":1281,"metricType":"timing"},{"name":"peak memory","accumulatorId":1279,"metricType":"size"},{"name":"number of output rows","accumulatorId":1278,"metricType":"sum"},{"name":"number of sort fallback tasks","accumulatorId":1283,"metricType":"sum"},{"name":"avg hash probes per key","accumulatorId":1282,"metricType":"average"}]}],"metadata":{},"metrics":[{"name":"duration","accumulatorId":1277,"metricType":"timing"}]}],"metadata":{},"metrics":[{"name":"shuffle records written","accumulatorId":1275,"metricType":"sum"},{"name":"local merged chunks fetched","accumulatorId":1269,"metricType":"sum"},{"name":"shuffle write time","accumulatorId":1276,"metricType":"nsTiming"},{"name":"remote merged bytes read","accumulatorId":1270,"metricType":"size"},{"name":"local merged blocks fetched","accumulatorId":1267,"metricType":"sum"},{"name":"corrupt merged block chunks","accumulatorId":1264,"metricType":"sum"},{"name":"remote merged reqs duration","accumulatorId":1273,"metricType":"timing"},{"name":"remote merged blocks fetched","accumulatorId":1266,"metricType":"sum"},{"name":"records read","accumulatorId":1263,"metricType":"sum"},{"name":"local bytes read","accumulatorId":1261,"metricType":"size"},{"name":"fetch wait time","accumulatorId":1262,"metricType":"timing"},{"name":"remote bytes read","accumulatorId":1259,"metricType":"size"},{"name":"merged fetch fallback count","accumulatorId":1265,"metricType":"sum"},{"name":"local blocks read","accumulatorId":1258,"metricType":"sum"},{"name":"remote merged chunks fetched","accumulatorId":1268,"metricType":"sum"},{"name":"remote blocks read","accumulatorId":1257,"metricType":"sum"},{"name":"data size","accumulatorId":1255,"metricType":"size"},{"name":"local merged bytes read","accumulatorId":1271,"metricType":"size"},{"name":"number of partitions","accumulatorId":1256,"metricType":"sum"},{"name":"remote reqs duration","accumulatorId":1272,"metricType":"timing"},{"name":"remote bytes read to disk","accumulatorId":1260,"metricType":"size"},{"name":"shuffle bytes written","accumulatorId":1274,"metricType":"size"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"number of partitions","accumulatorId":1366,"metricType":"sum"},{"name":"partition data size","accumulatorId":1367,"metricType":"size"},{"name":"number of coalesced partitions","accumulatorId":1368,"metricType":"sum"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"spill size","accumulatorId":1362,"metricType":"size"},{"name":"time in aggregation build","accumulatorId":1363,"metricType":"timing"},{"name":"peak memory","accumulatorId":1361,"metricType":"size"},{"name":"number of output rows","accumulatorId":1360,"metricType":"sum"},{"name":"number of sort fallback tasks","accumulatorId":1365,"metricType":"sum"},{"name":"avg hash probes per key","accumulatorId":1364,"metricType":"average"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"duration","accumulatorId":1359,"metricType":"timing"}]}],"metadata":{},"metrics":[{"name":"shuffle records written","accumulatorId":1357,"metricType":"sum"},{"name":"local merged chunks fetched","accumulatorId":1351,"metricType":"sum"},{"name":"shuffle write time","accumulatorId":1358,"metricType":"nsTiming"},{"name":"remote merged bytes read","accumulatorId":1352,"metricType":"size"},{"name":"local merged blocks fetched","accumulatorId":1349,"metricType":"sum"},{"name":"corrupt merged block chunks","accumulatorId":1346,"metricType":"sum"},{"name":"remote merged reqs duration","accumulatorId":1355,"metricType":"timing"},{"name":"remote merged blocks fetched","accumulatorId":1348,"metricType":"sum"},{"name":"records read","accumulatorId":1345,"metricType":"sum"},{"name":"local bytes read","accumulatorId":1343,"metricType":"size"},{"name":"fetch wait time","accumulatorId":1344,"metricType":"timing"},{"name":"remote bytes read","accumulatorId":1341,"metricType":"size"},{"name":"merged fetch fallback count","accumulatorId":1347,"metricType":"sum"},{"name":"local blocks read","accumulatorId":1340,"metricType":"sum"},{"name":"remote merged chunks fetched","accumulatorId":1350,"metricType":"sum"},{"name":"remote blocks read","accumulatorId":1339,"metricType":"sum"},{"name":"data size","accumulatorId":1337,"metricType":"size"},{"name":"local merged bytes read","accumulatorId":1353,"metricType":"size"},{"name":"number of partitions","accumulatorId":1338,"metricType":"sum"},{"name":"remote reqs duration","accumulatorId":1354,"metricType":"timing"},{"name":"remote bytes read to disk","accumulatorId":1342,"metricType":"size"},{"name":"shuffle bytes written","accumulatorId":1356,"metricType":"size"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"number of partitions","accumulatorId":1449,"metricType":"sum"},{"name":"partition data size","accumulatorId":1450,"metricType":"size"},{"name":"number of coalesced partitions","accumulatorId":1451,"metricType":"sum"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"sort time","accumulatorId":1446,"metricType":"timing"},{"name":"peak memory","accumulatorId":1447,"metricType":"size"},{"name":"spill size","accumulatorId":1448,"metricType":"size"}]}],"metadata":{},"metrics":[{"name":"duration","accumulatorId":1445,"metricType":"timing"}]}],"metadata":{},"metrics":[]}],"metadata":{},"metrics":[{"name":"task commit time","accumulatorId":1443,"metricType":"timing"},{"name":"number of written files","accumulatorId":1439,"metricType":"sum"},{"name":"job commit time","accumulatorId":1444,"metricType":"timing"},{"name":"number of output rows","accumulatorId":1441,"metricType":"sum"},{"name":"number of dynamic part","accumulatorId":1442,"metricType":"sum"},{"name":"written output","accumulatorId":1440,"metricType":"size"}]}],"metadata":{},"metrics":[]}} {"Event":"org.apache.spark.sql.execution.ui.SparkListenerDriverAccumUpdates","executionId":0,"accumUpdates":[[1449,1],[1451,1],[1450,406]]} {"Event":"SparkListenerJobStart","Job ID":10,"Submission Time":1784546407011,"Stage Infos":[{"Stage ID":19,"Stage Attempt ID":0,"Stage Name":"parquet at NativeMethodAccessorImpl.java:0","Number of Tasks":1,"RDD Info":[{"RDD ID":24,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"54\",\"name\":\"Exchange\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[23],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"DETERMINATE","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":22,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"70\",\"name\":\"Scan csv \"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[21],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"DETERMINATE","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":23,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"55\",\"name\":\"WholeStageCodegen (7)\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[22],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"DETERMINATE","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":21,"Name":"FileScanRDD","Scope":"{\"id\":\"70\",\"name\":\"Scan csv \"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"DETERMINATE","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0}],"Parent IDs":[],"Details":"org.apache.spark.sql.DataFrameWriter.parquet(DataFrameWriter.scala:792)\njava.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\njava.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)\njava.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\njava.base/java.lang.reflect.Method.invoke(Method.java:569)\npy4j.reflection.MethodInvoker.invoke(MethodInvoker.java:244)\npy4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:374)\npy4j.Gateway.invoke(Gateway.java:282)\npy4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:132)\npy4j.commands.CallCommand.execute(CallCommand.java:79)\npy4j.ClientServerConnection.waitForCommands(ClientServerConnection.java:182)\npy4j.ClientServerConnection.run(ClientServerConnection.java:106)\njava.base/java.lang.Thread.run(Thread.java:840)","Accumulables":[],"Resource Profile Id":0,"Shuffle Push Enabled":false,"Shuffle Push Mergers Count":0},{"Stage ID":20,"Stage Attempt ID":0,"Stage Name":"parquet at NativeMethodAccessorImpl.java:0","Number of Tasks":1,"RDD Info":[{"RDD ID":27,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"71\",\"name\":\"Exchange\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[26],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"UNORDERED","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":26,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"72\",\"name\":\"WholeStageCodegen (8)\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[25],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"UNORDERED","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":25,"Name":"ShuffledRowRDD","Scope":"{\"id\":\"76\",\"name\":\"AQEShuffleRead\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[24],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"UNORDERED","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0}],"Parent IDs":[19],"Details":"org.apache.spark.sql.DataFrameWriter.parquet(DataFrameWriter.scala:792)\njava.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\njava.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)\njava.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\njava.base/java.lang.reflect.Method.invoke(Method.java:569)\npy4j.reflection.MethodInvoker.invoke(MethodInvoker.java:244)\npy4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:374)\npy4j.Gateway.invoke(Gateway.java:282)\npy4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:132)\npy4j.commands.CallCommand.execute(CallCommand.java:79)\npy4j.ClientServerConnection.waitForCommands(ClientServerConnection.java:182)\npy4j.ClientServerConnection.run(ClientServerConnection.java:106)\njava.base/java.lang.Thread.run(Thread.java:840)","Accumulables":[],"Resource Profile Id":0,"Shuffle Push Enabled":false,"Shuffle Push Mergers Count":0},{"Stage ID":21,"Stage Attempt ID":0,"Stage Name":"parquet at NativeMethodAccessorImpl.java:0","Number of Tasks":1,"RDD Info":[{"RDD ID":33,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"77\",\"name\":\"Exchange\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[29],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"UNORDERED","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":28,"Name":"ShuffledRowRDD","Scope":"{\"id\":\"82\",\"name\":\"AQEShuffleRead\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[27],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"UNORDERED","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":29,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"78\",\"name\":\"WholeStageCodegen (9)\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[28],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"UNORDERED","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0}],"Parent IDs":[20],"Details":"org.apache.spark.sql.DataFrameWriter.parquet(DataFrameWriter.scala:792)\njava.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\njava.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)\njava.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\njava.base/java.lang.reflect.Method.invoke(Method.java:569)\npy4j.reflection.MethodInvoker.invoke(MethodInvoker.java:244)\npy4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:374)\npy4j.Gateway.invoke(Gateway.java:282)\npy4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:132)\npy4j.commands.CallCommand.execute(CallCommand.java:79)\npy4j.ClientServerConnection.waitForCommands(ClientServerConnection.java:182)\npy4j.ClientServerConnection.run(ClientServerConnection.java:106)\njava.base/java.lang.Thread.run(Thread.java:840)","Accumulables":[],"Resource Profile Id":0,"Shuffle Push Enabled":false,"Shuffle Push Mergers Count":0},{"Stage ID":22,"Stage Attempt ID":0,"Stage Name":"parquet at NativeMethodAccessorImpl.java:0","Number of Tasks":1,"RDD Info":[{"RDD ID":36,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"95\",\"name\":\"WriteFiles\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[35],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"UNORDERED","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":34,"Name":"ShuffledRowRDD","Scope":"{\"id\":\"99\",\"name\":\"AQEShuffleRead\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[33],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"UNORDERED","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":35,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"96\",\"name\":\"WholeStageCodegen (10)\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[34],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"UNORDERED","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0}],"Parent IDs":[21],"Details":"org.apache.spark.sql.DataFrameWriter.parquet(DataFrameWriter.scala:792)\njava.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\njava.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)\njava.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\njava.base/java.lang.reflect.Method.invoke(Method.java:569)\npy4j.reflection.MethodInvoker.invoke(MethodInvoker.java:244)\npy4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:374)\npy4j.Gateway.invoke(Gateway.java:282)\npy4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:132)\npy4j.commands.CallCommand.execute(CallCommand.java:79)\npy4j.ClientServerConnection.waitForCommands(ClientServerConnection.java:182)\npy4j.ClientServerConnection.run(ClientServerConnection.java:106)\njava.base/java.lang.Thread.run(Thread.java:840)","Accumulables":[],"Resource Profile Id":0,"Shuffle Push Enabled":false,"Shuffle Push Mergers Count":0}],"Stage IDs":[19,20,21,22],"Properties":{"spark.driver.port":"34351","spark.submit.pyFiles":"","spark.app.startTime":"1784546379461","spark.hadoop.fs.s3a.endpoint":"http://minio:9000","spark.rdd.compress":"True","spark.hadoop.fs.s3a.impl":"org.apache.hadoop.fs.s3a.S3AFileSystem","spark.app.submitTime":"1784546378209","spark.eventLog.dir":"file:/opt/spark-events","spark.hadoop.fs.s3a.aws.credentials.provider":"org.apache.hadoop.fs.s3a.SimpleAWSCredentialsProvider","spark.sql.execution.id":"0","spark.sql.warehouse.dir":"file:/opt/airflow/spark-warehouse","spark.master":"spark://spark-master:7077","spark.hadoop.fs.s3a.secret.key":"*********(redacted)","spark.executor.id":"driver","spark.app.name":"dm_user_cohort_analysis","spark.hadoop.fs.s3a.access.key":"*********(redacted)","spark.submit.deployMode":"client","spark.hadoop.fs.s3a.path.style.access":"true","spark.driver.host":"73850a3d530b","spark.app.id":"app-20260720151940-0099","spark.eventLog.compress":"true","spark.eventLog.enabled":"true","__fetch_continuous_blocks_in_batch_enabled":"true","spark.executor.extraJavaOptions":"-Djava.net.preferIPv6Addresses=false -XX:+IgnoreUnrecognizedVMOptions --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.base/sun.nio.cs=ALL-UNNAMED --add-opens=java.base/sun.security.action=ALL-UNNAMED --add-opens=java.base/sun.util.calendar=ALL-UNNAMED --add-opens=java.security.jgss/sun.security.krb5=ALL-UNNAMED -Djdk.reflect.useDirectMethodHandle=false","spark.sql.execution.root.id":"0","spark.hadoop.fs.s3a.connection.ssl.enabled":"false","spark.serializer.objectStreamReset":"100","spark.driver.extraJavaOptions":"-Djava.net.preferIPv6Addresses=false -XX:+IgnoreUnrecognizedVMOptions --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.base/sun.nio.cs=ALL-UNNAMED --add-opens=java.base/sun.security.action=ALL-UNNAMED --add-opens=java.base/sun.util.calendar=ALL-UNNAMED --add-opens=java.security.jgss/sun.security.krb5=ALL-UNNAMED -Djdk.reflect.useDirectMethodHandle=false"}} {"Event":"SparkListenerStageSubmitted","Stage Info":{"Stage ID":22,"Stage Attempt ID":0,"Stage Name":"parquet at NativeMethodAccessorImpl.java:0","Number of Tasks":1,"RDD Info":[{"RDD ID":36,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"95\",\"name\":\"WriteFiles\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[35],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"UNORDERED","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":34,"Name":"ShuffledRowRDD","Scope":"{\"id\":\"99\",\"name\":\"AQEShuffleRead\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[33],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"UNORDERED","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":35,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"96\",\"name\":\"WholeStageCodegen (10)\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[34],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"UNORDERED","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0}],"Parent IDs":[21],"Details":"org.apache.spark.sql.DataFrameWriter.parquet(DataFrameWriter.scala:792)\njava.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\njava.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)\njava.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\njava.base/java.lang.reflect.Method.invoke(Method.java:569)\npy4j.reflection.MethodInvoker.invoke(MethodInvoker.java:244)\npy4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:374)\npy4j.Gateway.invoke(Gateway.java:282)\npy4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:132)\npy4j.commands.CallCommand.execute(CallCommand.java:79)\npy4j.ClientServerConnection.waitForCommands(ClientServerConnection.java:182)\npy4j.ClientServerConnection.run(ClientServerConnection.java:106)\njava.base/java.lang.Thread.run(Thread.java:840)","Submission Time":1784546407011,"Accumulables":[],"Resource Profile Id":0,"Shuffle Push Enabled":false,"Shuffle Push Mergers Count":0},"Properties":{"spark.driver.port":"34351","spark.submit.pyFiles":"","spark.app.startTime":"1784546379461","spark.hadoop.fs.s3a.endpoint":"http://minio:9000","spark.rdd.compress":"True","spark.hadoop.fs.s3a.impl":"org.apache.hadoop.fs.s3a.S3AFileSystem","spark.app.submitTime":"1784546378209","spark.eventLog.dir":"file:/opt/spark-events","spark.hadoop.fs.s3a.aws.credentials.provider":"org.apache.hadoop.fs.s3a.SimpleAWSCredentialsProvider","spark.sql.execution.id":"0","spark.sql.warehouse.dir":"file:/opt/airflow/spark-warehouse","spark.master":"spark://spark-master:7077","spark.hadoop.fs.s3a.secret.key":"*********(redacted)","spark.executor.id":"driver","spark.app.name":"dm_user_cohort_analysis","spark.hadoop.fs.s3a.access.key":"*********(redacted)","spark.submit.deployMode":"client","spark.hadoop.fs.s3a.path.style.access":"true","spark.driver.host":"73850a3d530b","spark.app.id":"app-20260720151940-0099","spark.eventLog.compress":"true","spark.eventLog.enabled":"true","__fetch_continuous_blocks_in_batch_enabled":"true","spark.executor.extraJavaOptions":"-Djava.net.preferIPv6Addresses=false -XX:+IgnoreUnrecognizedVMOptions --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.base/sun.nio.cs=ALL-UNNAMED --add-opens=java.base/sun.security.action=ALL-UNNAMED --add-opens=java.base/sun.util.calendar=ALL-UNNAMED --add-opens=java.security.jgss/sun.security.krb5=ALL-UNNAMED -Djdk.reflect.useDirectMethodHandle=false","spark.sql.execution.root.id":"0","spark.hadoop.fs.s3a.connection.ssl.enabled":"false","spark.serializer.objectStreamReset":"100","spark.driver.extraJavaOptions":"-Djava.net.preferIPv6Addresses=false -XX:+IgnoreUnrecognizedVMOptions --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.base/sun.nio.cs=ALL-UNNAMED --add-opens=java.base/sun.security.action=ALL-UNNAMED --add-opens=java.base/sun.util.calendar=ALL-UNNAMED --add-opens=java.security.jgss/sun.security.krb5=ALL-UNNAMED -Djdk.reflect.useDirectMethodHandle=false"}} {"Event":"SparkListenerTaskStart","Stage ID":22,"Stage Attempt ID":0,"Task Info":{"Task ID":10,"Index":0,"Attempt":0,"Partition ID":0,"Launch Time":1784546407033,"Executor ID":"0","Host":"172.28.0.49","Locality":"NODE_LOCAL","Speculative":false,"Getting Result Time":0,"Finish Time":0,"Failed":false,"Killed":false,"Accumulables":[]}} {"Event":"SparkListenerTaskEnd","Stage ID":22,"Stage Attempt ID":0,"Task Type":"ResultTask","Task End Reason":{"Reason":"Success"},"Task Info":{"Task ID":10,"Index":0,"Attempt":0,"Partition ID":0,"Launch Time":1784546407033,"Executor ID":"0","Host":"172.28.0.49","Locality":"NODE_LOCAL","Speculative":false,"Getting Result Time":0,"Finish Time":1784546407679,"Failed":false,"Killed":false,"Accumulables":[{"ID":1340,"Name":"local blocks read","Update":"1","Value":"1","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1343,"Name":"local bytes read","Update":"383","Value":"383","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1344,"Name":"fetch wait time","Update":"0","Value":"0","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1345,"Name":"records read","Update":"4","Value":"4","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1443,"Name":"task commit time","Update":"93","Value":"93","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1445,"Name":"duration","Update":"276","Value":"276","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1446,"Name":"sort time","Update":"2","Value":"2","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1447,"Name":"peak memory","Update":"4259824","Value":"4259824","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1448,"Name":"spill size","Update":"0","Value":"0","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1452,"Name":"internal.metrics.executorDeserializeTime","Update":41,"Value":41,"Internal":true,"Count Failed Values":true},{"ID":1453,"Name":"internal.metrics.executorDeserializeCpuTime","Update":37213377,"Value":37213377,"Internal":true,"Count Failed Values":true},{"ID":1454,"Name":"internal.metrics.executorRunTime","Update":590,"Value":590,"Internal":true,"Count Failed Values":true},{"ID":1455,"Name":"internal.metrics.executorCpuTime","Update":477312939,"Value":477312939,"Internal":true,"Count Failed Values":true},{"ID":1456,"Name":"internal.metrics.resultSize","Update":17575,"Value":17575,"Internal":true,"Count Failed Values":true},{"ID":1458,"Name":"internal.metrics.resultSerializationTime","Update":3,"Value":3,"Internal":true,"Count Failed Values":true},{"ID":1461,"Name":"internal.metrics.peakExecutionMemory","Update":4259824,"Value":4259824,"Internal":true,"Count Failed Values":true},{"ID":1463,"Name":"internal.metrics.shuffle.read.remoteBlocksFetched","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":1464,"Name":"internal.metrics.shuffle.read.localBlocksFetched","Update":1,"Value":1,"Internal":true,"Count Failed Values":true},{"ID":1465,"Name":"internal.metrics.shuffle.read.remoteBytesRead","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":1466,"Name":"internal.metrics.shuffle.read.remoteBytesReadToDisk","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":1467,"Name":"internal.metrics.shuffle.read.localBytesRead","Update":383,"Value":383,"Internal":true,"Count Failed Values":true},{"ID":1468,"Name":"internal.metrics.shuffle.read.fetchWaitTime","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":1469,"Name":"internal.metrics.shuffle.read.recordsRead","Update":4,"Value":4,"Internal":true,"Count Failed Values":true},{"ID":1470,"Name":"internal.metrics.shuffle.push.read.corruptMergedBlockChunks","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":1471,"Name":"internal.metrics.shuffle.push.read.mergedFetchFallbackCount","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":1472,"Name":"internal.metrics.shuffle.push.read.remoteMergedBlocksFetched","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":1473,"Name":"internal.metrics.shuffle.push.read.localMergedBlocksFetched","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":1474,"Name":"internal.metrics.shuffle.push.read.remoteMergedChunksFetched","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":1475,"Name":"internal.metrics.shuffle.push.read.localMergedChunksFetched","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":1476,"Name":"internal.metrics.shuffle.push.read.remoteMergedBytesRead","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":1477,"Name":"internal.metrics.shuffle.push.read.localMergedBytesRead","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":1478,"Name":"internal.metrics.shuffle.read.remoteReqsDuration","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":1479,"Name":"internal.metrics.shuffle.push.read.remoteMergedReqsDuration","Update":0,"Value":0,"Internal":true,"Count Failed Values":true},{"ID":1485,"Name":"internal.metrics.output.bytesWritten","Update":2359,"Value":2359,"Internal":true,"Count Failed Values":true},{"ID":1486,"Name":"internal.metrics.output.recordsWritten","Update":4,"Value":4,"Internal":true,"Count Failed Values":true}]},"Task Executor Metrics":{"JVMHeapMemory":0,"JVMOffHeapMemory":0,"OnHeapExecutionMemory":0,"OffHeapExecutionMemory":0,"OnHeapStorageMemory":0,"OffHeapStorageMemory":0,"OnHeapUnifiedMemory":0,"OffHeapUnifiedMemory":0,"DirectPoolMemory":0,"MappedPoolMemory":0,"ProcessTreeJVMVMemory":0,"ProcessTreeJVMRSSMemory":0,"ProcessTreePythonVMemory":0,"ProcessTreePythonRSSMemory":0,"ProcessTreeOtherVMemory":0,"ProcessTreeOtherRSSMemory":0,"MinorGCCount":0,"MinorGCTime":0,"MajorGCCount":0,"MajorGCTime":0,"TotalGCTime":0},"Task Metrics":{"Executor Deserialize Time":41,"Executor Deserialize CPU Time":37213377,"Executor Run Time":590,"Executor CPU Time":477312939,"Peak Execution Memory":4259824,"Result Size":17575,"JVM GC Time":0,"Result Serialization Time":3,"Memory Bytes Spilled":0,"Disk Bytes Spilled":0,"Shuffle Read Metrics":{"Remote Blocks Fetched":0,"Local Blocks Fetched":1,"Fetch Wait Time":0,"Remote Bytes Read":0,"Remote Bytes Read To Disk":0,"Local Bytes Read":383,"Total Records Read":4,"Remote Requests Duration":0,"Push Based Shuffle":{"Corrupt Merged Block Chunks":0,"Merged Fetch Fallback Count":0,"Merged Remote Blocks Fetched":0,"Merged Local Blocks Fetched":0,"Merged Remote Chunks Fetched":0,"Merged Local Chunks Fetched":0,"Merged Remote Bytes Read":0,"Merged Local Bytes Read":0,"Merged Remote Requests Duration":0}},"Shuffle Write Metrics":{"Shuffle Bytes Written":0,"Shuffle Write Time":0,"Shuffle Records Written":0},"Input Metrics":{"Bytes Read":0,"Records Read":0},"Output Metrics":{"Bytes Written":2359,"Records Written":4},"Updated Blocks":[]}} {"Event":"SparkListenerStageCompleted","Stage Info":{"Stage ID":22,"Stage Attempt ID":0,"Stage Name":"parquet at NativeMethodAccessorImpl.java:0","Number of Tasks":1,"RDD Info":[{"RDD ID":36,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"95\",\"name\":\"WriteFiles\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[35],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"UNORDERED","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":34,"Name":"ShuffledRowRDD","Scope":"{\"id\":\"99\",\"name\":\"AQEShuffleRead\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[33],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"UNORDERED","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0},{"RDD ID":35,"Name":"MapPartitionsRDD","Scope":"{\"id\":\"96\",\"name\":\"WholeStageCodegen (10)\"}","Callsite":"parquet at NativeMethodAccessorImpl.java:0","Parent IDs":[34],"Storage Level":{"Use Disk":false,"Use Memory":false,"Use Off Heap":false,"Deserialized":false,"Replication":1},"Barrier":false,"DeterministicLevel":"UNORDERED","Number of Partitions":1,"Number of Cached Partitions":0,"Memory Size":0,"Disk Size":0}],"Parent IDs":[21],"Details":"org.apache.spark.sql.DataFrameWriter.parquet(DataFrameWriter.scala:792)\njava.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\njava.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)\njava.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\njava.base/java.lang.reflect.Method.invoke(Method.java:569)\npy4j.reflection.MethodInvoker.invoke(MethodInvoker.java:244)\npy4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:374)\npy4j.Gateway.invoke(Gateway.java:282)\npy4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:132)\npy4j.commands.CallCommand.execute(CallCommand.java:79)\npy4j.ClientServerConnection.waitForCommands(ClientServerConnection.java:182)\npy4j.ClientServerConnection.run(ClientServerConnection.java:106)\njava.base/java.lang.Thread.run(Thread.java:840)","Submission Time":1784546407011,"Completion Time":1784546407680,"Accumulables":[{"ID":1340,"Name":"local blocks read","Value":"1","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1343,"Name":"local bytes read","Value":"383","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1344,"Name":"fetch wait time","Value":"0","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1345,"Name":"records read","Value":"4","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1443,"Name":"task commit time","Value":"93","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1445,"Name":"duration","Value":"276","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1446,"Name":"sort time","Value":"2","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1447,"Name":"peak memory","Value":"4259824","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1448,"Name":"spill size","Value":"0","Internal":true,"Count Failed Values":true,"Metadata":"sql"},{"ID":1452,"Name":"internal.metrics.executorDeserializeTime","Value":41,"Internal":true,"Count Failed Values":true},{"ID":1453,"Name":"internal.metrics.executorDeserializeCpuTime","Value":37213377,"Internal":true,"Count Failed Values":true},{"ID":1454,"Name":"internal.metrics.executorRunTime","Value":590,"Internal":true,"Count Failed Values":true},{"ID":1455,"Name":"internal.metrics.executorCpuTime","Value":477312939,"Internal":true,"Count Failed Values":true},{"ID":1456,"Name":"internal.metrics.resultSize","Value":17575,"Internal":true,"Count Failed Values":true},{"ID":1458,"Name":"internal.metrics.resultSerializationTime","Value":3,"Internal":true,"Count Failed Values":true},{"ID":1461,"Name":"internal.metrics.peakExecutionMemory","Value":4259824,"Internal":true,"Count Failed Values":true},{"ID":1463,"Name":"internal.metrics.shuffle.read.remoteBlocksFetched","Value":0,"Internal":true,"Count Failed Values":true},{"ID":1464,"Name":"internal.metrics.shuffle.read.localBlocksFetched","Value":1,"Internal":true,"Count Failed Values":true},{"ID":1465,"Name":"internal.metrics.shuffle.read.remoteBytesRead","Value":0,"Internal":true,"Count Failed Values":true},{"ID":1466,"Name":"internal.metrics.shuffle.read.remoteBytesReadToDisk","Value":0,"Internal":true,"Count Failed Values":true},{"ID":1467,"Name":"internal.metrics.shuffle.read.localBytesRead","Value":383,"Internal":true,"Count Failed Values":true},{"ID":1468,"Name":"internal.metrics.shuffle.read.fetchWaitTime","Value":0,"Internal":true,"Count Failed Values":true},{"ID":1469,"Name":"internal.metrics.shuffle.read.recordsRead","Value":4,"Internal":true,"Count Failed Values":true},{"ID":1470,"Name":"internal.metrics.shuffle.push.read.corruptMergedBlockChunks","Value":0,"Internal":true,"Count Failed Values":true},{"ID":1471,"Name":"internal.metrics.shuffle.push.read.mergedFetchFallbackCount","Value":0,"Internal":true,"Count Failed Values":true},{"ID":1472,"Name":"internal.metrics.shuffle.push.read.remoteMergedBlocksFetched","Value":0,"Internal":true,"Count Failed Values":true},{"ID":1473,"Name":"internal.metrics.shuffle.push.read.localMergedBlocksFetched","Value":0,"Internal":true,"Count Failed Values":true},{"ID":1474,"Name":"internal.metrics.shuffle.push.read.remoteMergedChunksFetched","Value":0,"Internal":true,"Count Failed Values":true},{"ID":1475,"Name":"internal.metrics.shuffle.push.read.localMergedChunksFetched","Value":0,"Internal":true,"Count Failed Values":true},{"ID":1476,"Name":"internal.metrics.shuffle.push.read.remoteMergedBytesRead","Value":0,"Internal":true,"Count Failed Values":true},{"ID":1477,"Name":"internal.metrics.shuffle.push.read.localMergedBytesRead","Value":0,"Internal":true,"Count Failed Values":true},{"ID":1478,"Name":"internal.metrics.shuffle.read.remoteReqsDuration","Value":0,"Internal":true,"Count Failed Values":true},{"ID":1479,"Name":"internal.metrics.shuffle.push.read.remoteMergedReqsDuration","Value":0,"Internal":true,"Count Failed Values":true},{"ID":1485,"Name":"internal.metrics.output.bytesWritten","Value":2359,"Internal":true,"Count Failed Values":true},{"ID":1486,"Name":"internal.metrics.output.recordsWritten","Value":4,"Internal":true,"Count Failed Values":true}],"Resource Profile Id":0,"Shuffle Push Enabled":false,"Shuffle Push Mergers Count":0}} {"Event":"SparkListenerJobEnd","Job ID":10,"Completion Time":1784546407680,"Job Result":{"Result":"JobSucceeded"}} {"Event":"org.apache.spark.sql.execution.ui.SparkListenerDriverAccumUpdates","executionId":0,"accumUpdates":[[1439,1],[1444,108],[1441,4],[1442,0],[1440,2359]]} {"Event":"org.apache.spark.sql.execution.ui.SparkListenerSQLExecutionEnd","executionId":0,"time":1784546407794,"errorMessage":""} {"Event":"SparkListenerApplicationEnd","Timestamp":1784546407797}