Closed ckatsulis closed 5 years ago
Can you try this with 1.3? Several fixes were made to more complex subqueries in 1.3 and this issue was likely fixed by it.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically closed because it has not had recent activity. Please reopen if this issue is still important to you. Thank you for your contributions.
Bug report
System info: InfluxDB shell version: 1.2.4 CentOS Linux release 7.3.1611 (Core)
Expected behavior: This statement works fine:
I would expect to change the query by adding one additional aggregate column on the inner select and have that also rolled up into a single table in the outer select... similar to this:
Actual behavior: However, when I try to select (and make a table of aggregates with multiple columns) in the outer select, I receive and error
ERR: cannot select fields when selecting multiple aggregates
. Structurally and pragmatically what I'm trying to accomplish makes sense, and ideally it should be able to display something as it would just be an additional column from the inner aggregated select.Additional info: The query returns the correct data when I include a group by symbol in the outermost select statement, but that returns N number of tables where N is equal to the number of symbols. Visually the display is wrong.