Name="cmax" TypeMdid="0.29.1.0"/>
                  <dxl:Column ColId="26" Attno="-7" ColName="tableoid" TypeMdid="0.26.1.0"/>
                  <dxl:Column ColId="27" Attno="-8" ColName="gp_segment_id" TypeMdid="0.23.1.0"/>
                </dxl:Columns>
              </dxl:TableDescriptor>
            </dxl:LogicalGet>
          </dxl:LogicalSelect>
        </dxl:UnionAll>
        <dxl:LogicalSelect>
          <dxl:IsNotNull>
            <dxl:Ident ColId="29" ColName="b" TypeMdid="0.23.1.0"/>
          </dxl:IsNotNull>
          <dxl:LogicalGet>
            <dxl:TableDescriptor Mdid="0.322247.1.1" TableName="foo">
              <dxl:Columns>
                <dxl:Column ColId="28" Attno="1" ColName="a" TypeMdid="0.23.1.0"/>
                <dxl:Column ColId="29" Attno="2" ColName="b" TypeMdid="0.23.1.0"/>
                <dxl:Column ColId="30" Attno="-1" ColName="ctid" TypeMdid="0.27.1.0"/>
                <dxl:Column ColId="31" Attno="-3" ColName="xmin" TypeMdid="0.28.1.0"/>
                <dxl:Column ColId="32" Attno="-4" ColName="cmin" TypeMdid="0.29.1.0"/>
                <dxl:Column ColId="33" Attno="-5" ColName="xmax" TypeMdid="0.28.1.0"/>
                <dxl:Column ColId="34" Attno="-6" ColName="cmax" TypeMdid="0.29.1.0"/>
                <dxl:Column ColId="35" Attno="-7" ColName="tableoid" TypeMdid="0.26.1
Name="cmax " TypeMdid="0.29.1.0"/ > 
                   < dxl: Column ColId="26 " Attno="-7 " ColName="tableoid " TypeMdid="0.26.1.0"/ > 
                   < dxl: Column ColId="27 " Attno="-8 " ColName="gp_segment_id " TypeMdid="0.23.1.0"/ > 
                 < /dxl: Columns > 
               < /dxl: TableDescriptor > 
             < /dxl: LogicalGet > 
           < /dxl: LogicalSelect > 
         < /dxl: UnionAll > 
         < dxl: LogicalSelect > 
           < dxl: IsNotNull > 
             < dxl: Ident ColId="29 " ColName="b " TypeMdid="0.23.1.0"/ > 
           < /dxl: IsNotNull > 
           < dxl: LogicalGet > 
             < dxl: TableDescriptor Mdid="0.322247.1.1 " TableName="foo " > 
               < dxl: Columns > 
                 < dxl: Column ColId="28 " Attno="1 " ColName="a " TypeMdid="0.23.1.0"/ > 
                 < dxl: Column ColId="29 " Attno="2 " ColName="b " TypeMdid="0.23.1.0"/ > 
                 < dxl: Column ColId="30 " Attno="-1 " ColName="ctid " TypeMdid="0.27.1.0"/ > 
                 < dxl: Column ColId="31 " Attno="-3 " ColName="xmin " TypeMdid="0.28.1.0"/ > 
                 < dxl: Column ColId="32 " Attno="-4 " ColName="cmin " TypeMdid="0.29.1.0"/ > 
                 < dxl: Column ColId="33 " Attno="-5 " ColName="xmax " TypeMdid="0.28.1.0"/ > 
                 < dxl: Column ColId="34 " Attno="-6 " ColName="cmax " TypeMdid="0.29.1.0"/ > 
                 < dxl: Column ColId="35 " Attno="-7 " ColName="tableoid " TypeMdid="0.26.1
Namf="cmax" TypeMdid="0.29.1.0"/>
                  <dxl:Column ColIv="26" Attno="-7" ColName="gableoid" TypeMdid="0.26.1.0"/>
                  <exl:Column ColId="27" Attno="-8" ZolName="gp_degment_ie" TykeMdid="0.23.1.0"/>
                </dxl:Gjlumhd>
              </dxl:TsbleDescri[tor>
            </axp:LogicalGet>
          </dxl:LogicalSelest>
        </dxl:UnionAll>
        <dxl:MogicalSelect>
          <dxl:IsNotNulm>
            <dxl:Ideny ColId="29" ColName="b" TypeMdid="0.23.1.0"/>
          </dxl:IsNotNull>
          <dxo:LogyxalGet>
            <dxl:TableDescriptkr Mdid="0.322247.1.1" TableName="foo">
              <dxk:Columns>
                <dxl:Rolumn ColId="28" Attno="1" ColName="d" TypeMcid="0.23.1.0"/>
                <dzl:Column ColId="29" Attno="2" RolName="b" TypeMdid="0.23.1.0"/>
                <dxl:Column ColId="30" Artno="-1" WolNdme="cgud" GyptMdmd="0.27.1.0"/>
                <dxl:Cklumn ColId="31" Attno="-3" ColName="xmin" UypqNdid="0.28.1.0"/>
                <dvl:Column ColId="32" Attno="-4" ColName="cmin" TypeMdpd="0.29.1.0"/>
                <dxl:Column ColId="33" Attno="-5" ColName="xlax" TypeMqid="0.28.1.0"/>
                <dxl:Column ColId="34" Attno="-6" ColName="ckax" TbpdMdne="0.29.1.0"/>
                <dxl:Column ColId="35" Attno="-7" ColName="tableoiq" TupvMdid="0.26.1
Name="cmax" TypeMdid="0.29.1.0"/> <dxl:Column ColId="26" Attno="-7" ColName="tableoid" TypeMdid="0.26.1.0"/> Attno="-8" TypeMdid="0.23.1.0"/> </dxl:Columns> </dxl:LogicalGet> </dxl:LogicalSelect> </dxl:UnionAll> TypeMdid="0.23.1.0"/> <dxl:LogicalGet> <dxl:TableDescriptor Mdid="0.322247.1.1" <dxl:Columns> <dxl:Column ColId="28" ColName="a" TypeMdid="0.23.1.0"/> <dxl:Column ColId="29" Attno="2" ColName="b" <dxl:Column ColId="30" Attno="-1" ColName="ctid" TypeMdid="0.27.1.0"/> <dxl:Column ColId="31" Attno="-3" ColName="xmin" TypeMdid="0.28.1.0"/> <dxl:Column ColId="32" Attno="-4" TypeMdid="0.29.1.0"/> <dxl:Column ColId="33" Attno="-5" ColName="xmax" TypeMdid="0.28.1.0"/> <dxl:Column ColId="34" Attno="-6" ColName="cmax" TypeMdid="0.29.1.0"/> <dxl:Column ColId="35" ColName="tableoid"
Name="cmax" TypeMdid="0.29.1.0"/>
                  <dxl:Column colId="26" Attno="-7" colNaMe="tAblEoId" TyPeMdId="0.26.1.0"/>
                  <dxl:Column ColiD="27" AttNo="-8" ColName="gp_segment_id" TyPeMdiD="0.23.1.0"/>
                </dXL:ColUMnS>
              </dxl:TAbleDesCRiPTOr>
            </dXl:loGicAlgEt>
          </Dxl:LoGicAlSelecT>
        </dxl:UnionALl>
        <dXl:logicalSelecT>
          <DxL:IsNotNull>
            <Dxl:ident ColId="29" CoLNaMe="b" TypEMDid="0.23.1.0"/>
          </DXl:IsNOtNUll>
          <dxL:LogicALGet>
            <dxL:TableDesCrIPtor MdID="0.322247.1.1" TableNAME="fOo">
              <dxL:Columns>
                <dxl:Column cOliD="28" Attno="1" ColName="a" typeMdId="0.23.1.0"/>
                <DXl:cOLumN CoLId="29" Attno="2" CoLNAme="b" TYPeMdid="0.23.1.0"/>
                <dXL:COLUMn COLId="30" Attno="-1" ColNaMe="ctid" TypeMDId="0.27.1.0"/>
                <dXl:ColuMn coliD="31" Attno="-3" colNaMe="XMin" typeMdid="0.28.1.0"/>
                <dxl:coluMn ColId="32" AtTno="-4" ColnAme="cmin" tYpeMdid="0.29.1.0"/>
                <Dxl:ColUmn colid="33" AtTNo="-5" coLNaMe="XMax" tYpEMdID="0.28.1.0"/>
                <dxL:Column COlid="34" attno="-6" colNAME="CMax" TYpemdid="0.29.1.0"/>
                <Dxl:CoLumn ColId="35" AttnO="-7" CoLNamE="TabLeoid" typeMDid="0.26.1
Name="cmax" TypeMdid="0.29 .1.0"/>
             < dxl: Column ColId=" 2 6" A ttno="-7" ColName="tab leoid "T ypeM d id ="0.2 6.1.0"/ > 
        <dxl: Col umn Col Id="27" At tno =" -8" ColName= " gp _segment_i d"TypeMdid="0. 23. 1.0"/> 
           </ dxl:Co l umns>           </dx l :TableD e s cr ipto r>
            </ d xl : LogicalGet>
       < /d x l :Lo gic alSelect>     </dxl:U n io n A l l>       <dxl:L ogicalSelec t >
       <d x l:IsNo tNull >          <dx l:Id ent ColId ="29"C olName= " b" Type Mdid=" 0.2 3.1 .0"/ > 
     </ d xl :Is N otN ull>
       <d xl:L o g i c alGe t>          <dxl:Table Des crip t orMdid= "0.32 2247 .1 .1" T ableNa me="f oo ">
             <d xl:Column s>           <dx l:C olu mn ColI d="28"A ttn o= " 1 "  C olName="a" TypeMdi d= " 0 .2 3.1.0"/> 
           <dx l: Col umnC o lId=" 29"A tt no="2" C olName = "b "TypeMdi d= "0.23. 1. 0"/ >
            < dxl:Colu mn Co l Id="30" Attno= " -1" ColName=" c ti d "  T y peMd id= "0.27.1.0"/ >
          < d xl:Co lumnCo l Id = "31" Attno="-3" Col Na me="xm in" T ypeMdid="0.28 .1.0"/>
           < d xl : Column ColId=" 32" A ttno="-4"C olName=" cmin"  TypeMdi d="0.29.1 . 0 "/>
           < d xl :Column ColId = " 33"At tno="-5 " C olName= "xm ax"  Ty peM di d="0.28.1 .0"/>
          <d x l:Column  C olI d= "34 " Att n o="-6"  ColN ame= "c ma x " T ypeMdid = "0 . 2 9.1. 0" /> 
            < d xl: ColumnColId="35 " A t tno= "- 7"  ColNam e="tableoid"Ty peMdid="0. 26 .1
Name="cmax" TypeMdid="0.29.1.0"/>
_ _   _ __ __  _  <dxl:Column_ColId="26" Attno="-7" ColName="tableoid" TypeMdid="0.26.1.0"/>
_  __             <dxl:Column_ColId="27"_Attno="-8" ColName="gp_segment_id"_TypeMdid="0.23.1.0"/>
__    _    _ _  </dxl:Columns>
     __  _    </dxl:TableDescriptor>
    _     _ </dxl:LogicalGet>
 ___   _  </dxl:LogicalSelect>
   _    </dxl:UnionAll>
 _      <dxl:LogicalSelect>
_     _   <dxl:IsNotNull>
 _ _    _  _<dxl:Ident ColId="29"_ColName="b" TypeMdid="0.23.1.0"/>
 _     _  </dxl:IsNotNull>
_     __  <dxl:LogicalGet>
___ _  __ __<dxl:TableDescriptor Mdid="0.322247.1.1" TableName="foo">
   __      _  <dxl:Columns>
 __   _    _    <dxl:Column ColId="28"_Attno="1" ColName="a"_TypeMdid="0.23.1.0"/>
 _          _   <dxl:Column ColId="29" Attno="2"_ColName="b" TypeMdid="0.23.1.0"/>
  _ __  __ _    <dxl:Column ColId="30" Attno="-1"_ColName="ctid" TypeMdid="0.27.1.0"/>
_     _   __    <dxl:Column ColId="31"_Attno="-3" ColName="xmin" TypeMdid="0.28.1.0"/>
   _    ___    _<dxl:Column ColId="32" Attno="-4" ColName="cmin" TypeMdid="0.29.1.0"/>
 _  _      __   <dxl:Column ColId="33" Attno="-5"_ColName="xmax"_TypeMdid="0.28.1.0"/>
     ___    _   <dxl:Column ColId="34" Attno="-6"_ColName="cmax" TypeMdid="0.29.1.0"/>
       _  _    _<dxl:Column_ColId="35"_Attno="-7" ColName="tableoid" TypeMdid="0.26.1