[jira] [Commented] (CALCITE-2593) Sometimes fails to plan when a RelNode transform multiple collations to single collation

2019-01-08 Thread Stamatis Zampetakis (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2593?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16736867#comment-16736867 ] Stamatis Zampetakis commented on CALCITE-2593: -- Hi [~vladimirsitnikov], A

[jira] [Comment Edited] (CALCITE-2593) Sometimes fails to plan when a RelNode transform multiple collations to single collation

2019-01-08 Thread Stamatis Zampetakis (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2593?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16736867#comment-16736867 ] Stamatis Zampetakis edited comment on CALCITE-2593 at 1/8/19 8:19 AM: ---

[jira] [Created] (CALCITE-2776) Wrong value when accessing struct types with one attribute

2019-01-08 Thread Stamatis Zampetakis (JIRA)
Stamatis Zampetakis created CALCITE-2776: Summary: Wrong value when accessing struct types with one attribute Key: CALCITE-2776 URL: https://issues.apache.org/jira/browse/CALCITE-2776 Project:

[jira] [Commented] (CALCITE-2343) PushProjector with OVER expression causing infinite loop

2019-01-08 Thread Vladimir Sitnikov (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2343?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16736983#comment-16736983 ] Vladimir Sitnikov commented on CALCITE-2343: I've looked into the issue, an

[jira] [Updated] (CALCITE-2343) PushProjector with OVER expression causing infinite loop

2019-01-08 Thread Vladimir Sitnikov (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2343?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vladimir Sitnikov updated CALCITE-2343: --- Labels: (was: pul) > PushProjector with OVER expression causing infinite loop > -

[jira] [Updated] (CALCITE-2343) PushProjector with OVER expression causing infinite loop

2019-01-08 Thread Vladimir Sitnikov (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2343?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vladimir Sitnikov updated CALCITE-2343: --- Labels: pul (was: ) > PushProjector with OVER expression causing infinite loop > -

[jira] [Comment Edited] (CALCITE-2343) PushProjector with OVER expression causing infinite loop

2019-01-08 Thread Vladimir Sitnikov (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2343?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16736983#comment-16736983 ] Vladimir Sitnikov edited comment on CALCITE-2343 at 1/8/19 10:35 AM:

[jira] [Created] (CALCITE-2777) Inclusion of Period data type in calcite.

2019-01-08 Thread Garvit (JIRA)
Garvit created CALCITE-2777: --- Summary: Inclusion of Period data type in calcite. Key: CALCITE-2777 URL: https://issues.apache.org/jira/browse/CALCITE-2777 Project: Calcite Issue Type: New Feature

[jira] [Resolved] (CALCITE-2629) Unnecessary call to CatalogReader#getAllSchemaObjects in CatalogScope

2019-01-08 Thread Vladimir Sitnikov (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2629?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vladimir Sitnikov resolved CALCITE-2629. Resolution: Fixed Fix Version/s: 1.19.0 Fixed in  https://gitbox.apache.or

[jira] [Commented] (CALCITE-2288) Type assertion error when reducing partially constant expression

2019-01-08 Thread Vladimir Sitnikov (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16737039#comment-16737039 ] Vladimir Sitnikov commented on CALCITE-2288: [~laurentgo], the test works j

[jira] [Commented] (CALCITE-2593) Sometimes fails to plan when a RelNode transform multiple collations to single collation

2019-01-08 Thread Hongze Zhang (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2593?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16737059#comment-16737059 ] Hongze Zhang commented on CALCITE-2593: --- Hi [~vladimirsitnikov], I see the PR# 98

[jira] [Commented] (CALCITE-2223) ProjectMergeRule is infinitely matched when is applied after ProjectReduceExpressionsRule

2019-01-08 Thread Volodymyr Vysotskyi (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16737141#comment-16737141 ] Volodymyr Vysotskyi commented on CALCITE-2223: -- [~vladimirsitnikov], sorry

[jira] [Commented] (CALCITE-2554) Enrich enumerable join operators with order preserving information

2019-01-08 Thread Michael Mior (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16737156#comment-16737156 ] Michael Mior commented on CALCITE-2554: --- [~zabetak] Slipped my mind. Thanks for t

[jira] [Resolved] (CALCITE-2554) Enrich enumerable join operators with order preserving information

2019-01-08 Thread Michael Mior (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2554?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Mior resolved CALCITE-2554. --- Resolution: Fixed Assignee: Michael Mior (was: Julian Hyde) Fix Version/s:

[jira] [Commented] (CALCITE-2677) Struct types with one field are not mapped correctly to Java Classes

2019-01-08 Thread Stamatis Zampetakis (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2677?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16737164#comment-16737164 ] Stamatis Zampetakis commented on CALCITE-2677: -- Hi [~julianhyde], to illus

[jira] [Commented] (CALCITE-2776) Wrong value when accessing struct types with one attribute

2019-01-08 Thread Stamatis Zampetakis (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16737166#comment-16737166 ] Stamatis Zampetakis commented on CALCITE-2776: -- I run CalciteSuite with an

[jira] [Updated] (CALCITE-2677) Struct types with one field are not mapped correctly to Java Classes

2019-01-08 Thread Stamatis Zampetakis (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2677?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stamatis Zampetakis updated CALCITE-2677: - Labels: pull-request-available (was: easy-fix pull-request-available) > Struct

[jira] [Commented] (CALCITE-2340) Invalid cast generated by AvgVarianceConvertlet

2019-01-08 Thread Vladimir Sitnikov (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16737216#comment-16737216 ] Vladimir Sitnikov commented on CALCITE-2340: [~laurentgo], I'm afraid PR#71

[jira] [Commented] (CALCITE-2290) Type mismatch during flattening

2019-01-08 Thread Vladimir Sitnikov (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16737210#comment-16737210 ] Vladimir Sitnikov commented on CALCITE-2290: [~laurentgo], the test case no

[jira] [Resolved] (CALCITE-2437) FilterMultiJoinMergeRule doesn't combine postFilterCondition

2019-01-08 Thread Vladimir Sitnikov (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2437?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vladimir Sitnikov resolved CALCITE-2437. Resolution: Fixed Fix Version/s: 1.19.0 Fixed in  https://gitbox.apache.or

[jira] [Commented] (CALCITE-2223) ProjectMergeRule is infinitely matched when is applied after ProjectReduceExpressionsRule

2019-01-08 Thread Vladimir Sitnikov (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16737242#comment-16737242 ] Vladimir Sitnikov commented on CALCITE-2223: [~vvysotskyi], re PushProjecto

[jira] [Commented] (CALCITE-2648) Output collation of EnumerableWindow is not consistent with its implementation

2019-01-08 Thread Vladimir Sitnikov (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2648?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16737248#comment-16737248 ] Vladimir Sitnikov commented on CALCITE-2648: Well, as MaterializationTests

[jira] [Commented] (CALCITE-1882) Can't obtain the user defined aggregate function such as sum,avg by calcite

2019-01-08 Thread Vladimir Sitnikov (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-1882?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16737276#comment-16737276 ] Vladimir Sitnikov commented on CALCITE-1882: [~yuqi], I think the root caus

[jira] [Resolved] (CALCITE-2146) Errant CyclicMetadataException in multithreaded context

2019-01-08 Thread Vladimir Sitnikov (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2146?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vladimir Sitnikov resolved CALCITE-2146. Resolution: Won't Fix As per Julian Hyde: It was not designed to be thread-safe.

[jira] [Updated] (CALCITE-2397) Column Index not getting set on correlationIds

2019-01-08 Thread Vladimir Sitnikov (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2397?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vladimir Sitnikov updated CALCITE-2397: --- Issue Type: Improvement (was: Bug) > Column Index not getting set on correlationId

[jira] [Commented] (CALCITE-2397) Column Index not getting set on correlationIds

2019-01-08 Thread Vladimir Sitnikov (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16737312#comment-16737312 ] Vladimir Sitnikov commented on CALCITE-2397: [~jduong], can you please clar

[jira] [Resolved] (CALCITE-2375) EnumerableDefaults.join_() leaks connections

2019-01-08 Thread Vladimir Sitnikov (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2375?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vladimir Sitnikov resolved CALCITE-2375. Resolution: Fixed Fix Version/s: 1.19.0 Fixed in https://gitbox.apache.or

[jira] [Created] (CALCITE-2778) CompoundClosableAllocation Prefer ArrayList

2019-01-08 Thread BELUGA BEHR (JIRA)
BELUGA BEHR created CALCITE-2778: Summary: CompoundClosableAllocation Prefer ArrayList Key: CALCITE-2778 URL: https://issues.apache.org/jira/browse/CALCITE-2778 Project: Calcite Issue Type: I

[jira] [Commented] (CALCITE-490) Remove "End File.java" comments from the end of files

2019-01-08 Thread BELUGA BEHR (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16737423#comment-16737423 ] BELUGA BEHR commented on CALCITE-490: - Very common to have an end-of-file-new-line-c

[jira] [Commented] (CALCITE-2778) CompoundClosableAllocation Prefer ArrayList

2019-01-08 Thread BELUGA BEHR (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16737455#comment-16737455 ] BELUGA BEHR commented on CALCITE-2778: -- https://github.com/apache/calcite/pull/994

[jira] [Updated] (CALCITE-2301) JDBC adapter: use query timeout from the top-level statement

2019-01-08 Thread Vladimir Sitnikov (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2301?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vladimir Sitnikov updated CALCITE-2301: --- Summary: JDBC adapter: use query timeout from the top-level statement (was: Remove

[jira] [Updated] (CALCITE-2301) JDBC adapter: use query timeout from the top-level statement

2019-01-08 Thread Vladimir Sitnikov (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2301?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vladimir Sitnikov updated CALCITE-2301: --- Labels: pull-request-available (was: ) > JDBC adapter: use query timeout from the

[jira] [Commented] (CALCITE-2301) JDBC adapter: use query timeout from the top-level statement

2019-01-08 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2301?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16737473#comment-16737473 ] Julian Hyde commented on CALCITE-2301: -- [~vlsi] I see you added a PR. It looks ver

[jira] [Commented] (CALCITE-2301) JDBC adapter: use query timeout from the top-level statement

2019-01-08 Thread Vladimir Sitnikov (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2301?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16737482#comment-16737482 ] Vladimir Sitnikov commented on CALCITE-2301: What do you mean by race condi

[jira] [Commented] (CALCITE-2778) CompoundClosableAllocation Prefer ArrayList

2019-01-08 Thread BELUGA BEHR (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16737485#comment-16737485 ] BELUGA BEHR commented on CALCITE-2778: -- [~julianhyde] Ha. Interesting that it's n

[jira] [Commented] (CALCITE-2778) CompoundClosableAllocation Prefer ArrayList

2019-01-08 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16737481#comment-16737481 ] Julian Hyde commented on CALCITE-2778: -- Are you experiencing performance issues du

[jira] [Updated] (CALCITE-2778) Remove CompoundClosableAllocation

2019-01-08 Thread BELUGA BEHR (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2778?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] BELUGA BEHR updated CALCITE-2778: - Summary: Remove CompoundClosableAllocation (was: CompoundClosableAllocation Prefer ArrayList)

[jira] [Resolved] (CALCITE-2249) AggregateJoinTransposeRule generates inequivalent nodes if Aggregate relNode contains distinct aggregate function.

2019-01-08 Thread Vladimir Sitnikov (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2249?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vladimir Sitnikov resolved CALCITE-2249. Resolution: Fixed Fix Version/s: 1.19.0 Fixed in  https://gitbox.apache.or

[jira] [Commented] (CALCITE-2778) Remove CompoundClosableAllocation

2019-01-08 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16737495#comment-16737495 ] Julian Hyde commented on CALCITE-2778: -- Synchronization would not solve the proble

[jira] [Resolved] (CALCITE-2778) Remove ClosableAllocation, ClosableAllocationOwner, CompoundClosableAllocation

2019-01-08 Thread Vladimir Sitnikov (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2778?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vladimir Sitnikov resolved CALCITE-2778. Resolution: Fixed Fix Version/s: 1.19.0 Fixed in https://gitbox.apache.or

[jira] [Updated] (CALCITE-2778) Remove ClosableAllocation, ClosableAllocationOwner, CompoundClosableAllocation

2019-01-08 Thread Vladimir Sitnikov (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2778?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vladimir Sitnikov updated CALCITE-2778: --- Summary: Remove ClosableAllocation, ClosableAllocationOwner, CompoundClosableAlloca

[jira] [Updated] (CALCITE-2778) Remove ClosableAllocation, ClosableAllocationOwner, CompoundClosableAllocation

2019-01-08 Thread BELUGA BEHR (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2778?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] BELUGA BEHR updated CALCITE-2778: - Description: Removed unused classes. (was: In Java, ArrayList should be the default choice ove

[jira] [Created] (CALCITE-2779) Remove References to StringBuffer

2019-01-08 Thread BELUGA BEHR (JIRA)
BELUGA BEHR created CALCITE-2779: Summary: Remove References to StringBuffer Key: CALCITE-2779 URL: https://issues.apache.org/jira/browse/CALCITE-2779 Project: Calcite Issue Type: Improvement

[jira] [Commented] (CALCITE-2779) Remove References to StringBuffer

2019-01-08 Thread BELUGA BEHR (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2779?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16737597#comment-16737597 ] BELUGA BEHR commented on CALCITE-2779: -- https://github.com/apache/calcite/pull/996

[jira] [Created] (CALCITE-2780) Replace UnmodifiableArrayList with JDK Functions

2019-01-08 Thread BELUGA BEHR (JIRA)
BELUGA BEHR created CALCITE-2780: Summary: Replace UnmodifiableArrayList with JDK Functions Key: CALCITE-2780 URL: https://issues.apache.org/jira/browse/CALCITE-2780 Project: Calcite Issue Ty

[jira] [Commented] (CALCITE-2780) Replace UnmodifiableArrayList with JDK Functions

2019-01-08 Thread BELUGA BEHR (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2780?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16737772#comment-16737772 ] BELUGA BEHR commented on CALCITE-2780: -- https://github.com/apache/calcite/pull/997

[jira] [Commented] (CALCITE-2780) Replace UnmodifiableArrayList with JDK Functions

2019-01-08 Thread Julian Hyde (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2780?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16737816#comment-16737816 ] Julian Hyde commented on CALCITE-2780: -- I don't think we should do this. The code

[jira] [Commented] (CALCITE-2780) Replace UnmodifiableArrayList with JDK Functions

2019-01-08 Thread BELUGA BEHR (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2780?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16737839#comment-16737839 ] BELUGA BEHR commented on CALCITE-2780: -- [~julianhyde] Thanks for the feedback. I

[jira] [Updated] (CALCITE-2344) Avoid inferring $0=null predicate from $0 IS NULL when… … $0 is not nullable

2019-01-08 Thread Vladimir Sitnikov (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2344?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vladimir Sitnikov updated CALCITE-2344: --- Summary: Avoid inferring $0=null predicate from $0 IS NULL when… … $0 is not nullab

[jira] [Resolved] (CALCITE-2344) Avoid inferring $0=null predicate from $0 IS NULL when… … $0 is not nullable

2019-01-08 Thread Vladimir Sitnikov (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2344?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vladimir Sitnikov resolved CALCITE-2344. Resolution: Fixed Fix Version/s: 1.19.0 Fixed in  https://gitbox.apache.or

[jira] [Updated] (CALCITE-2344) Avoid inferring $0=null predicate from $0 IS NULL when… … $0 is not nullable

2019-01-08 Thread Vladimir Sitnikov (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2344?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vladimir Sitnikov updated CALCITE-2344: --- Description: {{RexUtil}} might incorrectly infer a  $0 IS NULL predicate even in ca

[jira] [Commented] (CALCITE-2301) JDBC adapter: use query timeout from the top-level statement

2019-01-08 Thread Vladimir Sitnikov (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2301?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16737897#comment-16737897 ] Vladimir Sitnikov commented on CALCITE-2301: [~julianhyde], I've updated th

[jira] [Resolved] (CALCITE-2779) Remove References to StringBuffer

2019-01-08 Thread Vladimir Sitnikov (JIRA)
[ https://issues.apache.org/jira/browse/CALCITE-2779?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vladimir Sitnikov resolved CALCITE-2779. Resolution: Fixed Fix Version/s: 1.19.0 Fixed in https://gitbox.apache.or

[jira] [Created] (CALCITE-2781) Add Travis job to test against PostgreSQL

2019-01-08 Thread Vladimir Sitnikov (JIRA)
Vladimir Sitnikov created CALCITE-2781: -- Summary: Add Travis job to test against PostgreSQL Key: CALCITE-2781 URL: https://issues.apache.org/jira/browse/CALCITE-2781 Project: Calcite Iss