Re: [DISCUSS] Make Enumerable operators responsive to interrupts

2019-10-16 Thread Vladimir Sitnikov
Statamis, "cooperative to interrupt" sounds a nice idea, however, I have been bitten multiple times by improper interrupt handling (not really with Calcite, but with other projects). In other words, it is good when everybody supports that. However, the other libraries might receive unexpected "int

Re: Re: [DISCUSSION] Extension of Metadata Query

2019-10-16 Thread Danny Chan
This is the reason I was struggling for the discussion. Best, Danny Chan 在 2019年10月16日 +0800 AM11:23,dev@calcite.apache.org,写道: > > RelMetadataQuery

[jira] [Created] (CALCITE-3419) Tools for converting List to SQL expression string

2019-10-16 Thread jamie12221 (Jira)
jamie12221 created CALCITE-3419: --- Summary: Tools for converting List to SQL expression string Key: CALCITE-3419 URL: https://issues.apache.org/jira/browse/CALCITE-3419 Project: Calcite Issue

[jira] [Created] (CALCITE-3420) NullPointerException throws for implicit type coercion of nested SET operations

2019-10-16 Thread Danny Chen (Jira)
Danny Chen created CALCITE-3420: --- Summary: NullPointerException throws for implicit type coercion of nested SET operations Key: CALCITE-3420 URL: https://issues.apache.org/jira/browse/CALCITE-3420 Proje

[jira] [Created] (CALCITE-3421) Reuse relMetadataQuery.

2019-10-16 Thread xzh_dz (Jira)
xzh_dz created CALCITE-3421: --- Summary: Reuse relMetadataQuery. Key: CALCITE-3421 URL: https://issues.apache.org/jira/browse/CALCITE-3421 Project: Calcite Issue Type: Wish Reporter: xzh_

CassandraAdapter (Add Type) and WHERE statement.

2019-10-16 Thread Yanna elina
Hi guys , I study Calcite the benefits that a Cassandra-Calcite Adapter can bring , as for example brings the possibility of join. the problem type defined into CassandraSchema.getRelDataType(..) is very limited some important type are missing boolean / array ect... I thought inherited from the

Re: CassandraAdapter (Add Type) and WHERE statement.

2019-10-16 Thread Michael Mior
You're right that there are several types which are not supported by the Cassandra adapter. We would happily accept pull requests to add support for new types. You're also correct that Cassandra cannot efficiently execute queries which do not specify the partition key. Calcite will make those quer

[jira] [Created] (CALCITE-3422) reOpen CALCITE-1751 tests in PigRelBuilderStyleTest.

2019-10-16 Thread xzh_dz (Jira)
xzh_dz created CALCITE-3422: --- Summary: reOpen CALCITE-1751 tests in PigRelBuilderStyleTest. Key: CALCITE-3422 URL: https://issues.apache.org/jira/browse/CALCITE-3422 Project: Calcite Issue Type: Wi

Apache Calcite meetup group

2019-10-16 Thread Julian Hyde
If you’re a member of the Apache Calcite meetup group[1], you probably just received an email saying that the group is shutting down. I set it up a few years ago, but I never find time to organize meetups, so I decided to stop paying the annual fee to meetup.com . I’m not pa

Re: [DISCUSSION] Extension of Metadata Query

2019-10-16 Thread Xiening Dai
I have seen both patterns in current code base. In most places, for example SubQueryRemoveRule, AggregateUnionTrasposeRule SortJoinTransposeRule, etc., RelOptCluster.getMetadataQuery() is used. And there are a few other places where new RelMetadataQuery instance is created, which Haisheng attemp

Re: Apache Calcite meetup group

2019-10-16 Thread Jesus Camacho Rodriguez
Hi Julian, I have just seen your message. Although we have other ways to communicate, I believe it may be valuable to keep the group even if a meetup has not happened for a while (we may organize some meetups in the future, those interested in Calcite may be subscribed to group to attend talks aro

Re: Re: [DISCUSS] Support Sql Hint for Calcite

2019-10-16 Thread Haisheng Yuan
Julian, Your concern is very valid, and that is also our main concern. I was thinking whether we can put hint into the MEMO group, so that both logical and physical expression in the same group can share the same hint, without copying the hint explicitly. But for newly generated expression that