Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-4622

Many Beam SQL expressions never have their validation called

Details

    Description

      In BeamSqlFnExecutor there is a pattern where first the returned expression is assigned to a variable ret and then after a giant switch statement the validation is invoked. But there are many code paths that just call return and skip validation. This should be refactored so it is impossible to short-circuit on accident like this.

      Attachments

        Issue Links

          Activity

            People

              aromanenko Alexey Romanenko
              kenn Kenneth Knowles
              Votes:
              0 Vote for this issue
              Watchers:
              1 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 - 1h 10m
                  1h 10m