[jira] [Comment Edited] (CALCITE-4330) TableScan#explainTerms is not enough for digest

2020-10-11 Thread Jiatao Tao (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4330?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17212113#comment-17212113 ] Jiatao Tao edited comment on CALCITE-4330 at 10/12/20, 3:50 AM: -

[jira] [Commented] (CALCITE-4330) TableScan#explainTerms is not enough for digest

2020-10-11 Thread Jiatao Tao (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4330?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17212114#comment-17212114 ] Jiatao Tao commented on CALCITE-4330: - I think Flink meets the same problem, but th

[jira] [Commented] (CALCITE-4330) TableScan#explainTerms is not enough for digest

2020-10-11 Thread Jiatao Tao (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4330?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17212113#comment-17212113 ] Jiatao Tao commented on CALCITE-4330: - Hi fellows Here's the problem: We have our o

[jira] [Updated] (CALCITE-4330) TableScan#explainTerms is not enough for digest

2020-10-11 Thread Jiatao Tao (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4330?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jiatao Tao updated CALCITE-4330: Attachment: (was: image-2020-10-12-11-47-17-771.png) > TableScan#explainTerms is not enough f

[jira] [Updated] (CALCITE-4330) TableScan#explainTerms is not enough for digest

2020-10-11 Thread Jiatao Tao (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4330?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jiatao Tao updated CALCITE-4330: Attachment: image-2020-10-12-11-47-17-771.png > TableScan#explainTerms is not enough for digest >

[jira] [Created] (CALCITE-4330) TableScan#explainTerms is not enough for digest

2020-10-11 Thread Jiatao Tao (Jira)
Jiatao Tao created CALCITE-4330: --- Summary: TableScan#explainTerms is not enough for digest Key: CALCITE-4330 URL: https://issues.apache.org/jira/browse/CALCITE-4330 Project: Calcite Issue Type:

[jira] [Commented] (CALCITE-4325) RexSimplify/Sarg incorrectly simplifies complex expressions with NULL

2020-10-11 Thread Jiatao Tao (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17212103#comment-17212103 ] Jiatao Tao commented on CALCITE-4325: - Maybe we can encourage people to post their

[jira] [Updated] (CALCITE-4325) RexSimplify/Sarg incorrectly simplifies complex expressions with NULL

2020-10-11 Thread Jiatao Tao (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jiatao Tao updated CALCITE-4325: Attachment: (was: image-2020-10-12-11-10-07-244.png) > RexSimplify/Sarg incorrectly simplifie

[jira] [Updated] (CALCITE-4325) RexSimplify/Sarg incorrectly simplifies complex expressions with NULL

2020-10-11 Thread Jiatao Tao (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jiatao Tao updated CALCITE-4325: Attachment: image-2020-10-12-11-10-07-244.png > RexSimplify/Sarg incorrectly simplifies complex e

[jira] [Commented] (CALCITE-4323) View with ORDER BY throws AssertionError during view expansion

2020-10-11 Thread Jiatao Tao (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4323?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17212101#comment-17212101 ] Jiatao Tao commented on CALCITE-4323: - HiĀ [~julianhyde], here comes the problem, it

[jira] [Updated] (CALCITE-4034) Implement a MySQL InnoDB adapter

2020-10-11 Thread Julian Hyde (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4034?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Julian Hyde updated CALCITE-4034: - Component/s: (was: csv-adapter) innodb-adapter > Implement a MySQL InnoDB

[jira] [Resolved] (CALCITE-4034) Implement a MySQL InnoDB adapter

2020-10-11 Thread Julian Hyde (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4034?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Julian Hyde resolved CALCITE-4034. -- Fix Version/s: 1.27.0 Resolution: Fixed Fixed in [ebefe52f|https://github.com/apache/

[jira] [Assigned] (CALCITE-4325) RexSimplify/Sarg incorrectly simplifies complex expressions with NULL

2020-10-11 Thread Julian Hyde (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Julian Hyde reassigned CALCITE-4325: Assignee: Julian Hyde > RexSimplify/Sarg incorrectly simplifies complex expressions with

[jira] [Commented] (CALCITE-4327) RelBuilder#scan(...) should work when used in RelRule#onMatch as call.builder()

2020-10-11 Thread Vladimir Sitnikov (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4327?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17212056#comment-17212056 ] Vladimir Sitnikov commented on CALCITE-4327: The idea is to treat the schem

[jira] [Commented] (CALCITE-4325) RexSimplify/Sarg incorrectly simplifies complex expressions with NULL

2020-10-11 Thread Julian Hyde (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17212051#comment-17212051 ] Julian Hyde commented on CALCITE-4325: -- Patches for test cases are fine but please

[jira] [Commented] (CALCITE-4323) View with ORDER BY throws AssertionError during view expansion

2020-10-11 Thread Julian Hyde (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4323?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17212050#comment-17212050 ] Julian Hyde commented on CALCITE-4323: -- No. If someone writes {{SELECT * FROM v}}

[jira] [Commented] (CALCITE-4327) RelBuilder#scan(...) should work when used in RelRule#onMatch as call.builder()

2020-10-11 Thread Julian Hyde (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4327?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17212047#comment-17212047 ] Julian Hyde commented on CALCITE-4327: -- No, don't make it mutable. RelBuilder is i

[jira] [Commented] (CALCITE-4327) RelBuilder#scan(...) should work when used in RelRule#onMatch as call.builder()

2020-10-11 Thread Vladimir Sitnikov (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4327?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17212046#comment-17212046 ] Vladimir Sitnikov commented on CALCITE-4327: {quote} I think we should repl

[jira] [Commented] (CALCITE-4034) Implement a MySQL InnoDB adapter

2020-10-11 Thread Julian Hyde (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4034?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17212044#comment-17212044 ] Julian Hyde commented on CALCITE-4034: -- Doing final review now. I made a few copy-

[jira] [Commented] (CALCITE-4327) RelBuilder#scan(...) should work when used in RelRule#onMatch as call.builder()

2020-10-11 Thread Julian Hyde (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4327?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17212043#comment-17212043 ] Julian Hyde commented on CALCITE-4327: -- I think we should replace the {{NullPointe

[jira] [Updated] (CALCITE-4329) Bridge methods in enumerable adapter should be skipped when actual type is Object

2020-10-11 Thread Vladimir Sitnikov (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4329?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vladimir Sitnikov updated CALCITE-4329: --- Summary: Bridge methods in enumerable adapter should be skipped when actual type is

[jira] [Created] (CALCITE-4329) EnumerableRules#BRIDGE_METHODS should be skipped when actual type is Object

2020-10-11 Thread Vladimir Sitnikov (Jira)
Vladimir Sitnikov created CALCITE-4329: -- Summary: EnumerableRules#BRIDGE_METHODS should be skipped when actual type is Object Key: CALCITE-4329 URL: https://issues.apache.org/jira/browse/CALCITE-4329

[jira] [Created] (CALCITE-4328) Update janino compiler, and configure it to produce Java 1.8+ bytecode

2020-10-11 Thread Vladimir Sitnikov (Jira)
Vladimir Sitnikov created CALCITE-4328: -- Summary: Update janino compiler, and configure it to produce Java 1.8+ bytecode Key: CALCITE-4328 URL: https://issues.apache.org/jira/browse/CALCITE-4328

[jira] [Comment Edited] (CALCITE-4290) Not optimal subqueries due to a "*" in them

2020-10-11 Thread Roman Churganov (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17212027#comment-17212027 ] Roman Churganov edited comment on CALCITE-4290 at 10/11/20, 8:06 PM:

[jira] [Commented] (CALCITE-4290) Not optimal subqueries due to a "*" in them

2020-10-11 Thread Roman Churganov (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17212027#comment-17212027 ] Roman Churganov commented on CALCITE-4290: -- Have you got any basic description

[jira] [Commented] (CALCITE-4327) RelBuilder#scan(...) should work when used in RelRule#onMatch as call.builder()

2020-10-11 Thread Vladimir Sitnikov (Jira)
[ https://issues.apache.org/jira/browse/CALCITE-4327?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17211917#comment-17211917 ] Vladimir Sitnikov commented on CALCITE-4327: [~julianhyde], what do you thi

[jira] [Created] (CALCITE-4327) RelBuilder#scan(...) should work when used in RelRule#onMatch as call.builder()

2020-10-11 Thread Vladimir Sitnikov (Jira)
Vladimir Sitnikov created CALCITE-4327: -- Summary: RelBuilder#scan(...) should work when used in RelRule#onMatch as call.builder() Key: CALCITE-4327 URL: https://issues.apache.org/jira/browse/CALCITE-4327