Details

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

    Description

      Spark

      -- !query 134
      select interval '1. second'
      -- !query 134 schema
      struct<1 seconds:interval>
      -- !query 134 output
      1 seconds
      
      
      -- !query 135
      select cast('1. second' as interval)
      -- !query 135 schema
      struct<CAST(1. second AS INTERVAL):interval>
      -- !query 135 output
      1 seconds
      

      PostgreSQL

      ostgres=# select interval '1. seconds';
      ERROR:  invalid input syntax for type interval: "1. seconds"
      LINE 1: select interval '1. seconds';
      

      Attachments

        Issue Links

          Activity

            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: