Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-27764 Feature Parity between PostgreSQL and Spark
  3. SPARK-29636

Can't parse '11:00 BST' or '2000-10-19 10:23:54+01' signatures to timestamp

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.0.0
    • None
    • SQL
    • None

    Description

      Currently, Spark can't parse a string such as '11:00 BST' or '2000-10-19 10:23:54+01' to timestamp:

      spark-sql> select cast ('11:00 BST' as timestamp);
      NULL
      Time taken: 2.248 seconds, Fetched 1 row(s)
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            DylanGuedes Dylan Guedes
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: