Skip to content

Commit

Permalink
(#2337) Handle array values in agate dataframe building
Browse files Browse the repository at this point in the history
automatic commit by git-black, original commits:
  0781cef
  • Loading branch information
drewbanin authored and iknox-fa committed Feb 8, 2022
1 parent ec0690e commit c09d9a3
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions core/dbt/adapters/sql/connections.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,7 @@ def get_result_from_cursor(cls, cursor: Any) -> agate.Table:
rows = cursor.fetchall()
data = cls.process_results(column_names, rows)

return dbt.clients.agate_helper.table_from_data_flat(
data,
column_names
)
return dbt.clients.agate_helper.table_from_data_flat(data, column_names)

def execute(
self, sql: str, auto_begin: bool = False, fetch: bool = False
Expand Down

0 comments on commit c09d9a3

Please sign in to comment.