Rajat Khandelwal created LENS-265:
-------------------------------------

             Summary: 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


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