Hello Friends, I am Sravana and I have this channel specially for technical discussions. The channel has videos on Apache Spark with Scala , PySpark, Scala tutorials and Python tutorials and much more are in queue.
HI Mam, thanks for the video. Here i have 1 doubt that for big size table where rows and column count are large and the result i want to show the actual value (no True false) then how to deal with that. Thank you.
@aparnakatika1822 please give more details about the question. Are you talking about the star pattern code? Please use and tweak thr below as per your requirement. If its not, please give me the expected output. object PyramidPattern { def main(args: Array[String]): Unit = { val numberOfRows = 5 for (i <- 1 to numberOfRows) { // Print leading spaces for (j <- 1 to numberOfRows - i) { print(" ") } // Print stars for (k <- 1 to 2 * i - 1) { print("*") } println() } } }
^[\w*]$ will match a string consisting of a single character, where that character is alphanumeric (letters, numbers) an underscore (_) or an asterisk (*).
@@sravanalakshmipisupati6533 it’s not 84 lakhs na. You said its around 84 lakhs block. Am I right or missing something? 1TB =1048576 MB 1048576/128 MB= 86317 block Its 86thousand 3hundred and 17 block
Great work and initiative...but I am bit confused, did u consider the list as already sorted or we sorted it in the code, if so then we have completely ignored the sorting process in our complexity right?
java.io.FileNotFoundException: Could not locate Hadoop executable: C:\Hadoop\bin\winutils.exe -see wiki.apache.org/hadoop/WindowsProblems at org.apache.hadoop.util.Shell.getQualifiedBinInner(Shell.java:619) at org.apache.hadoop.util.Shell.getQualifiedBin(Shell.java:592) at org.apache.hadoop.util.Shell.<clinit>(Shell.java:689) at org.apache.hadoop.util.StringUtils.<clinit>(StringUtils.java:79) at org.apache.hadoop.conf.Configuration.getBoolean(Configuration.java:1691) at org.apache.hadoop.security.SecurityUtil.setConfigurationInternal(SecurityUtil.java:104) at org.apache.hadoop.security.SecurityUtil.<clinit>(SecurityUtil.java:88) at org.apache.hadoop.security.UserGroupInformation.initialize(UserGroupInformation.java:312) at org.apache.hadoop.security.UserGroupInformation.ensureInitialized(UserGroupInformation.java:300) at org.apache.hadoop.security.UserGroupInformation.getCurrentUser(UserGroupInformation.java:575) at org.apache.spark.util.Utils$.$anonfun$getCurrentUserName$1(Utils.scala:2539) at scala.Option.getOrElse(Option.scala:201)
Regarding duplicates, unionByName does not inherently remove duplicates. However, if you want to remove duplicates after performing the union, you can use the dropDuplicates() function.