[jira] [Commented] (FLINK-3587) Bump Calcite version to 1.7.0

2016-04-18 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/FLINK-3587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15245794#comment-15245794
 ] 

ASF GitHub Bot commented on FLINK-3587:
---

Github user zentol commented on the pull request:

https://github.com/apache/flink/pull/1897#issuecomment-211412641
  
Merging.


> Bump Calcite version to 1.7.0
> -
>
> Key: FLINK-3587
> URL: https://issues.apache.org/jira/browse/FLINK-3587
> Project: Flink
>  Issue Type: Improvement
>  Components: Table API
>Reporter: Vasia Kalavri
>Assignee: Fabian Hueske
>
> We currently depend on Calcite 1.5.0. The latest stable release is 1.6.0, but 
> I propose we bump the version to 1.7.0-SNAPSHOT to benefit from latest 
> features. If we do that, we can also get rid of the custom 
> {{FlinkJoinUnionTransposeRule}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (FLINK-3587) Bump Calcite version to 1.7.0

2016-04-18 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/FLINK-3587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15245810#comment-15245810
 ] 

ASF GitHub Bot commented on FLINK-3587:
---

Github user asfgit closed the pull request at:

https://github.com/apache/flink/pull/1897


> Bump Calcite version to 1.7.0
> -
>
> Key: FLINK-3587
> URL: https://issues.apache.org/jira/browse/FLINK-3587
> Project: Flink
>  Issue Type: Improvement
>  Components: Table API
>Reporter: Vasia Kalavri
>Assignee: Fabian Hueske
>
> We currently depend on Calcite 1.5.0. The latest stable release is 1.6.0, but 
> I propose we bump the version to 1.7.0-SNAPSHOT to benefit from latest 
> features. If we do that, we can also get rid of the custom 
> {{FlinkJoinUnionTransposeRule}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (FLINK-3587) Bump Calcite version to 1.7.0

2016-04-18 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/FLINK-3587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15245510#comment-15245510
 ] 

ASF GitHub Bot commented on FLINK-3587:
---

Github user vasia commented on the pull request:

https://github.com/apache/flink/pull/1897#issuecomment-211343770
  
Thank you @fhueske. Changes look good to me. +1 to merge.


> Bump Calcite version to 1.7.0
> -
>
> Key: FLINK-3587
> URL: https://issues.apache.org/jira/browse/FLINK-3587
> Project: Flink
>  Issue Type: Improvement
>  Components: Table API
>Reporter: Vasia Kalavri
>Assignee: Fabian Hueske
>
> We currently depend on Calcite 1.5.0. The latest stable release is 1.6.0, but 
> I propose we bump the version to 1.7.0-SNAPSHOT to benefit from latest 
> features. If we do that, we can also get rid of the custom 
> {{FlinkJoinUnionTransposeRule}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (FLINK-3587) Bump Calcite version to 1.7.0

2016-04-15 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/FLINK-3587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15243652#comment-15243652
 ] 

ASF GitHub Bot commented on FLINK-3587:
---

GitHub user fhueske opened a pull request:

https://github.com/apache/flink/pull/1897

[FLINK-3587] Bump Calcite version to 1.7.0

- [X] General
  - The pull request references the related JIRA issue
  - The pull request addresses only one issue
  - Each commit in the PR has a meaningful commit message

- [X] Documentation
  - Documentation has been added for new functionality
  - Old documentation affected by the pull request has been updated
  - JavaDoc for public methods has been added

- [X] Tests & Build
  - Functionality added by the pull request is covered by tests
  - `mvn clean verify` has been executed successfully locally or a Travis 
build has passed

This pull request updates the Apache Calcite dependency to 1.7. With 
Calcite 1.7 a few method APIs and the some behavior changed.

- Fix changed API for optimizer cost and cardinality estimates.
- Add DataSetValues and DataStreamValues due to changed Calcite RelNode 
generation.
- Pass TableEnvironment instead of TableConfig for DataSet and DataStream 
translation.
- Add methods to create new DataSources to BatchTableEnvironment and 
StreamTableEnvironment.
- Remove copied Calcite rule that got fixed.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/fhueske/flink calcite1.7

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/flink/pull/1897.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #1897


commit 92e2539b4178b3049f97bb1a6137ee91c943870a
Author: Fabian Hueske 
Date:   2016-03-22T17:51:46Z

[FLINK-3587] Bump Calcite version to 1.7.0

- Add DataSetValues and DataStreamValues due to changed Calcite RelNode 
generation.
- Pass TableEnvironment instead of TableConfig for DataSet and DataStream 
translation.
- Add methods to create new DataSources to BatchTableEnvironment and 
StreamTableEnvironment.
- Remove copied Calcite rule that got fixed.




> Bump Calcite version to 1.7.0
> -
>
> Key: FLINK-3587
> URL: https://issues.apache.org/jira/browse/FLINK-3587
> Project: Flink
>  Issue Type: Improvement
>  Components: Table API
>Reporter: Vasia Kalavri
>Assignee: Fabian Hueske
>
> We currently depend on Calcite 1.5.0. The latest stable release is 1.6.0, but 
> I propose we bump the version to 1.7.0-SNAPSHOT to benefit from latest 
> features. If we do that, we can also get rid of the custom 
> {{FlinkJoinUnionTransposeRule}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (FLINK-3587) Bump Calcite version to 1.7.0-SNAPSHOT

2016-03-21 Thread Vasia Kalavri (JIRA)

[ 
https://issues.apache.org/jira/browse/FLINK-3587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15205032#comment-15205032
 ] 

Vasia Kalavri commented on FLINK-3587:
--

Yes, I saw it too!

> Bump Calcite version to 1.7.0-SNAPSHOT
> --
>
> Key: FLINK-3587
> URL: https://issues.apache.org/jira/browse/FLINK-3587
> Project: Flink
>  Issue Type: Improvement
>  Components: Table API
>Reporter: Vasia Kalavri
>
> We currently depend on Calcite 1.5.0. The latest stable release is 1.6.0, but 
> I propose we bump the version to 1.7.0-SNAPSHOT to benefit from latest 
> features. If we do that, we can also get rid of the custom 
> {{FlinkJoinUnionTransposeRule}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (FLINK-3587) Bump Calcite version to 1.7.0-SNAPSHOT

2016-03-21 Thread Fabian Hueske (JIRA)

[ 
https://issues.apache.org/jira/browse/FLINK-3587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15205029#comment-15205029
 ] 

Fabian Hueske commented on FLINK-3587:
--

The vote to release Apache Calcite 1.7 just passed. We can update the 
dependency once the Maven artifacts are published.

> Bump Calcite version to 1.7.0-SNAPSHOT
> --
>
> Key: FLINK-3587
> URL: https://issues.apache.org/jira/browse/FLINK-3587
> Project: Flink
>  Issue Type: Improvement
>  Components: Table API
>Reporter: Vasia Kalavri
>
> We currently depend on Calcite 1.5.0. The latest stable release is 1.6.0, but 
> I propose we bump the version to 1.7.0-SNAPSHOT to benefit from latest 
> features. If we do that, we can also get rid of the custom 
> {{FlinkJoinUnionTransposeRule}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (FLINK-3587) Bump Calcite version to 1.7.0-SNAPSHOT

2016-03-11 Thread Fabian Hueske (JIRA)

[ 
https://issues.apache.org/jira/browse/FLINK-3587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15190640#comment-15190640
 ] 

Fabian Hueske commented on FLINK-3587:
--

I would not add a dependency to a potentially unstable SNAPSHOT version. 
However, I think Calcite 1.7.0 will be released in near future and we should 
upgrade once that happened.

> Bump Calcite version to 1.7.0-SNAPSHOT
> --
>
> Key: FLINK-3587
> URL: https://issues.apache.org/jira/browse/FLINK-3587
> Project: Flink
>  Issue Type: Improvement
>  Components: Table API
>Reporter: Vasia Kalavri
>
> We currently depend on Calcite 1.5.0. The latest stable release is 1.6.0, but 
> I propose we bump the version to 1.7.0-SNAPSHOT to benefit from latest 
> features. If we do that, we can also get rid of the custom 
> {{FlinkJoinUnionTransposeRule}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)