This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dmitin@dmitin-HP-Pavilion-Laptop:/media/data/Projects2/scala3demo2/target/scala-3.3.3/classes$ cd org/public_domain/ | |
dmitin@dmitin-HP-Pavilion-Laptop:/media/data/Projects2/scala3demo2/target/scala-3.3.3/classes/org/public_domain$ ls | |
main.class Main.class Main$.class main.tasty Main.tasty | |
dmitin@dmitin-HP-Pavilion-Laptop:/media/data/Projects2/scala3demo2/target/scala-3.3.3/classes/org/public_domain$ cd .. | |
dmitin@dmitin-HP-Pavilion-Laptop:/media/data/Projects2/scala3demo2/target/scala-3.3.3/classes/org$ cd .. | |
dmitin@dmitin-HP-Pavilion-Laptop:/media/data/Projects2/scala3demo2/target/scala-3.3.3/classes$ javap org.public_domain.Main | |
Compiled from "Main.scala" | |
public final class org.public_domain.Main { | |
public static void main(); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"ExportSchema" : [ | |
{ | |
"Application" : "fuzzitDwh", | |
"EntityType" : "4", | |
"CountryCode" : "AT", | |
"ExportType" : "DIFF", | |
"ExportUtcDateTime" : "2021-12-15T01:45:01", | |
"LastExportUtcDateTime" : "2021-12-14T10:19:37", | |
"FileName" : "UL_DataLake_fuzzitDwh_MaterialExternal_AT_DIFF_20211215_014501.json" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.apache.spark.SparkContext | |
object Main { | |
val sc = new SparkContext("local[1]", "SimpleProg") | |
val nums = sc.parallelize(List(1, 2, 3, 4)) | |
//println(nums.reduce((a, b) => a - b)) | |
def main(args: Array[String]): Unit = { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.apache.spark.SparkContext | |
object Main { | |
val sc = new SparkContext("local[1]", "SimpleProg") | |
val nums = sc.parallelize(List(1, 2, 3, 4)) | |
println(nums.reduce((a, b) => a - b)) | |
def main(args: Array[String]): Unit = { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.fasterxml.jackson.core.Version | |
import com.fasterxml.jackson.databind.{Module, ObjectMapper} | |
import org.apache.spark.sql.SparkSession | |
object App { | |
val spark = SparkSession.builder | |
.master("local") | |
.appName("Spark app") | |
.getOrCreate() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.fasterxml.jackson.core.Version | |
import com.fasterxml.jackson.databind.{Module, ObjectMapper} | |
import org.apache.spark.sql.SparkSession | |
object App { | |
val spark = SparkSession.builder | |
.master("local") | |
.appName("Spark app") | |
.getOrCreate() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.apache.spark.SparkContext | |
import org.apache.spark.sql.SparkSession | |
object App38 extends App { | |
val sc = new SparkContext("local[1]", "SimpleProg") | |
val nums = sc.parallelize(List(1, 2, 3, 4)) | |
println(nums.reduce((a, b) => a - b)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.apache.spark.SparkContext | |
import org.apache.spark.sql.SparkSession | |
object App38 /*extends App*/ { | |
val sc = new SparkContext("local[1]", "SimpleProg") | |
val nums = sc.parallelize(List(1, 2, 3, 4)) | |
// println(nums.reduce((a, b) => a - b)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.apache.spark.SparkContext | |
import org.apache.spark.sql.SparkSession | |
object App38 /*extends App*/ { | |
val sc = new SparkContext("local[1]", "SimpleProg") | |
val nums = sc.parallelize(List(1, 2, 3, 4)) | |
println(nums.reduce((a, b) => a - b)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
my-project | |
ᄂsubproject1 | |
ᄂsrc/main/scala | |
ᄂ com.foo.bar | |
├ foo1 | |
│ ᄂ (...classes) | |
ᄂsubproject2 | |
ᄂsrc/main/scala | |
ᄂ com.foo.bar | |
ᄂ foo2 |
NewerOlder