Description
Since our parser defined based on antlr 4 can parse data type (see CatalystSqlParser), we can remove org.apache.spark.sql.catalyst.parser.DataTypeParser. Let's make sure the new parser's functionality is a super set of DataTypeParser. Then, we can remove DataTypeParser. For the object DataTypeParser, we can keep it and let it just call the parserDataType method of CatalystSqlParser.
The original description is shown below
Right now, our DDLParser does not support decimal(precision) (the scale will be set to 0). We should support it.
Attachments
Issue Links
- links to