EPAM Systems interview question

Pyspark memory optimization, different types of keys in SQL