lasdf1234 commented on PR #12241:
URL: https://github.com/apache/gravitino/pull/12241#issuecomment-5178511734

   <p data-pm-slice="1 1 []"></p><h1>Manifest entry-range splitting 
(follow-up)</h1><p>A <code>plan-task</code> is one batch of manifest entry 
ranges to read.
   The opaque string is <code>base64url(JSON array)</code>: the root is the 
<strong>array itself</strong> — no <code>ranges</code> wrapper, and no embedded 
scan/snapshot.</p><h2><code>planTaskKey</code> (decoded)</h2><pre><code 
class="language-json">[
     {
       "manifest": "s3://wh/db/t/metadata/snap-42-m1.avro",
       "entry-start": 40,
       "entry-end": 60
     },
     {
       "manifest": "s3://wh/db/t/metadata/snap-42-m2.avro",
       "entry-start": 0,
       "entry-end": 60
     },
     {
       "manifest": "s3://wh/db/t/metadata/snap-42-m3.avro",
       "entry-start": 0,
       "entry-end": 20
     }
   ]</code></pre>
   Field | Meaning
   -- | --
   manifest | Data manifest path
   entry-start / entry-end | Half-open range [start, end) within that manifest
   Array length | 1 = single manifest; ≥ 2 = this batch spans multiple manifests


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to