cube-js / cube

📊 Cube — Universal semantic layer platform for AI, BI, spreadsheets, and embedded analytics
https://cube.dev
Other
18.01k stars 1.78k forks source link

Duplicates names in ResultSet.seriesNames() #1186

Closed aviranmoz closed 4 years ago

aviranmoz commented 4 years ago

Describe the bug Duplicates names when using ResultSet.seriesNames() with multiple queries. I get back duplicate keys the first key repeat itself.

To Reproduce Steps to reproduce the behavior:

  1. Send multiple queries with useCubeQuery
  2. Call resultSet.seriesNames()
  3. You will get the first key as number of queries you sent

Expected behavior Get back the name of measure each query

Version: 0.20.12

Additional context cubejs-client-core package

vasilev-alex commented 4 years ago

Hey @aviranmoz! Could you please attach the queries you're sending as well as the .seriesNames() result?

vasilev-alex commented 4 years ago

Closed by #1187