advanced analytics with spark github