@@ -730,43 +730,43 @@ \subsection{Repartition vs. Coalesce}\label{subsec:repartition-vs-coalesce}
730
730
\end {lstlisting }
731
731
732
732
\end {frame }
733
- %
734
- % \begin{frame}[fragile]
735
- % \frametitle{High-Level Code: Coalesce}
736
- % \begin{itemize}
737
- % \item \textbf{Key Points}:
738
- % \begin{itemize}
739
- % \item \textbf{Shuffle}: Optional; can perform a shuffle if `shuffle = true`.
740
- % \item \textbf{No Shuffle}: Default behavior (without shuffle) merges partitions locally.
741
- % \item \textbf{Usage}: Efficient for reducing the number of partitions without shuffling.
742
- % \end{itemize}
743
- % \end{itemize}
744
- % \end{frame}
745
- %
746
- %
747
- %
748
- %
749
- % \begin{frame}
750
- % \frametitle{High-Level Code: Coalesce}
751
- %
752
- % \begin{itemize}
753
- % \begin{itemize}
754
- % \item \textbf{Operation}: Can operate with or without shuffle.
755
- % \item \textbf{Process}:
756
- % \begin{itemize}
757
- % \item \textbf{No Shuffle (default)}: Merges partitions locally.
758
- % \item \textbf{With Shuffle}: Performs a shuffle for even data distribution if specified.
759
- % \end{itemize}
760
- % \item \textbf{Impact on Logs}:
761
- % \begin{itemize}
762
- % \item Decreased log entries when merging locally without shuffle.
763
- % \item Lower overhead and cost.
764
- % \item Efficient for reducing partitions, especially useful for write operations.
765
- % \item Optional shuffle provides flexibility for balanced distribution.
766
- % \end{itemize}
767
- % \end{itemize}
768
- % \end{itemize}
769
- % \end{frame}
733
+
734
+ \begin {frame }[fragile]
735
+ \frametitle {High-Level Code: Coalesce}
736
+ \begin {itemize }
737
+ \item \textbf {Key Points }:
738
+ \begin {itemize }
739
+ \item \textbf {Shuffle }: Optional; can perform a shuffle if `shuffle = true`.
740
+ \item \textbf {No Shuffle }: Default behavior (without shuffle) merges partitions locally.
741
+ \item \textbf {Usage }: Efficient for reducing the number of partitions without shuffling.
742
+ \end {itemize }
743
+ \end {itemize }
744
+ \end {frame }
745
+
746
+
747
+
748
+
749
+ \begin {frame }
750
+ \frametitle {High-Level Code: Coalesce}
751
+
752
+ \begin {itemize }
753
+ \begin {itemize }
754
+ \item \textbf {Operation }: Can operate with or without shuffle.
755
+ \item \textbf {Process }:
756
+ \begin {itemize }
757
+ \item \textbf {No Shuffle (default) }: Merges partitions locally.
758
+ \item \textbf {With Shuffle }: Performs a shuffle for even data distribution if specified.
759
+ \end {itemize }
760
+ \item \textbf {Impact on Logs }:
761
+ \begin {itemize }
762
+ \item Decreased log entries when merging locally without shuffle.
763
+ \item Lower overhead and cost.
764
+ \item Efficient for reducing partitions, especially useful for write operations.
765
+ \item Optional shuffle provides flexibility for balanced distribution.
766
+ \end {itemize }
767
+ \end {itemize }
768
+ \end {itemize }
769
+ \end {frame }
770
770
%
771
771
% \subsection{Understanding Spark Application Concepts}\label{subsec:understanding-spark-application-concepts}
772
772
%
0 commit comments