https://ledgerlearning.com/2018/01/03/apache-spark-transaction-generation-and-balance-posting/