[ 
https://issues.apache.org/jira/browse/LENS-265?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Amareshwari Sriramadasu updated LENS-265:
-----------------------------------------
    Fix Version/s: 2.1

> improve the brief error in case of no fact found error 
> -------------------------------------------------------
>
>                 Key: LENS-265
>                 URL: https://issues.apache.org/jira/browse/LENS-265
>             Project: Apache Lens
>          Issue Type: Improvement
>          Components: cube
>            Reporter: Rajat Khandelwal
>             Fix For: 2.1
>
>
> So basically every fact was rejected with a reason. Some reasons are just 
> error codes, some have additional details with them(e.g. in case of column 
> not found, which columns were not found) Now there's an ordering between 
> reasons. The max of reasons is picked and the brief error message is 
> generated based on the facts that were rejected with the max reason and (if 
> exists) any details of the reason. 
> This approach is good enough but there's scope for improvement. The brief 
> error message can also look at the smaller errors and include additional 
> details  for the user. e.g. all facts except one say a column 'c' was not 
> found and one fact says it's not partitioned with the time partition queried. 
> Then final error can say that the column 'c' is not queriable with the given 
> time dimension.
> Consider this jira to be the place to put more such cases. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to