You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Similar to #1335 but with apache-airflow-providers-snowflake==4.0.2rc1
Version
Astro-SDK: 1.3.0
Airflow version: 2.4.3+astro.1
To Reproduce
Steps to reproduce the behavior:
Create connection "snowflake_default"
Run DAG:
from datetime import datetime
from airflow import DAG
from astro import sql as aql
from astro.table import Table
SNOWFLAKE_CONN_ID = 'snowflake_default'
START_DATE = datetime(2000, 1, 1)
def query() -> Table:
return "SELECT 'hi'"
with DAG(
"example_transform",
schedule_interval=None,
start_date=START_DATE,
catchup=False,
) as dag:
get_data = aql.transform(
conn_id=SNOWFLAKE_CONN_ID,
task_id="query_data",
)(query)()
The text was updated successfully, but these errors were encountered:
mag3141592
changed the title
TypeError: string indices must be integers (apache-airflow-providers-snowflake==4.0.2rc1)
TypeError: string indices must be integers (apache-airflow-providers-snowflake==4.0.2rc1) [BUG]
Dec 2, 2022
# Description
## What is the current behavior?
Right now we don't have a check to make sure the rows returned by
handler
related: #1232
related: #1351
## What is the new behavior?
Added a check to make sure the object returned by the handler is not
None and is iterable.
## Does this introduce a breaking change?
Nope
# Description
## What is the current behavior?
Right now we don't have a check to make sure the rows returned by
handler
related: #1232
related: #1351
## What is the new behavior?
Added a check to make sure the object returned by the handler is not
None and is iterable.
## Does this introduce a breaking change?
Nope
Describe the bug
Similar to #1335 but with
apache-airflow-providers-snowflake==4.0.2rc1
Version
To Reproduce
Steps to reproduce the behavior:
The text was updated successfully, but these errors were encountered: