Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-14825 Merge functionality in Hive module into SQL core module
  3. SPARK-14591

Remove org.apache.spark.sql.catalyst.parser.DataTypeParser

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0
    • SQL
    • None

    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

        Activity

          People

            yhuai Yin Huai
            yhuai Yin Huai
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: