[jira] [Created] (CALCITE-2663) CREATE FUNCTION SQL STAMENT

2018-11-08 Thread ambition (JIRA)
ambition created CALCITE-2663: - Summary: CREATE FUNCTION SQL STAMENT Key: CALCITE-2663 URL: https://issues.apache.org/jira/browse/CALCITE-2663 Project: Calcite Issue Type: Improvement

CockroachDB optimizer

2018-11-08 Thread Michael Mior
The folks from Cockroch Labs just shared an interesting blog post on the development of their optimizer. Could be some interesting lessons in their code base. https://www.cockroachlabs.com/blog/building-cost-based-sql-optimizer/ -- Michael Mior mm...@apache.org

回复:does calcite support chinese?

2018-11-08 Thread 朱力(梧空)
thanks, Anton. it works, thank you very much! -- 发件人:Anton Kedin 发送时间:2018年11月8日(星期四) 02:26 收件人:dev 主 题:Re: does calcite support chinese? In Beam we override the default charset in saffron.properties:

Re: Question about complex rule operands and Rel tree in general

2018-11-08 Thread Андрей Цвелодуб
Yes, I have already appreciated the value and flexibility that predefined rules provide, and would not want to lose it :) I didn't look into the query metadata much before, but that looks promising! Thanks! On Thu, Nov 8, 2018 at 11:05 PM Julian Hyde wrote: > For validation (i.e. that doesn’t

Re: Question about complex rule operands and Rel tree in general

2018-11-08 Thread Julian Hyde
For validation (i.e. that doesn’t modify the tree), I would use a visitor. RelVisitor may suffice. There are also a few “whole tree” transformations, e.g. column pruning. Use sparingly. You are correct that rules and their operands do not “scale” to match large sections of the tree. We could

Question about complex rule operands and Rel tree in general

2018-11-08 Thread Андрей Цвелодуб
Hello everyone! I have a question that I can't find an answer to, so maybe someone could help me. As a part of Rel Rules, there is always an operand, that matches a part of the tree, and says if the rule should be executed. The operand can be complex, so I can say for example - match an Aggregate

Calcite-Master - Build # 958 - Still Failing

2018-11-08 Thread Apache Jenkins Server
The Apache Jenkins build system has built Calcite-Master (build #958) Status: Still Failing Check console output at https://builds.apache.org/job/Calcite-Master/958/ to view the results.

Calcite-Master - Build # 957 - Still Failing

2018-11-08 Thread Apache Jenkins Server
The Apache Jenkins build system has built Calcite-Master (build #957) Status: Still Failing Check console output at https://builds.apache.org/job/Calcite-Master/957/ to view the results.

[jira] [Created] (CALCITE-2661) support creating Exchange and SortExchange in RelBuilder

2018-11-08 Thread Chunwei Lei (JIRA)
Chunwei Lei created CALCITE-2661: Summary: support creating Exchange and SortExchange in RelBuilder Key: CALCITE-2661 URL: https://issues.apache.org/jira/browse/CALCITE-2661 Project: Calcite