This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Root: rel#25:Subset#6.ENUMERABLE.[] | |
Original rel: | |
Sets: | |
Set#0, type: RecordType(TIMESTAMP(0) ROWTIME, INTEGER ID, VARCHAR(10) PRODUCT, INTEGER UNITS) | |
rel#8:Subset#0.NONE.[0], best=null, importance=0.531441 | |
rel#0:LogicalTableScan.NONE.[[0]](table=[STREAMJOINS, ORDERS]), rowcount=100.0, cumulative cost={inf} | |
rel#152:Subset#0.BINDABLE.[0], best=rel#151, importance=0.4304672100000001 | |
rel#151:BindableTableScan.BINDABLE.[[0]](table=[STREAMJOINS, ORDERS]), rowcount=100.0, cumulative cost={1.0 rows, 1.01 cpu, 0.0 io} | |
rel#160:Subset#0.ENUMERABLE.[0], best=rel#592, importance=0.4782969000000001 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
org.apache.calcite.plan.RelOptPlanner$CannotPlanException: Node [rel#16:Subset#2.LOGICAL.[]] could not be implemented; planner state: | |
Root: rel#16:Subset#2.LOGICAL.[] | |
Original rel: | |
Sets: | |
Set#0, type: RecordType(INTEGER id, VARCHAR(10) productId, INTEGER units, TIMESTAMP(0) rowtime) | |
rel#11:Subset#0.NONE.[], best=null, importance=0.7290000000000001 | |
rel#3:LogicalTableScan.NONE.[](table=[KAFKA, ORDERS]), rowcount=100.0, cumulative cost={inf} | |
Set#1, type: RecordType(VARCHAR(10) productId, INTEGER units) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LogicalDelta | |
LogicalProject(id=[$0], product=[$1], quantity=[$2]) | |
LogicalNowWindow | |
LogicalFilter(condition=[>($2, 5)]) | |
StreamScan(table=[[KAFKA, ORDERS]], fields=[[0, 1, 2]]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LogicalDelta | |
LogicalProject(id=[$0], product=[$1], quantity=[$2]) | |
LogicalFilter(condition=[>($2, 5)]) | |
LogicalNowWindow | |
StreamScan(table=[[KAFKA, ORDERS]], fields=[[0, 1, 2]]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LogicalDelta | |
LogicalProject(id=[$0], product=[$1], quantity=[$2]) | |
LogicalFilter(condition=[>($2, 5)]) | |
StreamScan(table=[[KAFKA, ORDERS]], fields=[[0, 1, 2]]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class SelectQuery { | |
private FromClause fromClause; | |
private WhereCaluse whereCaluse; | |
public void setFromClause(FromClause fromClause) { | |
this.fromClause = fromClause; | |
} | |
public void setWhereCaluse(WhereCaluse whereCaluse) { | |
this.whereCaluse = whereCaluse; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Recursive data structure | |
public class RelExpr { | |
// This can be a subquery, window operation, etc. | |
private RelExpr operand1; | |
private RelExpr operand2; | |
private BinaryOp binaryOp; | |
private SelectionClause selection; | |
private ProjectionClause projection; | |
private WindowClause window; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass{sig-alternate} | |
%\usepackage[urw-garamond]{mathdesign} | |
%\usepackage[T1]{fontenc} | |
\usepackage{hyperref} | |
\usepackage{longtable, booktabs} | |
% SIG Alternate copyright removal | |
\usepackage{etoolbox} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.PHONY: paper.pdf all clean | |
all: paper.pdf | |
paper.pdf: main.tex | |
latexmk -pdf -pdflatex="pdflatex -interaction=nonstopmode" | |
clean: | |
latexmk -CA |
NewerOlder