Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-28624

make_date is inconsistent when reading from table

    XMLWordPrintableJSON

Details

    • Bug
    • Status: In Progress
    • Major
    • Resolution: Unresolved
    • 3.0.0
    • None
    • SQL
    • None

    Description

      spark-sql> create table test_make_date as select make_date(-44, 3, 15) as d;
      spark-sql> select d, make_date(-44, 3, 15) from test_make_date;
      0045-03-15	-0044-03-15
      spark-sql>
      

      Attachments

        1. collect make_date.png
          45 kB
          Yuming Wang
        2. Screen Shot 2019-08-05 at 18.19.39.png
          491 kB
          Max Gekk

        Issue Links

          Activity

            People

              Unassigned Unassigned
              yumwang Yuming Wang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: