Quick BI中Presto数据源执行SQL失败.Presto Number of stages in the query (127) exceeds the allowed maximum (100)

更新时间:

【问题描述】

Presto数据源执行SQL失败.Presto Number of stages in the query (127) exceeds the allowed maximum (100)

【问题原因】

Presto数据源默认限制stages数量是100,当嵌套过多在BI中一般是使用lod嵌套的时候容易发生,从而导致超过了数据源的默认限制。

【解决方案】

  1. 在数据源中调整key query_max_stage_count 到更大数量。

  2. 在当前SQL数据集的hint中设置key query_max_stage_count 到更大数量。

【适用于】

Quick BI 专业版 v5.0.3