opensearch-project / opensearch-project/sql-odbc

[BUG]Aggregate functions in PowerBI fail

Open
#25 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C++
Stars
10
Forks
25
PR merge metrics
No merged PRs in 30d

Description

Describe the bug
Visualizations with Minimum, Maximum, Standard deviation, Variance, or Median options selected fail to load.

To Reproduce
Steps to reproduce the behavior:

  1. Start PowerBI
  2. Connect to OpenSearch
  3. Drag a numerical column into the workspace
  4. Select one of the aggregate functions listed above
  5. See visualization error in the workspace

Expected behavior
The result should be have the expected value of the corresponding aggregate function.

Screenshots
pbi_issue_aggregation

Additional context
Using OpenSearch version 1.2.0

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the failure in PowerBI with OpenSearch 1.2.0 through the ODBC driver, following the listed aggregation steps. No source files or tests are named, so trace the driver path handling Minimum, Maximum, standard deviation, variance, and median. Done means each listed function loads in the visualization and returns its expected value.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, sql
Domain
databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.