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

Promote the window table functions window attribute data type with precision 3

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.25.0
    • Fix Version/s: 1.26.0
    • Component/s: core

      Description

      Now the window_start and window_end has a type of a Timestamp with default system precision. But, actually, many DB vendors has default precision as 6 (which is also defined in the SQL standard).

      We better promote the precision to 3 because:
      1. For windowing, time unit as millisecond is enough
      2. Make the precision deterministic instead of overriding by each engine's default one

        Attachments

          Activity

            People

            • Assignee:
              danny0405 Danny Chen
              Reporter:
              danny0405 Danny Chen

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

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

                  Issue deployment