-
Notifications
You must be signed in to change notification settings - Fork 519
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Rust] (metadata) move metadataclient to rawclient
Signed-off-by: mag1c1an1 <[email protected]>
- Loading branch information
Showing
15 changed files
with
1,024 additions
and
229 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
18 changes: 18 additions & 0 deletions
18
...l-common/src/main/java/com/dmetasoul/lakesoul/meta/substrait/SubstraitLiteralVisitor.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,18 @@ | ||
//package com.dmetasoul.lakesoul.meta.substrait; | ||
// | ||
//import io.substrait.expression.ImmutableExpression; | ||
//import org.apache.flink.table.api.TableException; | ||
//import org.apache.flink.table.expressions.Expression; | ||
//import org.apache.flink.table.expressions.ExpressionDefaultVisitor; | ||
//import org.apache.flink.table.expressions.ValueLiteralExpression; | ||
// | ||
//public class SubstraitLiteralVisitor extends ExpressionDefaultVisitor<io.substrait.expression.Expression.Literal> { | ||
// public io.substrait.expression.Expression.Literal visit(ValueLiteralExpression valueExpr) { | ||
// return null; | ||
// } | ||
// | ||
// @Override | ||
// protected io.substrait.expression.Expression.Literal defaultMethod(Expression expression) { | ||
// throw new TableException("Unexpected expression: " + expression); | ||
// } | ||
//} |
22 changes: 22 additions & 0 deletions
22
lakesoul-common/src/main/java/com/dmetasoul/lakesoul/meta/substrait/SubstraitUtil.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,22 @@ | ||
//package com.dmetasoul.lakesoul.meta.substrait; | ||
// | ||
//import io.substrait.expression.Expression; | ||
// | ||
//import io.substrait.expression.proto.ExpressionProtoConverter; | ||
//import org.apache.flink.table.expressions.ResolvedExpression; | ||
// | ||
//public class SubstraitUtil { | ||
// | ||
// public static Expression doTransform(ResolvedExpression flinkExpression) { | ||
// // TODO | ||
// SubstraitVisitor substraitVisitor = new SubstraitVisitor(); | ||
// return flinkExpression.accept(substraitVisitor); | ||
// } | ||
// | ||
// public static io.substrait.proto.Expression toProto(Expression expr) { | ||
// ExpressionProtoConverter converter = new ExpressionProtoConverter(null, null); | ||
// return expr.accept(converter); | ||
// } | ||
// | ||
//} | ||
// |
Oops, something went wrong.