-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
merge master, fix several busg, address comments
- Loading branch information
1 parent
e34654b
commit bf05ea2
Showing
42 changed files
with
552 additions
and
708 deletions.
There are no files selected for viewing
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#Myria Python Worker. | ||
|
||
Online documentation for [Myria](http://myria.cs.washington.edu/) | ||
Myria Python worker is used for executing python UDFs. | ||
Myria Python worker is used for executing python UDFs. |
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
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
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
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
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
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
29 changes: 29 additions & 0 deletions
29
src/edu/washington/escience/myria/expression/evaluate/ExpressionEvalAppendInterface.java
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
package edu.washington.escience.myria.expression.evaluate; | ||
|
||
import edu.washington.escience.myria.column.builder.WritableColumn; | ||
import edu.washington.escience.myria.storage.ReadableTable; | ||
|
||
/** | ||
* Interface for evaluating a single {@link edu.washington.escience.myria.expression.Expression} and appending the | ||
* results to a column, along with a count of results. | ||
*/ | ||
public interface ExpressionEvalAppendInterface extends ExpressionEvalInterface { | ||
/** | ||
* The interface evaluates a single {@link edu.washington.escience.myria.expression.Expression} and appends the | ||
* results and (optional) counts to the given columns. | ||
* | ||
* @param input the input tuple batch | ||
* @param inputRow row index of the input tuple batch | ||
* @param state optional state that is passed during evaluation | ||
* @param stateRow row index of the state | ||
* @param result a table storing evaluation results | ||
* @param count a column storing the number of results returned from this row | ||
*/ | ||
void evaluate( | ||
final ReadableTable input, | ||
final int inputRow, | ||
final ReadableTable state, | ||
final int stateRow, | ||
final WritableColumn result, | ||
final WritableColumn count); | ||
} |
27 changes: 1 addition & 26 deletions
27
src/edu/washington/escience/myria/expression/evaluate/ExpressionEvalInterface.java
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,7 @@ | ||
package edu.washington.escience.myria.expression.evaluate; | ||
|
||
import edu.washington.escience.myria.column.builder.WritableColumn; | ||
import edu.washington.escience.myria.storage.ReadableTable; | ||
|
||
/** | ||
* Interface for evaluating a single {@link edu.washington.escience.myria.expression.Expression} and appending the | ||
* results to a column, along with a count of results. | ||
*/ | ||
public interface ExpressionEvalInterface { | ||
/** | ||
* The interface evaluating a single {@link edu.washington.escience.myria.expression.Expression} and appending it to a | ||
* column. We only need a reference to the tuple batch and a row id, plus the optional state of e.g. an | ||
* {@link edu.washington.escience.myria.operator.agg.Aggregate} or a | ||
* {@link edu.washington.escience.myria.operator.StatefulApply}. The variables will be fetched from the tuple buffer | ||
* using the rowId provided in {@link edu.washington.escience.myria.expression.VariableExpression}. | ||
* | ||
* @param input the input tuple batch | ||
* @param inputRow row index of the input tuple batch | ||
* @param state optional state that is passed during evaluation | ||
* @param stateRow row index of the state | ||
* @param result a table storing evaluation results | ||
* @param count a column storing the number of results returned from this row | ||
*/ | ||
void evaluate( | ||
final ReadableTable input, | ||
final int inputRow, | ||
final ReadableTable state, | ||
final int stateRow, | ||
final WritableColumn result, | ||
final WritableColumn count); | ||
} | ||
public interface ExpressionEvalInterface {} |
12 changes: 6 additions & 6 deletions
12
...ria/operator/agg/ScriptEvalInterface.java → ...luate/ExpressionEvalReplaceInterface.java
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
Oops, something went wrong.