[
https://issues.apache.org/jira/browse/KYLIN-4554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17319097#comment-17319097
]
ASF GitHub Bot commented on KYLIN-4554:
---------------------------------------
zheniantoushipashi commented on pull request #1626:
URL: https://github.com/apache/kylin/pull/1626#issuecomment-817552441
**test evidence**
**Positive testing**
Use ssb data set, create a data model, add filter LO_CUSTKEY > 1 at
last step
Successfully created the model

**Negative Testing**
Add an additional Y after the LO_CUSTKEY column to construct a column
:LO_CUSTKEYY that does not belong to the model table

The following error is reported when saving the model
Failed to deal with the request: java.lang.IllegalArgumentException: filter
condition col: LO_CUSTKEYY is not a column in the table
Meet the test expectations
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> Validate "filter condition" on model saving
> -------------------------------------------
>
> Key: KYLIN-4554
> URL: https://issues.apache.org/jira/browse/KYLIN-4554
> Project: Kylin
> Issue Type: Improvement
> Components: Metadata
> Reporter: Shao Feng Shi
> Assignee: Sun BiaoBiao
> Priority: Major
> Fix For: v4.0.0-GA
>
> Attachments: WechatIMG397.png
>
>
> When define a model, user can enter a filter condition (using to do data
> filtering on loading). While the system doesn't validate the filtering
> condition's syntax; Later when build the cube, the condition will be send to
> Hive, Hive may report an error on the syntax, but at that time, it is
> difficult to modify it.
>
> !WechatIMG397.png!
--
This message was sent by Atlassian Jira
(v8.3.4#803005)