You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lens.apache.org by "Divakar Tomar (JIRA)" <ji...@apache.org> on 2017/08/21 10:42:00 UTC
[jira] [Comment Edited] (LENS-1420) Bug fixes in cube segmentation
final rewritten query
[ https://issues.apache.org/jira/browse/LENS-1420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16133013#comment-16133013 ]
Divakar Tomar edited comment on LENS-1420 at 8/21/17 10:41 AM:
---------------------------------------------------------------
case 3 still persists. When same column appears twice in the query , it comes only once in the rewritten query (when segmentation is the selected candidate) and appears twice in group by clause.
all other cases are verified.
was (Author: divakar_tomar):
case 3 still persists. When same column appears twice in the query , it comes only once in the rewritten query (when segmentation is the selected candidate).
> Bug fixes in cube segmentation final rewritten query
> -----------------------------------------------------
>
> Key: LENS-1420
> URL: https://issues.apache.org/jira/browse/LENS-1420
> Project: Apache Lens
> Issue Type: Bug
> Components: cube
> Reporter: Sushil Mohanty
> Assignee: Sushil Mohanty
> Fix For: 2.7
>
> Attachments: LENS-1420_1.patch
>
>
> Found the below issues in fact-to-fact union and cube segmentation rewritten query.
> 1. Expressions used in having clause are not resolved in the final rewritten query incase of picked candidate is a segmentation.
> 2. Alias is not being replaced in order by clause for segmentation queries.
> 3. Query with two dim attributes referring to same join chain ending with wrong alias replacement.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)