activeviam / activeviam.github.io

Tools from ActiveViam

Home Page:https://activeviam.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Incorrect display of query plans with External Retrievals

OPeyrusse opened this issue · comments

External retrievals and standard retrievals seem to have their distinct id sequence. This results in plans containing multiple conflicting ids.
In the attached example, there is Retrieval #0 and ExternalRetrieval #0.

image
in the screenshot above, this is only one node "0"

plan.txt

Retrieval #0: PostProcessedAggregatesRetrieval
	....
 which depends on {
	Retrieval #1: PrimitiveResultsMerger
		....
	 which depends on {
		Retrieval #2: PrimitiveAnalysisAggregationRetrieval
			....
		 which depends on {
			...
			ExternalRetrieval #0: ExternalDatabaseRetrieval
				store= Rates
				fields= [`Currency`]
				JoinedMeasures= [Conversion Rate]
				Condition= `Currency` = Ccy1
		}
	}
...
}

Because the tool relies on these ids #<id>, this generates missing nodes.
It may be an issue with ActivePivot query plan printer.

Note that this exact query plan is not supported by the "legacy" version https://activeviam.github.io/queryplan-analyzer/
image