Hi,
When writing dataframe to carbon table, If the dataframe compute is costly, it is better to materialize it by saving to temporary CSV files and then load into carbon table. If the dataframe compute is not costly, for example, dataframe is the scan result of a hive table, then user can set the tempCSV option to false, and carbon will load it directly.
Regards,
Jacky