[jira] [Commented] (KYLIN-3689) When the startTime is equal to the endTime in build request, the segment will build all data.

2018-11-19 Thread ASF subversion and git services (JIRA)


[ 
https://issues.apache.org/jira/browse/KYLIN-3689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16692579#comment-16692579
 ] 

ASF subversion and git services commented on KYLIN-3689:


Commit 4bcd2f217ffaa83871bdd5cd135abb49db0ea1d0 in kylin's branch 
refs/heads/2.3.x from shaofengshi
[ https://gitbox.apache.org/repos/asf?p=kylin.git;h=4bcd2f2 ]

KYLIN-3689 fix UT


> When the startTime is equal to the endTime in build request, the segment will 
> build all data.
> -
>
> Key: KYLIN-3689
> URL: https://issues.apache.org/jira/browse/KYLIN-3689
> Project: Kylin
>  Issue Type: Bug
>  Components: Job Engine, Metadata, Query Engine
>Affects Versions: v2.4.0, v2.5.0
>Reporter: Hongtao He
>Assignee: Shaofeng SHI
>Priority: Major
> Fix For: v2.5.2
>
> Attachments: 
> 0001-fix-bug-When-the-startTime-is-equal-to-the-endTime-i.patch
>
>
> Hi all:
>   We  know that kylin's build job often runs late at night, so calling 
> kylin's restful API directly is a very common thing. In this scenario, if  
> the startTime is equal to the endTime,  something unexpected will happen. The 
>  job calculates all partition data, so the query result is wrong.
>   For example, when I send the following request to kylin.
> curl -X PUT -H "Authorization: Basic XXX" -H 'Content-Type: 
> application/json' -d '\{"startTime":'154189440', 
> "endTime":'154189440', "buildType":"BUILD"}' 
> [http://xx:/kylin/api/cubes/cube_name/build|http://xx/]
> then, the job will calculate all partition data. I find the backend interface 
> of build lacks checksum data range, and the sql of generating the flat table 
> is wrong. 
>   I try to fix this bug, and the patch  is in the attachment.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (KYLIN-3689) When the startTime is equal to the endTime in build request, the segment will build all data.

2018-11-19 Thread ASF subversion and git services (JIRA)


[ 
https://issues.apache.org/jira/browse/KYLIN-3689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16692577#comment-16692577
 ] 

ASF subversion and git services commented on KYLIN-3689:


Commit 02f19f200be95e0da3e146386f31fe0633e3f6b8 in kylin's branch 
refs/heads/2.5.x from shaofengshi
[ https://gitbox.apache.org/repos/asf?p=kylin.git;h=02f19f2 ]

KYLIN-3689 fix UT


> When the startTime is equal to the endTime in build request, the segment will 
> build all data.
> -
>
> Key: KYLIN-3689
> URL: https://issues.apache.org/jira/browse/KYLIN-3689
> Project: Kylin
>  Issue Type: Bug
>  Components: Job Engine, Metadata, Query Engine
>Affects Versions: v2.4.0, v2.5.0
>Reporter: Hongtao He
>Assignee: Shaofeng SHI
>Priority: Major
> Fix For: v2.5.2
>
> Attachments: 
> 0001-fix-bug-When-the-startTime-is-equal-to-the-endTime-i.patch
>
>
> Hi all:
>   We  know that kylin's build job often runs late at night, so calling 
> kylin's restful API directly is a very common thing. In this scenario, if  
> the startTime is equal to the endTime,  something unexpected will happen. The 
>  job calculates all partition data, so the query result is wrong.
>   For example, when I send the following request to kylin.
> curl -X PUT -H "Authorization: Basic XXX" -H 'Content-Type: 
> application/json' -d '\{"startTime":'154189440', 
> "endTime":'154189440', "buildType":"BUILD"}' 
> [http://xx:/kylin/api/cubes/cube_name/build|http://xx/]
> then, the job will calculate all partition data. I find the backend interface 
> of build lacks checksum data range, and the sql of generating the flat table 
> is wrong. 
>   I try to fix this bug, and the patch  is in the attachment.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (KYLIN-3689) When the startTime is equal to the endTime in build request, the segment will build all data.

2018-11-19 Thread ASF subversion and git services (JIRA)


[ 
https://issues.apache.org/jira/browse/KYLIN-3689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16692576#comment-16692576
 ] 

ASF subversion and git services commented on KYLIN-3689:


Commit c9d5d0deac6ce587761f3359cdcfe161cb991ec5 in kylin's branch 
refs/heads/master from shaofengshi
[ https://gitbox.apache.org/repos/asf?p=kylin.git;h=c9d5d0d ]

KYLIN-3689 fix UT


> When the startTime is equal to the endTime in build request, the segment will 
> build all data.
> -
>
> Key: KYLIN-3689
> URL: https://issues.apache.org/jira/browse/KYLIN-3689
> Project: Kylin
>  Issue Type: Bug
>  Components: Job Engine, Metadata, Query Engine
>Affects Versions: v2.4.0, v2.5.0
>Reporter: Hongtao He
>Assignee: Shaofeng SHI
>Priority: Major
> Fix For: v2.5.2
>
> Attachments: 
> 0001-fix-bug-When-the-startTime-is-equal-to-the-endTime-i.patch
>
>
> Hi all:
>   We  know that kylin's build job often runs late at night, so calling 
> kylin's restful API directly is a very common thing. In this scenario, if  
> the startTime is equal to the endTime,  something unexpected will happen. The 
>  job calculates all partition data, so the query result is wrong.
>   For example, when I send the following request to kylin.
> curl -X PUT -H "Authorization: Basic XXX" -H 'Content-Type: 
> application/json' -d '\{"startTime":'154189440', 
> "endTime":'154189440', "buildType":"BUILD"}' 
> [http://xx:/kylin/api/cubes/cube_name/build|http://xx/]
> then, the job will calculate all partition data. I find the backend interface 
> of build lacks checksum data range, and the sql of generating the flat table 
> is wrong. 
>   I try to fix this bug, and the patch  is in the attachment.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (KYLIN-3689) When the startTime is equal to the endTime in build request, the segment will build all data.

2018-11-19 Thread ASF subversion and git services (JIRA)


[ 
https://issues.apache.org/jira/browse/KYLIN-3689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16692578#comment-16692578
 ] 

ASF subversion and git services commented on KYLIN-3689:


Commit b3df23d876fba2eec30743fd5b86f41a7c6a5de7 in kylin's branch 
refs/heads/2.4.x from shaofengshi
[ https://gitbox.apache.org/repos/asf?p=kylin.git;h=b3df23d ]

KYLIN-3689 fix UT


> When the startTime is equal to the endTime in build request, the segment will 
> build all data.
> -
>
> Key: KYLIN-3689
> URL: https://issues.apache.org/jira/browse/KYLIN-3689
> Project: Kylin
>  Issue Type: Bug
>  Components: Job Engine, Metadata, Query Engine
>Affects Versions: v2.4.0, v2.5.0
>Reporter: Hongtao He
>Assignee: Shaofeng SHI
>Priority: Major
> Fix For: v2.5.2
>
> Attachments: 
> 0001-fix-bug-When-the-startTime-is-equal-to-the-endTime-i.patch
>
>
> Hi all:
>   We  know that kylin's build job often runs late at night, so calling 
> kylin's restful API directly is a very common thing. In this scenario, if  
> the startTime is equal to the endTime,  something unexpected will happen. The 
>  job calculates all partition data, so the query result is wrong.
>   For example, when I send the following request to kylin.
> curl -X PUT -H "Authorization: Basic XXX" -H 'Content-Type: 
> application/json' -d '\{"startTime":'154189440', 
> "endTime":'154189440', "buildType":"BUILD"}' 
> [http://xx:/kylin/api/cubes/cube_name/build|http://xx/]
> then, the job will calculate all partition data. I find the backend interface 
> of build lacks checksum data range, and the sql of generating the flat table 
> is wrong. 
>   I try to fix this bug, and the patch  is in the attachment.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (KYLIN-3689) When the startTime is equal to the endTime in build request, the segment will build all data.

2018-11-19 Thread ASF subversion and git services (JIRA)


[ 
https://issues.apache.org/jira/browse/KYLIN-3689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16692533#comment-16692533
 ] 

ASF subversion and git services commented on KYLIN-3689:


Commit 2f9e53f27f5df9876b07ea5cb7a8ee5ac9b46c26 in kylin's branch 
refs/heads/2.3.x from 贺红涛
[ https://gitbox.apache.org/repos/asf?p=kylin.git;h=2f9e53f ]

KYLIN-3689 When the startTime is equal to the endTime in build request, the 
segment will build all data.


> When the startTime is equal to the endTime in build request, the segment will 
> build all data.
> -
>
> Key: KYLIN-3689
> URL: https://issues.apache.org/jira/browse/KYLIN-3689
> Project: Kylin
>  Issue Type: Bug
>  Components: Job Engine, Metadata, Query Engine
>Affects Versions: v2.4.0, v2.5.0
>Reporter: Hongtao He
>Assignee: Shaofeng SHI
>Priority: Major
> Fix For: v2.5.2
>
> Attachments: 
> 0001-fix-bug-When-the-startTime-is-equal-to-the-endTime-i.patch
>
>
> Hi all:
>   We  know that kylin's build job often runs late at night, so calling 
> kylin's restful API directly is a very common thing. In this scenario, if  
> the startTime is equal to the endTime,  something unexpected will happen. The 
>  job calculates all partition data, so the query result is wrong.
>   For example, when I send the following request to kylin.
> curl -X PUT -H "Authorization: Basic XXX" -H 'Content-Type: 
> application/json' -d '\{"startTime":'154189440', 
> "endTime":'154189440', "buildType":"BUILD"}' 
> [http://xx:/kylin/api/cubes/cube_name/build|http://xx/]
> then, the job will calculate all partition data. I find the backend interface 
> of build lacks checksum data range, and the sql of generating the flat table 
> is wrong. 
>   I try to fix this bug, and the patch  is in the attachment.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (KYLIN-3689) When the startTime is equal to the endTime in build request, the segment will build all data.

2018-11-19 Thread ASF subversion and git services (JIRA)


[ 
https://issues.apache.org/jira/browse/KYLIN-3689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16692531#comment-16692531
 ] 

ASF subversion and git services commented on KYLIN-3689:


Commit b76ec1f17dbf842a8e79df246f962f3dc24202e7 in kylin's branch 
refs/heads/2.5.x from 贺红涛
[ https://gitbox.apache.org/repos/asf?p=kylin.git;h=b76ec1f ]

KYLIN-3689 When the startTime is equal to the endTime in build request, the 
segment will build all data.


> When the startTime is equal to the endTime in build request, the segment will 
> build all data.
> -
>
> Key: KYLIN-3689
> URL: https://issues.apache.org/jira/browse/KYLIN-3689
> Project: Kylin
>  Issue Type: Bug
>  Components: Job Engine, Metadata, Query Engine
>Affects Versions: v2.4.0, v2.5.0
>Reporter: Hongtao He
>Assignee: Shaofeng SHI
>Priority: Major
> Fix For: v2.5.2
>
> Attachments: 
> 0001-fix-bug-When-the-startTime-is-equal-to-the-endTime-i.patch
>
>
> Hi all:
>   We  know that kylin's build job often runs late at night, so calling 
> kylin's restful API directly is a very common thing. In this scenario, if  
> the startTime is equal to the endTime,  something unexpected will happen. The 
>  job calculates all partition data, so the query result is wrong.
>   For example, when I send the following request to kylin.
> curl -X PUT -H "Authorization: Basic XXX" -H 'Content-Type: 
> application/json' -d '\{"startTime":'154189440', 
> "endTime":'154189440', "buildType":"BUILD"}' 
> [http://xx:/kylin/api/cubes/cube_name/build|http://xx/]
> then, the job will calculate all partition data. I find the backend interface 
> of build lacks checksum data range, and the sql of generating the flat table 
> is wrong. 
>   I try to fix this bug, and the patch  is in the attachment.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (KYLIN-3689) When the startTime is equal to the endTime in build request, the segment will build all data.

2018-11-19 Thread ASF subversion and git services (JIRA)


[ 
https://issues.apache.org/jira/browse/KYLIN-3689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16692532#comment-16692532
 ] 

ASF subversion and git services commented on KYLIN-3689:


Commit 34bc87638a66da2b42822ccc66ca3789165c4607 in kylin's branch 
refs/heads/2.4.x from 贺红涛
[ https://gitbox.apache.org/repos/asf?p=kylin.git;h=34bc876 ]

KYLIN-3689 When the startTime is equal to the endTime in build request, the 
segment will build all data.


> When the startTime is equal to the endTime in build request, the segment will 
> build all data.
> -
>
> Key: KYLIN-3689
> URL: https://issues.apache.org/jira/browse/KYLIN-3689
> Project: Kylin
>  Issue Type: Bug
>  Components: Job Engine, Metadata, Query Engine
>Affects Versions: v2.4.0, v2.5.0
>Reporter: Hongtao He
>Assignee: Shaofeng SHI
>Priority: Major
> Fix For: v2.5.2
>
> Attachments: 
> 0001-fix-bug-When-the-startTime-is-equal-to-the-endTime-i.patch
>
>
> Hi all:
>   We  know that kylin's build job often runs late at night, so calling 
> kylin's restful API directly is a very common thing. In this scenario, if  
> the startTime is equal to the endTime,  something unexpected will happen. The 
>  job calculates all partition data, so the query result is wrong.
>   For example, when I send the following request to kylin.
> curl -X PUT -H "Authorization: Basic XXX" -H 'Content-Type: 
> application/json' -d '\{"startTime":'154189440', 
> "endTime":'154189440', "buildType":"BUILD"}' 
> [http://xx:/kylin/api/cubes/cube_name/build|http://xx/]
> then, the job will calculate all partition data. I find the backend interface 
> of build lacks checksum data range, and the sql of generating the flat table 
> is wrong. 
>   I try to fix this bug, and the patch  is in the attachment.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (KYLIN-3689) When the startTime is equal to the endTime in build request, the segment will build all data.

2018-11-19 Thread ASF subversion and git services (JIRA)


[ 
https://issues.apache.org/jira/browse/KYLIN-3689?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16692530#comment-16692530
 ] 

ASF subversion and git services commented on KYLIN-3689:


Commit 45fb6a2661a9ae92a5766ace97d8a6a51f188f7c in kylin's branch 
refs/heads/master from 贺红涛
[ https://gitbox.apache.org/repos/asf?p=kylin.git;h=45fb6a2 ]

KYLIN-3689 When the startTime is equal to the endTime in build request, the 
segment will build all data.


> When the startTime is equal to the endTime in build request, the segment will 
> build all data.
> -
>
> Key: KYLIN-3689
> URL: https://issues.apache.org/jira/browse/KYLIN-3689
> Project: Kylin
>  Issue Type: Bug
>  Components: Job Engine, Metadata, Query Engine
>Affects Versions: v2.4.0, v2.5.0
>Reporter: Hongtao He
>Assignee: Shaofeng SHI
>Priority: Major
> Fix For: v2.5.2
>
> Attachments: 
> 0001-fix-bug-When-the-startTime-is-equal-to-the-endTime-i.patch
>
>
> Hi all:
>   We  know that kylin's build job often runs late at night, so calling 
> kylin's restful API directly is a very common thing. In this scenario, if  
> the startTime is equal to the endTime,  something unexpected will happen. The 
>  job calculates all partition data, so the query result is wrong.
>   For example, when I send the following request to kylin.
> curl -X PUT -H "Authorization: Basic XXX" -H 'Content-Type: 
> application/json' -d '\{"startTime":'154189440', 
> "endTime":'154189440', "buildType":"BUILD"}' 
> [http://xx:/kylin/api/cubes/cube_name/build|http://xx/]
> then, the job will calculate all partition data. I find the backend interface 
> of build lacks checksum data range, and the sql of generating the flat table 
> is wrong. 
>   I try to fix this bug, and the patch  is in the attachment.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)