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

make_date is inconsistent when reading from table

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            yumwang Yuming Wang

            Dates

              Created:
              Updated:

              Slack

                Issue deployment