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

In piglet, allow creating a PigRelBuilder with custom "config.simplify()"

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • 1.27.0
    • core
    • None

    Description

      Hi, piglet.PigRelBuilder#create, we set Hook.REL_BUILDER_SIMPLIFY to false:

      This may be not a suitable place to set  "Hook.REL_BUILDER_SIMPLIFY", we should use this in user code, not in the frame code, cuz once we done this in frame code, we can not change this config anymore.

       

      This change may be perceived if you are using piglet.PigRelBuilder, 
      it is expected that the change will not be large and should be positive, cuz the UTs are almost unchanged and all passed.
       
      You can set "config.simplify()" to false to keep the behavior the same
       

      Attachments

        Activity

          People

            Aron.tao Jiatao Tao
            Aron.tao Jiatao Tao
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: