Do NOT get into this messy shit if you can avoid it! Use Python script instead if you can.
If you want to reliably get the name of a Bash script, it is recommended that you run the Bash script as an executable script instead of source it in.
Loops in Bash
Tips and Traps¶
- Forggeting
$is a common mistake when using a shell variable.
Case of Column Names in Spark DataFrames
Comments¶
Even though Spark DataFrame/SQL APIs do not distinguish cases of column names, the columns saved into HDFS are case-sensitive!
Use Kotlin in a Scala Project
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
-
Methods of a Kotlin object can be called in a Scala project by
KotlinObject.INSTANCE.methodToCall() -
You might need to provide the Kotlin standard library
kotlin-stdlib.jarin order to run …