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

[DOC] Rollup explain documentation does not match product #8912

Open
1 of 4 tasks
dblock opened this issue Dec 9, 2024 · 0 comments
Open
1 of 4 tasks

[DOC] Rollup explain documentation does not match product #8912

dblock opened this issue Dec 9, 2024 · 0 comments
Assignees
Labels
1 - Backlog Issue: The issue is unassigned or assigned but not started API

Comments

@dblock
Copy link
Member

dblock commented Dec 9, 2024

What do you want to do?

  • Request a change to existing documentation
  • Add new documentation
  • Report a technical problem with the documentation
  • Other

Tell us about your request. Provide a summary of the request.

Looking at rollup explain documentation in https://opensearch.org/docs/latest/im-plugin/index-rollups/rollup-api/

Screenshot 2024-12-09 at 4 56 43 PM

This looks incorrect.

I created a rollup job.

[INFO] => PUT /_plugins/_rollup/jobs/books ({}) [application/json] {
  "rollup": {
    "enabled": true,
    "description": "Rollup books.",
    "schedule": {
      "interval": {
        "period": 1,
        "unit": "Minutes"
      }
    },
    "source_index": "books",
    "target_index": "books_by_order_date",
    "page_size": 1,
    "delay": 0,
    "continuous": false,
    "dimensions": [
      {
        "date_histogram": {
          "source_field": "order_date",
          "fixed_interval": "1h"
        }
      },
      {
        "terms": {
          "source_field": "title"
        }
      }
    ],
    "metrics": [
      {
        "source_field": "pages",
        "metrics": [
          {
            "sum": {}
          },
          {
            "avg": {}
          }
        ]
      }
    ]
  }
}

The explain on that job does not return this at all.

[INFO] => GET /_plugins/_rollup/jobs/books/_explain ({}) [application/json] 
[INFO] <= 200 (application/json; charset=UTF-8) | {
  "books": {
    "metadata_id": null,
    "rollup_metadata": null
  }
}

Version: List the OpenSearch version to which this issue applies, e.g. 2.14, 2.12--2.14, or all.

2.18

What other resources are available? Provide links to related issues, POCs, steps for testing, etc.

@Naarcha-AWS Naarcha-AWS added 1 - Backlog Issue: The issue is unassigned or assigned but not started API and removed untriaged labels Dec 17, 2024
@Naarcha-AWS Naarcha-AWS self-assigned this Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1 - Backlog Issue: The issue is unassigned or assigned but not started API
Projects
None yet
Development

No branches or pull requests

2 participants