Skip to content
This repository has been archived by the owner on Nov 21, 2024. It is now read-only.

<DRAFT> Insert table as select #3

Closed
wants to merge 9 commits into from

Conversation

anshuldata
Copy link

@anshuldata anshuldata commented Sep 23, 2024

@@ -1313,6 +1313,22 @@ substrait::Rel *DuckDBToSubstrait::TransformGet(LogicalOperator &dop) {
return get_rel;
}

static substrait::Expression_Literal GetLiteralFromSubstraitExpression(const substrait::Expression &expr) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you make this a class member?

substrait::Expression_Literal DuckDBToSubstrait::ToExpressionLiteral

@@ -1431,8 +1568,24 @@ static bool IsSetOperation(const LogicalOperator &op) {
op.type == LogicalOperatorType::LOGICAL_INTERSECT;
}

static bool IsWriteORUpdateOperation(const LogicalOperator &op) {
switch (op.type)
{

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: code style mismatch. { should be in the same line as switch.

@anshuldata
Copy link
Author

This is covered in #9 . So closing this

@anshuldata anshuldata closed this Oct 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants