Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.5.0
    • SQL
    • None
    • Spark 1.5 release

    Description

      parse a timestamp string and return the date portion

      to_date(string timestamp): date
      

      Returns the date part of a timestamp string: to_date("1970-01-01 00:00:00") = "1970-01-01" (in some date format)

      Attachments

        Issue Links

          Activity

            People

              adrian-wang Adrian Wang
              rxin Reynold Xin
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: