Skip to content

Commit

Permalink
fix(maxcompute): 修正更新版本号 1.8.0-alpha7
Browse files Browse the repository at this point in the history
-将 `rendor()` 方法修正为 `render()` 方法,修复语法错误
  • Loading branch information
dingxin-tech committed Nov 14, 2024
1 parent 8ba7e2b commit a52c5f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dbt/adapters/maxcompute/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version = "1.8.0-alpha6"
version = "1.8.0-alpha7"
2 changes: 1 addition & 1 deletion dbt/include/maxcompute/macros/adapters.sql
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ dbt docs: https://docs.getdbt.com/docs/contributing/building-a-new-adapter

{% macro maxcompute__rename_relation(from_relation, to_relation) -%}
{% if from_relation.is_table -%}
ALTER TABLE {{ from_relation.rendor() }}
ALTER TABLE {{ from_relation.render() }}
RENAME TO {{ to_relation.identifier }};
{% else -%}
ALTER VIEW {{ from_relation.database }}.{{ from_relation.schema }}.{{ from_relation.identifier }}
Expand Down

0 comments on commit a52c5f1

Please sign in to comment.