Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-5619

Support PostgreSQL's TO_CHAR function

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.35.0
    • core

    Description

      PostgreSQL has three to_char() functions:

      to_char ( timestamp, text ) → text
      to_char ( interval, text ) → text
      to_char ( numeric_type, text ) → text

      The following query cannot be parsed because the first to_char() function is not supported:

      select to_char(current_timestamp, 'YYYY-MM-DD HH24:MI:SS.MS TZ')

      Attachments

        Issue Links

          Activity

            People

              tnieradzik Tim Nieradzik
              tnieradzik Tim Nieradzik
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h 20m
                  2h 20m