Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add star-tree and json index to the output of /segments/{tableName}/metadata API #6766

Closed
npawar opened this issue Apr 9, 2021 · 3 comments
Assignees
Labels
beginner-task Small task for new contributors to ramp up

Comments

@npawar
Copy link
Contributor

npawar commented Apr 9, 2021

This PR #5718 introduced the API. We are missing json index and star tree index from it.

"indexes": {
      "homeRuns": {
        "bloom-filter": "NO",
        "dictionary": "YES",
        "forward-index": "YES",
        "inverted-index": "NO",
        "null-value-vector-reader": "NO",
        "range-index": "NO"
      },
@npawar npawar added the beginner-task Small task for new contributors to ramp up label Apr 9, 2021
@npawar
Copy link
Contributor Author

npawar commented Apr 9, 2021

fyi @kriti-sc

@kriti-sc
Copy link
Contributor

Sample response for exposing both json-index and star-tree-index

"columns": [],
"indexes": {
    "studentID": {
        "bloom-filter": "NO",
        "dictionary": "YES",
        "forward-index": "YES",
        "inverted-index": "YES",
        "null-value-vector-reader": "NO",
        "range-index": "NO",
        "json-index": "NO"
    },
    "firstName": {
        "bloom-filter": "NO",
        "dictionary": "YES",
        "forward-index": "YES",
        "inverted-index": "NO",
        "null-value-vector-reader": "NO",
        "range-index": "NO",
        "json-index": "NO"
    }
},
"startree-index": [
    {
        "dimension-columns": [
            "studentID",
            "firstName"
        ],
        "metric-aggregations": [
            {
                "column": "col1",
                "aggregation": "SUM"
            },
            {
                "column": "col2",
                "aggregation": "DISTINCT"
            },
            {
                "column": "*",
                "aggregation": "COUNT"
            }
        ],
        "max-leaf-records": 1,
        "dimension-columns-skipped": [
            "col3"
        ]
    }
]

kriti-sc pushed a commit to kriti-sc/incubator-pinot that referenced this issue May 2, 2021
@kriti-sc
Copy link
Contributor

kriti-sc commented May 2, 2021

PR: #6873

kriti-sc added a commit to kriti-sc/incubator-pinot that referenced this issue May 16, 2021
…ub.com:kriti-sc/incubator-pinot into feature/apache#6766-json-startree-index-to-api
kriti-sc added a commit to kriti-sc/incubator-pinot that referenced this issue May 16, 2021
kriti-sc added a commit to kriti-sc/incubator-pinot that referenced this issue May 23, 2021
kriti-sc added a commit to kriti-sc/incubator-pinot that referenced this issue May 23, 2021
kriti-sc added a commit to kriti-sc/incubator-pinot that referenced this issue May 23, 2021
@npawar npawar closed this as completed May 25, 2021
kriti-sc added a commit to kriti-sc/incubator-pinot that referenced this issue May 25, 2021
kriti-sc added a commit to kriti-sc/incubator-pinot that referenced this issue May 25, 2021
kriti-sc added a commit to kriti-sc/incubator-pinot that referenced this issue May 26, 2021
kriti-sc added a commit to kriti-sc/incubator-pinot that referenced this issue May 26, 2021
Jackie-Jiang pushed a commit that referenced this issue May 27, 2021
Expose info about JSON index and star-tree index
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
beginner-task Small task for new contributors to ramp up
Projects
None yet
Development

No branches or pull requests

2 participants