RupengWang edited a comment on pull request #1226:
URL: https://github.com/apache/kylin/pull/1226#issuecomment-643605367
## Design test cases
### Prepare test env
#### source table
Create hive table using local csv file
1. create local csv file
id,name,dt
1,wang,2019/01/01
2,zhang,2019/01/02
3,Lee,2019/01/03
4,Liu,2019/01/04
2. create table in hive
```sql
CREATE TABLE wangrupeng.self_define_date(id int, name string, dt date) row
format serde 'org.apache.hadoop.hive.serde2.OpenCSVSerde' WITH SERDEPROPERTIES
("separatorChar"=",") STORED AS TEXTFILE;
```
3. local csv into hive table
```sql
load data local inpath '/root/wangrupeng/kylin-3.1.0/test.csv' overwrite
into table self_define_date;
```
#### Create a new model and cube
1. model
2. cube
### Case-1
```sql
```
----------------------------------------------------------------
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]