Skip to content

Commit

Permalink
Utilize new GlueColumn class
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Nguyen committed Dec 9, 2023
1 parent f65dca4 commit 6dce136
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dbt/adapters/glue/impl.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@

from dbt.adapters.base import available
from dbt.adapters.base.relation import BaseRelation
from dbt.adapters.base.column import Column
from dbt.adapters.sql import SQLAdapter
from dbt.adapters.glue import GlueConnectionManager
from dbt.adapters.glue.column import GlueColumn
from dbt.adapters.glue.gluedbapi import GlueConnection
from dbt.adapters.glue.relation import SparkRelation
from dbt.adapters.glue.lakeformation import (
Expand All @@ -33,6 +33,7 @@
class GlueAdapter(SQLAdapter):
ConnectionManager = GlueConnectionManager
Relation = SparkRelation
Column = GlueColumn

relation_type_map = {'EXTERNAL_TABLE': 'table',
'MANAGED_TABLE': 'table',
Expand Down

0 comments on commit 6dce136

Please sign in to comment.