[jira] [Commented] (CALCITE-4733) MaterializedViewAggregateRule should not rewrite top level name alias in project.

2021-08-15 Thread Enze Liu (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4733?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17399348#comment-17399348 ] Enze Liu commented on CALCITE-4733: --- Ok, got it. I'll close this issue. > Materiali

[jira] [Closed] (CALCITE-4733) MaterializedViewAggregateRule should not rewrite top level name alias in project.

2021-08-15 Thread Enze Liu (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4733?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Enze Liu closed CALCITE-4733. - Resolution: Not A Problem > MaterializedViewAggregateRule should not rewrite top level name alias in >

[jira] [Updated] (CALCITE-4733) *MaterializedViewAggregateRule* should not rewrite top level name alias in project.

2021-08-15 Thread Enze Liu (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4733?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Enze Liu updated CALCITE-4733: -- Summary: *MaterializedViewAggregateRule* should not rewrite top level name alias in project. (was: M

[jira] [Updated] (CALCITE-4733) MaterializedViewAggregateRule should not rewrite top level name alias in project.

2021-08-15 Thread Enze Liu (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4733?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Enze Liu updated CALCITE-4733: -- Summary: MaterializedViewAggregateRule should not rewrite top level name alias in project. (was: *Ma

[jira] [Updated] (CALCITE-4733) MaterializedViewAggregateRule should not rewrite top level name alias in project.

2021-08-15 Thread Enze Liu (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4733?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Enze Liu updated CALCITE-4733: -- Summary: MaterializedViewAggregateRule should not rewrite top level name alias in project. (was: ((M

[jira] [Updated] (CALCITE-4733) MaterializedViewAggregateRule should not rewrite top level name alias in project.

2021-08-15 Thread Enze Liu (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4733?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Enze Liu updated CALCITE-4733: -- Description: We use *MaterializedViewAggregateRule* to do optimize.  the original sql is :  {code:ja

[jira] [Updated] (CALCITE-4733) MaterializedViewAggregateRule should not rewrite top level name alias in project.

2021-08-15 Thread Enze Liu (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4733?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Enze Liu updated CALCITE-4733: -- Description: We use *MaterializedViewAggregateRule* to do optimize.  the original sql is :  {code:ja

[jira] [Updated] (CALCITE-4733) ((MaterializedViewAggregateRule)) should not rewrite top level name alias in project.

2021-08-15 Thread Enze Liu (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4733?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Enze Liu updated CALCITE-4733: -- Summary: ((MaterializedViewAggregateRule)) should not rewrite top level name alias in project. (was:

[jira] [Updated] (CALCITE-4733) {{MaterializedViewAggregateRule}} should not rewrite top level name alias in project.

2021-08-15 Thread Enze Liu (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4733?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Enze Liu updated CALCITE-4733: -- Summary: {{MaterializedViewAggregateRule}} should not rewrite top level name alias in project. (was:

[jira] [Commented] (CALCITE-4733) `MaterializedViewAggregateRule` should not rewrite top level name alias in project.

2021-08-12 Thread Enze Liu (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4733?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17398455#comment-17398455 ] Enze Liu commented on CALCITE-4733: --- this kind of modification will affect test `test

[jira] [Updated] (CALCITE-4733) `MaterializedViewAggregateRule` should not rewrite top level name alias in project.

2021-08-12 Thread Enze Liu (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4733?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Enze Liu updated CALCITE-4733: -- Attachment: image-2021-08-13-14-06-36-712.png > `MaterializedViewAggregateRule` should not rewrite to

[jira] [Commented] (CALCITE-4733) `MaterializedViewAggregateRule` should not rewrite top level name alias in project.

2021-08-12 Thread Enze Liu (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4733?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17398419#comment-17398419 ] Enze Liu commented on CALCITE-4733: --- As a sidenote, the `name` of `column alias` is i

[jira] [Updated] (CALCITE-4733) `MaterializedViewAggregateRule` should not rewrite top level name alias in project.

2021-08-12 Thread Enze Liu (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4733?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Enze Liu updated CALCITE-4733: -- Description: We use `MaterializedViewAggregateRule` to do optimize.  the original sql is :  {code:ja

[jira] [Created] (CALCITE-4733) `MaterializedViewAggregateRule` should not rewrite top level name alias in project.

2021-08-12 Thread Enze Liu (Jira)
Enze Liu created CALCITE-4733: - Summary: `MaterializedViewAggregateRule` should not rewrite top level name alias in project. Key: CALCITE-4733 URL: https://issues.apache.org/jira/browse/CALCITE-4733 Proje

[jira] [Comment Edited] (CALCITE-4724) ClickHouseSqlDialect `supportsAliasedValues` should return false.

2021-08-12 Thread Enze Liu (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4724?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17397883#comment-17397883 ] Enze Liu edited comment on CALCITE-4724 at 8/12/21, 7:02 AM:

[jira] [Commented] (CALCITE-4724) ClickHouseSqlDialect `supportsAliasedValues` should return false.

2021-08-12 Thread Enze Liu (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4724?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17397883#comment-17397883 ] Enze Liu commented on CALCITE-4724: --- Thanks for the clarification. And the change loo

[jira] [Commented] (CALCITE-4724) ClickHouseSqlDialect `supportsAliasedValues` should return false.

2021-08-11 Thread Enze Liu (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4724?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17397754#comment-17397754 ] Enze Liu commented on CALCITE-4724: --- Added ClickHouse testcases in `testValues()` and

[jira] [Commented] (CALCITE-4724) ClickHouseSqlDialect `supportsAliasedValues` should return false.

2021-08-11 Thread Enze Liu (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4724?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17397728#comment-17397728 ] Enze Liu commented on CALCITE-4724: --- Pull request updated with test case.    > Clic

[jira] [Commented] (CALCITE-4724) ClickHouseSqlDialect `supportsAliasedValues` should return false.

2021-08-11 Thread Enze Liu (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4724?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17397669#comment-17397669 ] Enze Liu commented on CALCITE-4724: --- [~zabetak]  [https://clickhouse.tech/docs/en/sq

[jira] [Updated] (CALCITE-4724) ClickHouseSqlDialect `supportsAliasedValues` should return false.

2021-08-10 Thread Enze Liu (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4724?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Enze Liu updated CALCITE-4724: -- Labels: pull-requests-available (was: pull-request-available) > ClickHouseSqlDialect `supportsAliase

[jira] [Updated] (CALCITE-4724) ClickHouseSqlDialect `supportsAliasedValues` should return false.

2021-08-10 Thread Enze Liu (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4724?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Enze Liu updated CALCITE-4724: -- Labels: pull-request-available (was: ) > ClickHouseSqlDialect `supportsAliasedValues` should return

[jira] [Created] (CALCITE-4724) ClickHouseSqlDialect `supportsAliasedValues` should return false.

2021-08-10 Thread Enze Liu (Jira)
Enze Liu created CALCITE-4724: - Summary: ClickHouseSqlDialect `supportsAliasedValues` should return false. Key: CALCITE-4724 URL: https://issues.apache.org/jira/browse/CALCITE-4724 Project: Calcite

[jira] [Comment Edited] (CALCITE-4721) SqlSelect's setOperand method cannot set `hints`, failed with AssertionError

2021-08-09 Thread Enze Liu (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4721?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17396335#comment-17396335 ] Enze Liu edited comment on CALCITE-4721 at 8/10/21, 12:51 AM: ---

[jira] [Comment Edited] (CALCITE-4721) SqlSelect's setOperand method cannot set `hints`, failed with AssertionError

2021-08-09 Thread Enze Liu (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4721?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17396335#comment-17396335 ] Enze Liu edited comment on CALCITE-4721 at 8/10/21, 12:46 AM: ---

[jira] [Comment Edited] (CALCITE-4721) SqlSelect's setOperand method cannot set `hints`, failed with AssertionError

2021-08-09 Thread Enze Liu (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4721?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17396335#comment-17396335 ] Enze Liu edited comment on CALCITE-4721 at 8/10/21, 12:45 AM: ---

[jira] [Commented] (CALCITE-4721) SqlSelect's setOperand method cannot set `hints`, failed with AssertionError

2021-08-09 Thread Enze Liu (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4721?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17396335#comment-17396335 ] Enze Liu commented on CALCITE-4721: --- Actually, we don't have to set hints. when do s

[jira] [Updated] (CALCITE-4721) SqlSelect's setOperand method cannot set `hints`, failed with AssertionError

2021-08-08 Thread Enze Liu (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4721?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Enze Liu updated CALCITE-4721: -- Labels: pull-requests-available (was: pull-request-available) > SqlSelect's setOperand method cannot

[jira] [Created] (CALCITE-4721) SqlSelect's setOperand method cannot set `hints`, failed with AssertionError

2021-08-08 Thread Enze Liu (Jira)
Enze Liu created CALCITE-4721: - Summary: SqlSelect's setOperand method cannot set `hints`, failed with AssertionError Key: CALCITE-4721 URL: https://issues.apache.org/jira/browse/CALCITE-4721 Project: Cal