Skip to content

Commit

Permalink
Revert "Add query generation on tabular Function[Phase1] (#3315)"
Browse files Browse the repository at this point in the history
This reverts commit c3ba1be.
  • Loading branch information
akphi authored Dec 22, 2024
1 parent c3ba1be commit fd63c5b
Show file tree
Hide file tree
Showing 20 changed files with 4 additions and 634 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ function <<access.private>> meta::relational::functions::sqlQueryToString::snowf
windowColumnProcessor = processWindowColumn_WindowColumn_1__SqlGenerationContext_1__String_1_,
semiStructuredElementProcessor = processSemiStructuredElementForSnowflake_RelationalOperationElement_1__SqlGenerationContext_1__String_1_,
tableFunctionParamProcessor = processTableFunctionParamPlaceHolder_RelationalOperationElement_1__SqlGenerationContext_1__String_1_,
tabularFunctionProcessor = meta::relational::functions::sqlQueryToString::snowflake::tabularFunctionProcessor_String_1__String_1__String_1_,
lateralJoinProcessor = processJoinTreeNodeWithLateralJoinForSnowflake_JoinTreeNode_1__DbConfig_1__Format_1__Extension_MANY__String_1_,
joinProcessor = meta::relational::functions::sqlQueryToString::snowflake::processJoinForSnowflake_JoinTreeNode_1__DbConfig_1__Format_1__Extension_MANY__String_1_,
joinStringsProcessor = processJoinStringsOperationForSnowflake_JoinStrings_1__SqlGenerationContext_1__String_1_,
Expand Down Expand Up @@ -99,11 +98,6 @@ function <<access.private>> meta::relational::functions::sqlQueryToString::snowf
);
}

function meta::relational::functions::sqlQueryToString::snowflake::tabularFunctionProcessor(schema:String[1], functionName: String[1]):String[1]
{
'table('+ if($schema=='', | $functionName,| $schema+'.'+$functionName) + '())';
}

function meta::relational::functions::sqlQueryToString::snowflake::schemaIdentifierToString(identifier:String[1], dbConfig: DbConfig[1]):String[1]
{
$identifier->split('.')->map(s|$s->processIdentifierWithQuoteChar('"', $dbConfig))->joinStrings('.');
Expand Down

This file was deleted.

This file was deleted.

Loading

0 comments on commit fd63c5b

Please sign in to comment.