Reorganized the code a tiny bit. Now casting the spark dataframe results to string before converting to a json string for the display of data in a json structure. Avoids longs getting rounded and other potential future issues when converting to json at the cost of casting the results to string before displaying them.
Reorganized the code a tiny bit. Now casting the spark dataframe results to string before converting to a json string for the display of data in a json structure. Avoids longs getting rounded and other potential future issues when converting to json at the cost of casting the results to string before displaying them.