blob: d793b1de2bf7e34212a88c50bffc3b2c043f3daa [file] [log] [blame]
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<svg version="1.1" width="600" height="400" xmlns="http://www.w3.org/2000/svg">
<rect width="100%" height="100%" fill="white" />
<text id="heading" y="40" x="20">Arrow Table versus Record Batch</text>
<g transform="translate(20, 60)">
<rect width="250" height="260" x="0" y="0" fill="#ddd" />
<text class="label" x="10" y="20">Arrow Table</text>
<rect width="230" height="60" x="10" y="25" fill="green" />
<text class="label light" x="15" y="45">Schema</text>
<g transform="translate(0, 50)">
<rect width="65" height="30" x="15" y="0" fill="blue" />
<rect width="70" height="30" x="90" y="0" fill="blue" />
<rect width="65" height="30" x="170" y="0" fill="blue" />
<text class="label light" x="25" y="20">Field</text>
</g>
<g transform="translate(0, 95)">
<rect width="70" height="155" x="10" y="0" fill="orange" />
<rect width="70" height="155" x="90" y="0" fill="orange" />
<rect width="70" height="155" x="170" y="0" fill="orange" />
<text class="label" x="15" y="15"><tspan>Chunked</tspan>
<tspan x="15" dy="15">Array</tspan></text>
<g transform="translate(0, 35)">
<rect width="60" height="80" x="15" y="0" fill="#555" />
<rect width="60" height="30" x="15" y="85" fill="#555" />
<rect width="60" height="115" x="95" y="0" fill="#555" />
<rect width="60" height="35" x="175" y="0" fill="#555" />
<rect width="60" height="35" x="175" y="40" fill="#555" />
<rect width="60" height="35" x="175" y="80" fill="#555" />
<text class="label light" x="20" y="20">Array</text>
</g>
</g>
</g>
<text class="caption" x="20" y="350">A <tspan style="font-weight: bold">Table</tspan> is a C++ data structure,
allowing for a mixed chunking structure and very large arrays.</text>
<g transform="translate(320, 60)">
<rect width="250" height="260" x="0" y="0" fill="#ddd" />
<text class="label" x="10" y="20">Arrow Record Batch</text>
<rect width="230" height="60" x="10" y="25" fill="green" />
<text class="label light" x="15" y="45">Schema</text>
<g transform="translate(0, 50)">
<rect width="65" height="30" x="15" y="0" fill="blue" />
<rect width="70" height="30" x="90" y="0" fill="blue" />
<rect width="65" height="30" x="170" y="0" fill="blue" />
<text class="label light" x="25" y="20">Field</text>
</g>
<g transform="translate(0, 95)">
<rect width="70" height="155" x="10" y="0" fill="#555" />
<rect width="70" height="155" x="90" y="0" fill="#555" />
<rect width="70" height="155" x="170" y="0" fill="#555" />
<text class="label light" x="20" y="20">Array</text>
</g>
</g>
<text class="caption" x="20" y="370">
<tspan>A <tspan style="font-weight: bold">Record Batch</tspan> is a common Arrow data structure which is recognized by all implementations.</tspan>
</text>
<style>
text {
font-family: apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, Liberation Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
}
.label {
font-size: 12px;
font-weight: bold;
fill: #333;
}
.light {
fill: #ddd;
}
#heading {
font-size: 24px;
}
.caption {
font-size: 12px;
}
</style>
</svg>