Class ClientQuerySegmentWalkerUtils

    • Constructor Detail

      • ClientQuerySegmentWalkerUtils

        public ClientQuerySegmentWalkerUtils()
    • Method Detail

      • getLimitType

        public static ClientQuerySegmentWalkerUtils.SubqueryResultLimit getLimitType​(long memoryLimitBytes,
                                                                                     boolean cannotMaterializeToFrames)
        Returns the limit type to be used for a given subquery. It returns MEMORY_LIMIT only if: 1. The user has enabled the 'maxSubqueryBytes' explicitly in the query context or as the server default 2. All the other subqueries in the query so far didn't fall back to ROW_BASED limit due to an error while executing the query In all the other cases, it returns ROW_LIMIT