Description
This JIRA describes a small improvement in an error message as below:
scala> spark.range(1).select($"col".cast("aa")) org.apache.spark.sql.catalyst.parser.ParseException: DataType aa() is not supported.(line 1, pos 0) == SQL == aa ^^^
Currently, when the types are invalid, it looks printing empty parentheses.