You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2023/01/05 00:07:58 UTC

[GitHub] [skywalking] hanahmily opened a new issue, #10229: [BanyanDB] Encode DataTable type of a Field

hanahmily opened a new issue, #10229:
URL: https://github.com/apache/skywalking/issues/10229

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/skywalking/issues?q=is%3Aissue) and found no similar feature requirement.
   
   
   ### Description
   
   [`DataTable`](https://github.com/apache/skywalking/blob/f3b567160ce61675cb692c3417101162d67093de/oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/analysis/metrics/DataTable.java) combines a series of key-value pairs. The key is a string label, and the value is a 64-bit integer. The banyandb API, java client, and encoding process should support encoding such kind of data. 
   
   ```
                ┌─────────────────────┬────────────────────────┬────────────────────┐
                │                     │                        │                    │
                │                     │      offset2           │                    │
                │                     │                        │                    │
                │       offset1       │  encoded integer values│       offset3      │
                │                     │                        │                    │
                │                     │                        │                    │
                ├─────────────────────┼────────────────────────┼────────────────────┤
                │                     │                        │                    │
                │                     │                        │                    │
                │      offset4        │        ...             │        ...         │
                │                     │                        │                    │
                │                     │                        │                    │
                ├─────────────────────┼────────────────────────┼────────────────────┤
                │                     │                        │                    │
                │      ...            │        ...             │       ....         │
                │                     │                        │                    │
                ├───────┬─────────────┴─┬───────────┬──────────┴────────────────────┤
                │       │               │           │                               │
                │       │               │           │                               │
        tail ◄──┤ length│ label literal │ offset1   │          ....                 │
                │       │   (var string)│           │                               │
                │       │               │           │                               │
                └───────┴───────────────┴───────────┴───────────────────────────────┘
   
   
   
   ```
   
   ### Use case
   
   _No response_
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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: notifications-unsubscribe@skywalking.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [skywalking] hanahmily closed issue #10229: [BanyanDB] Encode DataTable type of a Field

Posted by "hanahmily (via GitHub)" <gi...@apache.org>.
hanahmily closed issue #10229: [BanyanDB] Encode DataTable type of a Field
URL: https://github.com/apache/skywalking/issues/10229


-- 
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: notifications-unsubscribe@skywalking.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [skywalking] wu-sheng commented on issue #10229: [BanyanDB] Encode DataTable type of a Field

Posted by GitBox <gi...@apache.org>.
wu-sheng commented on issue #10229:
URL: https://github.com/apache/skywalking/issues/10229#issuecomment-1371569134

   Why? This is just one kind of custom data type.
   There are IntList. Database should not be aware of this, but consider it as a string only.


-- 
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: notifications-unsubscribe@skywalking.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [skywalking] hanahmily commented on issue #10229: [BanyanDB] Encode DataTable type of a Field

Posted by "hanahmily (via GitHub)" <gi...@apache.org>.
hanahmily commented on issue #10229:
URL: https://github.com/apache/skywalking/issues/10229#issuecomment-1579818509

   We redesign the table file format later.


-- 
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: notifications-unsubscribe@skywalking.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org