[SPARK] Support rich mappings

Allow rich/complex mappings in SparkSQL