Last active
May 31, 2022 22:52
-
-
Save pingzh/b9abaeac2357a496d0675acde439b736 to your computer and use it in GitHub Desktop.
test dag for 2.3.2rc1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import csv | |
import io | |
import os | |
import json | |
from datetime import datetime | |
from airflow import DAG | |
from airflow.decorators import task | |
with DAG(dag_id="0_repeated_mapping", start_date=datetime(2022, 3, 4)) as dag: | |
@task | |
def add_one(x: int): | |
return x + 1 | |
first = add_one.expand(x=[1, 2, 3]) | |
second = add_one.expand(x=first) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
env:
OS: Mac M1:
mysql version:
set up:
I downloaded the
tar.gz
and installed itpip install /Users/ping_zhang/Desktop/apache-airflow-2.3.2.tar.gz
start webserver, scheduler and worker
error in the
grid
view