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

Create SqlTypeUtil#deriveType(SqlCallBinding) to make type computation simpler

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

      The following pattern repeats quite often, so it is worth extracting to a separate method.

      binding.getValidator().deriveType(binding.getScope(), binding.getCall())
      

        Attachments

          Activity

            People

            • Assignee:
              vladimirsitnikov Vladimir Sitnikov
              Reporter:
              vladimirsitnikov Vladimir Sitnikov

              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

                  Issue deployment