I am reading a table from cassandra , my table size is 100 GB. I am running spark on aws EMR. I have below questions to ask ?
- How many partitions will be created in spark , reading a table from cassandra ? [ I am aware that spark cassandra connector has input split size property that by default is 64 MB,so number of spark partitions = data size/64 MB . But in my case there is huge difference number of partitions I see in spark ]
- If one of cassandra partition is too big , would there be any impact on number of partitions on spark ? [ my spark job is failing with memory issue , but I am under impression as data split by 64 MB , Is there still chance of data skewness ?]