123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113 |
- <?xml version="1.0" encoding="UTF-8" standalone="no"?>
- <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
- "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
- <!-- Generated by graphviz version 2.43.0 (0)
- -->
- <!-- Title: G Pages: 1 -->
- <svg width="820pt" height="605pt"
- viewBox="0.00 0.00 820.00 605.38" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
- <g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 601.38)">
- <title>G</title>
- <polygon fill="white" stroke="transparent" points="-4,4 -4,-601.38 816,-601.38 816,4 -4,4"/>
- <text text-anchor="middle" x="171.5" y="-7.8" font-family="Times,serif" font-size="14.00">select f1 from t group by f1; (before rewrites)</text>
- <g id="clust1" class="cluster">
- <title>cluster3</title>
- <polygon fill="none" stroke="black" points="398,-476.29 398,-589.38 804,-589.38 804,-476.29 398,-476.29"/>
- <text text-anchor="middle" x="448.5" y="-574.18" font-family="Times,serif" font-size="14.00">Box3:Select</text>
- </g>
- <g id="clust3" class="cluster">
- <title>cluster2</title>
- <polygon fill="none" stroke="black" points="194,-336.29 194,-468.29 600,-468.29 600,-336.29 194,-336.29"/>
- <text text-anchor="middle" x="256" y="-453.09" font-family="Times,serif" font-size="14.00">Box2:Grouping</text>
- </g>
- <g id="clust5" class="cluster">
- <title>cluster0</title>
- <polygon fill="none" stroke="black" points="22,-171 22,-328.29 320,-328.29 320,-171 22,-171"/>
- <text text-anchor="middle" x="72.5" y="-313.09" font-family="Times,serif" font-size="14.00">Box0:Select</text>
- </g>
- <g id="clust7" class="cluster">
- <title>cluster1</title>
- <polygon fill="none" stroke="black" points="8,-31 8,-163 170,-163 170,-31 8,-31"/>
- <text text-anchor="middle" x="79.5" y="-147.8" font-family="Times,serif" font-size="14.00">Box1:BaseTable T</text>
- </g>
- <!-- boxhead3 -->
- <g id="node1" class="node">
- <title>boxhead3</title>
- <polygon fill="none" stroke="black" points="498.5,-486.84 498.5,-555.84 795.5,-555.84 795.5,-486.84 498.5,-486.84"/>
- <text text-anchor="middle" x="647" y="-540.64" font-family="Times,serif" font-size="14.00">Distinct: Preserve</text>
- <polyline fill="none" stroke="black" points="498.5,-532.84 795.5,-532.84 "/>
- <text text-anchor="middle" x="647" y="-517.64" font-family="Times,serif" font-size="14.00">0: Q2.c0 as F1</text>
- <polyline fill="none" stroke="black" points="498.5,-509.84 795.5,-509.84 "/>
- <text text-anchor="middle" x="647" y="-494.64" font-family="Times,serif" font-size="14.00">UNIQUE KEY [0]</text>
- </g>
- <!-- Q2 -->
- <g id="node2" class="node">
- <title>Q2</title>
- <ellipse fill="none" stroke="black" cx="443" cy="-521.34" rx="37.09" ry="37.09"/>
- <text text-anchor="middle" x="443" y="-517.64" font-family="Times,serif" font-size="14.00">Q2(F)</text>
- </g>
- <!-- boxhead2 -->
- <g id="node3" class="node">
- <title>boxhead2</title>
- <polygon fill="none" stroke="black" points="294.5,-344.79 294.5,-436.79 591.5,-436.79 591.5,-344.79 294.5,-344.79"/>
- <text text-anchor="middle" x="443" y="-421.59" font-family="Times,serif" font-size="14.00">Distinct: Preserve</text>
- <polyline fill="none" stroke="black" points="294.5,-413.79 591.5,-413.79 "/>
- <text text-anchor="middle" x="443" y="-398.59" font-family="Times,serif" font-size="14.00">0: Q1.c0 as F1</text>
- <polyline fill="none" stroke="black" points="294.5,-390.79 591.5,-390.79 "/>
- <text text-anchor="middle" x="443" y="-375.59" font-family="Times,serif" font-size="14.00">GROUP Q1.c0 Ascending</text>
- <polyline fill="none" stroke="black" points="294.5,-367.79 591.5,-367.79 "/>
- <text text-anchor="middle" x="443" y="-352.59" font-family="Times,serif" font-size="14.00">UNIQUE KEY [0]</text>
- </g>
- <!-- Q2->boxhead2 -->
- <g id="edge1" class="edge">
- <title>Q2->boxhead2</title>
- <path fill="none" stroke="black" stroke-dasharray="5,2" d="M443,-484.19C443,-479.12 443,-473.77 443,-468.29"/>
- </g>
- <!-- Q1 -->
- <g id="node4" class="node">
- <title>Q1</title>
- <ellipse fill="none" stroke="black" cx="239" cy="-390.79" rx="37.09" ry="37.09"/>
- <text text-anchor="middle" x="239" y="-387.09" font-family="Times,serif" font-size="14.00">Q1(F)</text>
- </g>
- <!-- boxhead0 -->
- <g id="node5" class="node">
- <title>boxhead0</title>
- <polygon fill="none" stroke="black" points="166,-192.14 166,-284.14 312,-284.14 312,-192.14 166,-192.14"/>
- <text text-anchor="middle" x="239" y="-268.94" font-family="Times,serif" font-size="14.00">Distinct: Preserve</text>
- <polyline fill="none" stroke="black" points="166,-261.14 312,-261.14 "/>
- <text text-anchor="middle" x="239" y="-245.94" font-family="Times,serif" font-size="14.00">0: Q0.c0 as F1</text>
- <polyline fill="none" stroke="black" points="166,-238.14 312,-238.14 "/>
- <text text-anchor="middle" x="239" y="-222.94" font-family="Times,serif" font-size="14.00">1: Q0.c1 as F2</text>
- <polyline fill="none" stroke="black" points="166,-215.14 312,-215.14 "/>
- <text text-anchor="middle" x="239" y="-199.94" font-family="Times,serif" font-size="14.00">2: Q0.c2 as F3</text>
- </g>
- <!-- Q1->boxhead0 -->
- <g id="edge2" class="edge">
- <title>Q1->boxhead0</title>
- <path fill="none" stroke="black" stroke-dasharray="5,2" d="M239,-353.71C239,-345.85 239,-337.2 239,-328.29"/>
- </g>
- <!-- Q0 -->
- <g id="node6" class="node">
- <title>Q0</title>
- <ellipse fill="none" stroke="black" cx="89" cy="-238.14" rx="59.29" ry="59.29"/>
- <text text-anchor="middle" x="89" y="-234.44" font-family="Times,serif" font-size="14.00">Q0(F) as T</text>
- </g>
- <!-- boxhead1 -->
- <g id="node7" class="node">
- <title>boxhead1</title>
- <polygon fill="none" stroke="black" points="16,-39.5 16,-131.5 162,-131.5 162,-39.5 16,-39.5"/>
- <text text-anchor="middle" x="89" y="-116.3" font-family="Times,serif" font-size="14.00">Distinct: Preserve</text>
- <polyline fill="none" stroke="black" points="16,-108.5 162,-108.5 "/>
- <text text-anchor="middle" x="89" y="-93.3" font-family="Times,serif" font-size="14.00">0: c0 as F1</text>
- <polyline fill="none" stroke="black" points="16,-85.5 162,-85.5 "/>
- <text text-anchor="middle" x="89" y="-70.3" font-family="Times,serif" font-size="14.00">1: c1 as F2</text>
- <polyline fill="none" stroke="black" points="16,-62.5 162,-62.5 "/>
- <text text-anchor="middle" x="89" y="-47.3" font-family="Times,serif" font-size="14.00">2: c2 as F3</text>
- </g>
- <!-- Q0->boxhead1 -->
- <g id="edge3" class="edge">
- <title>Q0->boxhead1</title>
- <path fill="none" stroke="black" stroke-dasharray="5,2" d="M89,-178.9C89,-173.68 89,-168.34 89,-163"/>
- </g>
- </g>
- </svg>
|