Details

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

    Description

      CHAR is equivalent to CHARACTER. DEC is equivalent to DECIMAL. INT is equivalent to INTEGER. VARCHAR is equivalent to CHARACTER VARYING. ...
      

      According to SQL standard, we decide to add dec for decimal as short hand.

      also checked with Postgres,

      ```sql
      postgres=# select dec '1.0';
      numeric
      ---------
      1.0
      (1 row)

      ```

      Attachments

        Issue Links

          Activity

            Qin Yao Kent Yao 2 added a comment -

            working on this

            Qin Yao Kent Yao 2 added a comment - working on this
            cloud_fan Wenchen Fan added a comment -

            Issue resolved by pull request 26574
            https://github.com/apache/spark/pull/26574

            cloud_fan Wenchen Fan added a comment - Issue resolved by pull request 26574 https://github.com/apache/spark/pull/26574

            People

              Qin Yao Kent Yao 2
              Qin Yao Kent Yao 2
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: