Here is the discussion
https://lists.apache.org/thread.html/44bf088f278d0ca3087bb8bdffda158534994d4c41be5405eb4699d8@%3Cdev.kylin.apache.org%3E
GitHub Pull Request #709
GitHub Pull Request #712