id stringlengths 7 11 | source stringclasses 1
value | category stringclasses 11
values | title stringlengths 15 214 | text stringlengths 70 30.5k | url stringlengths 57 160 | tags stringlengths 3 113 | created_at int64 1.22B 1.79B |
|---|---|---|---|---|---|---|---|
se_78074764 | stackoverflow | DATA_ENGINEERING | Apache Airflow:Create reusable custom TaskGroup | Apache Airflow:Create reusable custom TaskGroup
I am trying to create a custom TaskGroup class to replace existing subdags in our airflow pipelines.
My concern is to pass the dag object instead of using context manager. I used this tutorial to create custom class.
Let's have a look at my custom TaskGroup code:
from ai... | https://stackoverflow.com/questions/78074764/apache-airflowcreate-reusable-custom-taskgroup | python-3.x, airflow, airflow-2.x | 1,709,126,461 |
se_78298832 | stackoverflow | DATA_ENGINEERING | Airflow services crashed and perpetually restart | Airflow services crashed and perpetually restart
The Airflow service was functioning well. But it crashed after a while and entered a cycle of continuous restarts.
This is an excerpt from the docker-compose log:
repository-redis-1 exited with code 0
repository-redis-1 has been recreated
repository-postgres-1 exited wi... | https://stackoverflow.com/questions/78298832/airflow-services-crashed-and-perpetually-restart | postgresql, docker, docker-compose, redis, airflow | 1,712,669,562 |
se_77494271 | stackoverflow | DATA_ENGINEERING | Airflow Task stuck at scheduled state | Airflow Task stuck at scheduled state
In Airflow, I have some issues while running multiple tasks, in this case I have 2 DAGs which 1st DAG has 50 tasks to be done, and 2nd is 5 tasks to be done as follows:
dynamic_Task_Concurrency.py
sources = [
{"num": i, "task_ingest_name": f"table_data{i}", "path_ingestion": "... | https://stackoverflow.com/questions/77494271/airflow-task-stuck-at-scheduled-state | python, airflow, airflow-2.x | 1,700,132,512 |
se_78292651 | stackoverflow | DATA_ENGINEERING | How do I pass xcom to 3rd party operator when using TaskFlow? | How do I pass xcom to 3rd party operator when using TaskFlow?
UPDATE. I realise I haven't explained the problem concisely enough so I've posted a revised question at How do I pass xcom to traditional operator from task created using @task decorator?
I am using Amazon's EmrServerlessCreateApplicationOperator operator.... | https://stackoverflow.com/questions/78292651/how-do-i-pass-xcom-to-3rd-party-operator-when-using-taskflow | airflow, airflow-taskflow | 1,712,580,487 |
se_78229318 | stackoverflow | DATA_ENGINEERING | Dataproc Serverless compute resources quota | Dataproc Serverless compute resources quota
I am trying to hit more than 10 Dataproc batches at a time in Serverless, which are automatically triggered from the Airflow, but only 5-6 batches are executing, and the remaining are getting failed due to insufficient quotas.
I have tried to change the number of workers fro... | https://stackoverflow.com/questions/78229318/dataproc-serverless-compute-resources-quota | google-cloud-platform, pyspark, airflow, google-cloud-dataproc | 1,711,513,275 |
se_78285559 | stackoverflow | DATA_ENGINEERING | Airflow PYTHONPATH | Airflow PYTHONPATH
I am catching the error:
ModuleNotFoundError: No module named 'scripts.marketing_functions'
Project structure example.
scripts/
├──__init__.py
├── marketing_functions.py
└── marketing/
└── some_script.py # Here my marketing_functions.py is used
dags/
└── my_dag.py # Dag with bashOperator. ... | https://stackoverflow.com/questions/78285559/airflow-pythonpath | python, bash, airflow, airflow-2.x | 1,712,429,921 |
se_60196576 | stackoverflow | DATA_ENGINEERING | Setting up sns_publish_operator in airflow | Setting up sns_publish_operator in airflow
Has anyone used the sns_publish_operator?
https://airflow.apache.org/docs/apache-airflow-providers-amazon/stable/_api/airflow/providers/amazon/aws/operators/sns/index.html
I am quite new to airflow and am having some issues around setting up the architecture correctly.
I have... | https://stackoverflow.com/questions/60196576/setting-up-sns-publish-operator-in-airflow | amazon-web-services, amazon-sns, directed-acyclic-graphs, airflow | 1,581,540,289 |
se_78280157 | stackoverflow | DATA_ENGINEERING | Can Airflow run a task which the excuetable is on another machine? | Can Airflow run a task which the excuetable is on another machine?
I am trying to schedule a process using Airflow, but for some reason, I cannot deploy the airflow and the script needs to be run on the same server (has to be in a different physical location due to some policy). Wonder if an airflow operator (i.e. pyt... | https://stackoverflow.com/questions/78280157/can-airflow-run-a-task-which-the-excuetable-is-on-another-machine | airflow | 1,712,322,937 |
se_78283050 | stackoverflow | DATA_ENGINEERING | core.default_timezone airflow for CDT | core.default_timezone airflow for CDT
How to assign the time zone for Us -central CDT in airflow { like core.default_timezone = utc }
I am trying to find out the similar one for central for Utc . I tried us/cdt ,us/cst | https://stackoverflow.com/questions/78283050/core-default-timezone-airflow-for-cdt | python, airflow, mwaa | 1,712,371,192 |
se_78280467 | stackoverflow | DATA_ENGINEERING | Getting Error while importing airflow.providers (No module named 'airflow.providers.databricks') | Getting Error while importing airflow.providers (No module named 'airflow.providers.databricks')
I am new to airflow and working with Airflow providers like snowflake and Databricks. I am getting some challenges for the data bricks providers.
Here is the error I am getting and I want to fix it. I have tried se... | https://stackoverflow.com/questions/78280467/getting-error-while-importing-airflow-providers-no-module-named-airflow-provid | airflow, databricks, airflow-2.x | 1,712,326,012 |
se_49581440 | stackoverflow | DATA_ENGINEERING | duplicate key value violates unique constraint when adding path variable in airflow dag | duplicate key value violates unique constraint when adding path variable in airflow dag
To set up the connections and variables in airflow i use a DAG, we do this inorder to setup airflow fast in case we have to setup everything again fast. It does work my connections and variables show up but the task "fails". The er... | https://stackoverflow.com/questions/49581440/duplicate-key-value-violates-unique-constraint-when-adding-path-variable-in-airf | airflow | 1,522,443,979 |
se_78270829 | stackoverflow | DATA_ENGINEERING | All Airflow jobs failing locally ERROR:"Task exited with return code Negsignal.SIGABRT" | All Airflow jobs failing locally ERROR:"Task exited with return code Negsignal.SIGABRT"
I am having an issue where no matter what Airflow job I run, it fails with the error:
[2024-04-03, 15:26:57 PDT] {taskinstance.py:1103} INFO - Dependencies all met for dep_context=non-requeueable deps ti=<TaskInstance: lo... | https://stackoverflow.com/questions/78270829/all-airflow-jobs-failing-locally-errortask-exited-with-return-code-negsignal-s | python, airflow, runtime-error, airflow-webserver | 1,712,183,887 |
se_78270148 | stackoverflow | DATA_ENGINEERING | Preempt a dag run | Preempt a dag run
I have a DAG that does some data processing tasks and runs on a daily schedule. I now have the requirement that the DAG run in an "on-demand" way, triggered by a user or some other event. There is also a possibility that a user might want to retrigger the DAG after it has already started running (ima... | https://stackoverflow.com/questions/78270148/preempt-a-dag-run | airflow | 1,712,173,488 |
se_64609337 | stackoverflow | DATA_ENGINEERING | How to get xcom as a PostgresOperator parameter? | How to get xcom as a PostgresOperator parameter?
I created a xcom and I would like to get the result as a PostgresOperator parameter. I tried this
my_task = PostgresOperator(
task_id=‘my_task',
postgres_conn_id=config.get(env, 'redshift_conn'),
sql="my_task.sql",
params={
‘my_parameter': {{... | https://stackoverflow.com/questions/64609337/how-to-get-xcom-as-a-postgresoperator-parameter | airflow | 1,604,064,622 |
se_78269183 | stackoverflow | DATA_ENGINEERING | Fail to pass params through overrides on a CloudRunExecuteJobOperator | Fail to pass params through overrides on a CloudRunExecuteJobOperator
I'm trying to pass some parameters to the Cloud Run Job through the overrides field but in the job the xcom_pull is coming literally as "{{task_instance.xcom_pull(key='id_date')}}" and not as the corresponding value.
The strange thing is that the xc... | https://stackoverflow.com/questions/78269183/fail-to-pass-params-through-overrides-on-a-cloudrunexecutejoboperator | python, google-cloud-platform, airflow, airflow-2.x | 1,712,162,396 |
se_78268390 | stackoverflow | DATA_ENGINEERING | EMR Spark Job Step can't find mysql connector | EMR Spark Job Step can't find mysql connector
I'm trying to use airflow to create an EMR Cluster, run a Spark job and terminate it. I was able to create the cluster using the airflow operators, but when I try to run a job to get data from mysql, I can't find the .JAR connector. It appears that it's trying to find ... | https://stackoverflow.com/questions/78268390/emr-spark-job-step-cant-find-mysql-connector | amazon-web-services, apache-spark, pyspark, airflow, amazon-emr | 1,712,154,389 |
se_76563058 | stackoverflow | DATA_ENGINEERING | trouble building Docker image on Windows: /systemlibs.sh" did not complete successfully: exit code: 126 | trouble building Docker image on Windows: /systemlibs.sh" did not complete successfully: exit code: 126
I'm looking to build a Docker image on Windows following the following steps:
git clone https://github.com/aws/aws-mwaa-local-runner.git
cd aws-mwaa-local-runner
This is where I get stuck. Running this command,... | https://stackoverflow.com/questions/76563058/trouble-building-docker-image-on-windows-systemlibs-sh-did-not-complete-succe | docker-compose, airflow, mwaa | 1,687,854,900 |
se_78024789 | stackoverflow | DATA_ENGINEERING | Airflow: Could not read served logs: [Errno -3] Temporary failure in name resolution | Airflow: Could not read served logs: [Errno -3] Temporary failure in name resolution
How can you set the public hostname of an airflow worker in docker while using docker-compose?
I've tried ..
Setting the HOSTNAME environment variable
Setting the hostname field in the docker-compose
Updating the deployment to celery... | https://stackoverflow.com/questions/78024789/airflow-could-not-read-served-logs-errno-3-temporary-failure-in-name-resolu | docker, airflow | 1,708,402,938 |
se_52774426 | stackoverflow | DATA_ENGINEERING | airflow 1.10.0 branchpythonoperator run failed : Celery command failed | airflow 1.10.0 branchpythonoperator run failed : Celery command failed
I copy airflow dag example example_branch_dop_operator_v3 code to my own dag test1_v2 , I can run example_branch_dop_operator_v3 successfuly , but run test1_v2 failed.
dag test1_v2 code (AIRFLOW_HOME/dags/test1.py):
import airflow
from airflow.oper... | https://stackoverflow.com/questions/52774426/airflow-1-10-0-branchpythonoperator-run-failed-celery-command-failed | airflow | 1,539,329,229 |
se_78262025 | stackoverflow | DATA_ENGINEERING | Dynamic trigger rule? | Dynamic trigger rule?
I have a DAG where I have 3 sensors and a data processing task that must run after the sensors have completed successfully.
Something like this:
sensorA -->
\
sensorB -->-+- data processing
/
sensorC -->
The twist is: the downstream task won't always need to wait on all ... | https://stackoverflow.com/questions/78262025/dynamic-trigger-rule | airflow | 1,712,068,225 |
se_77992287 | stackoverflow | DATA_ENGINEERING | Vscode Dev Container build with astro error | Vscode Dev Container build with astro error
I'm trying to build/open a project in dev container using vscode. When I do reopen in container I get below error as shown in Image
Below are the steps I tried.
Added below cmd to dockerfile.
COPY packages.txt /packages.txt.
COPY requirements.txt /requirements.txt
Reinstall... | https://stackoverflow.com/questions/77992287/vscode-dev-container-build-with-astro-error | docker, visual-studio-code, dockerfile, airflow, vscode-devcontainer | 1,707,889,660 |
se_78168740 | stackoverflow | DATA_ENGINEERING | How to schedule a airflow dag for multiple days? | How to schedule a airflow dag for multiple days?
i'm trying to schedule a dag from 12pm on let's say 15/02/2024 to 12pm of 17/02/2024 and it runs every 3 hours, but when i'm using the following cron expression:
0 12/3 * * *
i have given the start date in the dag as 15/02/2024 and end date as 17/02/2024.
The dag here r... | https://stackoverflow.com/questions/78168740/how-to-schedule-a-airflow-dag-for-multiple-days | airflow, airflow-2.x | 1,710,524,189 |
se_78203542 | stackoverflow | DATA_ENGINEERING | How to run a background process inside a child docker image in docker container | How to run a background process inside a child docker image in docker container
I'm trying to run a background process inside my airflow docker image, which will keep running to monitor some process and send an alert.
I have a parent image, which i'm using in my image say child image.
Here is the parent image docker f... | https://stackoverflow.com/questions/78203542/how-to-run-a-background-process-inside-a-child-docker-image-in-docker-container | docker, shell, airflow | 1,711,069,568 |
se_78240396 | stackoverflow | DATA_ENGINEERING | Create a daily DAG that will run for multiple days | Create a daily DAG that will run for multiple days
I want to create a daily DAG that reads a file based on the date the DAG execution started. The file has list of folders to be processed for that day. The number of folders can change every day. If there a lot of folders the DAG can take multiple days to complete.
For... | https://stackoverflow.com/questions/78240396/create-a-daily-dag-that-will-run-for-multiple-days | google-cloud-platform, airflow, directed-acyclic-graphs, airflow-2.x | 1,711,653,129 |
se_78243236 | stackoverflow | DATA_ENGINEERING | Elasticsearch - cascading http inputs from Airflow API | Elasticsearch - cascading http inputs from Airflow API
I would like to call an API (Airflow - for monitoring) from elasticsearch like in this example:
https://www.elastic.co/guide/en/elasticsearch/reference/current/input-http.html#input-http-auth-basic-example
I need to:
fetch a list of items from API (/dags) having ... | https://stackoverflow.com/questions/78243236/elasticsearch-cascading-http-inputs-from-airflow-api | http, elasticsearch, airflow | 1,711,708,003 |
se_78243450 | stackoverflow | DATA_ENGINEERING | Extending Airflow DAG class - is this a bad practice? | Extending Airflow DAG class - is this a bad practice?
I didn't see any examples of this so I am wondering if this is a bad practice to extend DAG class.
Is it a bad practice and why, if it is?
Example of where I can see this useful follows...
Let's say we have a number of DAGs which all share the same behaviour: calli... | https://stackoverflow.com/questions/78243450/extending-airflow-dag-class-is-this-a-bad-practice | python, airflow, orchestration | 1,711,710,920 |
se_78243929 | stackoverflow | DATA_ENGINEERING | Task grouping in Airflow | Task grouping in Airflow
I have an airflow DAG, with dependencies: start_task >> group1, start_task >> group2.
Tasks lie in the "tasks" dictionary and are used to fill out groups of tasks in the DAG
from airflow import DAG
from datetime import datetime
from airflow.operators.empty import EmptyOperator
from python.etl.... | https://stackoverflow.com/questions/78243929/task-grouping-in-airflow | python, python-3.x, airflow | 1,711,717,687 |
se_78231930 | stackoverflow | DATA_ENGINEERING | Is there a way to parallelize my pandas dataframe functions in airflow? | Is there a way to parallelize my pandas dataframe functions in airflow?
I'm currently working on an academic project which requires the use of airflow. Currently, I'm only dealing with one database table therefore I require some assistance to know if I'm going in the correct direction.
I have a .py file called data_tr... | https://stackoverflow.com/questions/78231930/is-there-a-way-to-parallelize-my-pandas-dataframe-functions-in-airflow | python, pandas, airflow | 1,711,544,830 |
se_78241272 | stackoverflow | DATA_ENGINEERING | airflow dags not running as expected | airflow dags not running as expected
I have an airflow(2.6.3) celery environment with webserver(2cpu), scheduler(8cpu) and worker(16cpu) ec2 instances. I have a use-case where some dags need to run more than 50 tasks simultaneously in parallel all together.
In airflow.cfg the parallelism is set to 32 and worker_concur... | https://stackoverflow.com/questions/78241272/airflow-dags-not-running-as-expected | airflow, celery, directed-acyclic-graphs, airflow-webserver | 1,711,667,368 |
se_61796692 | stackoverflow | DATA_ENGINEERING | Airflow DAG Versioning | Airflow DAG Versioning
Is DAG versioning a thing ? I can't find much on the subject with a few Google searches. I would like to look at the DAGs screen in Airflow and be sure of what DAG code is in the wild.
The simplest solution would be to include a version number as part of the dag_id, but I would appreciate know... | https://stackoverflow.com/questions/61796692/airflow-dag-versioning | airflow | 1,589,457,155 |
se_76217291 | stackoverflow | DATA_ENGINEERING | Ensuring Unique Dag ID on Apache Airflow | Ensuring Unique Dag ID on Apache Airflow
I'm setting up a Airflow Cluster to be used by multiple teams. Teams are working independently and the DAGs are built according to the need of the respective team.
I'm trying to ensure that DAG id of each DAGs should be unique. Teams may use some id which might be mentioned in ... | https://stackoverflow.com/questions/76217291/ensuring-unique-dag-id-on-apache-airflow | airflow | 1,683,714,220 |
se_77061714 | stackoverflow | DATA_ENGINEERING | Keep xcom variables between reschedules in airflow? | Keep xcom variables between reschedules in airflow?
I'm creating a custom sensor. It used to work in versions like 2.0.2.
The trick was doing something like this:
def poke(self, context):
request_id = context['ti'].xcom_pull(key="requestId", task_ids=self.task_id + "_original", dag_id=self.dag_id)
if request_id is Non... | https://stackoverflow.com/questions/77061714/keep-xcom-variables-between-reschedules-in-airflow | airflow | 1,694,107,898 |
se_44806944 | stackoverflow | DATA_ENGINEERING | How do we trigger multiple airflow dags using TriggerDagRunOperator? | How do we trigger multiple airflow dags using TriggerDagRunOperator?
I have a scenario wherein a particular dag upon completion needs to trigger multiple dags,have used TriggerDagRunOperator to trigger single dag,is it possible to pass multiple dags to the TriggerDagRunOperator to trigger multiple dags?
And is it pos... | https://stackoverflow.com/questions/44806944/how-do-we-trigger-multiple-airflow-dags-using-triggerdagrunoperator | directed-acyclic-graphs, airflow | 1,498,664,061 |
se_78236459 | stackoverflow | DATA_ENGINEERING | Transform Load pipeline for a logs system: Apache Airflow or Kafka Connect? | Transform Load pipeline for a logs system: Apache Airflow or Kafka Connect?
Introduction:
Actually, I've build and manage a solution of industrial network inventory:
Data sources => ETL jobs (Python) orchestrated by Apache AirFlow => OpenSearch => Dashboard
My second job is to implement a log centralizator system:
H... | https://stackoverflow.com/questions/78236459/transform-load-pipeline-for-a-logs-system-apache-airflow-or-kafka-connect | logging, apache-kafka, architecture, airflow, apache-kafka-connect | 1,711,610,595 |
se_77536694 | stackoverflow | DATA_ENGINEERING | Replacement index 1 out of range for positional args tuple on Astro sql load_file package | Replacement index 1 out of range for positional args tuple on Astro sql load_file package
I have installed astr cli recently and tried to load a csv file to gcp bigquery. I get a error
File "/usr/local/lib/python3.11/site-packages/astro/databases/base.py", line 788, in create_schema_if_applicable
statement = self.... | https://stackoverflow.com/questions/77536694/replacement-index-1-out-of-range-for-positional-args-tuple-on-astro-sql-load-fil | airflow, astronomer | 1,700,740,759 |
se_78231211 | stackoverflow | DATA_ENGINEERING | Airflow not show the overwrited values on config list command (EmailOperator dag case) | Airflow not show the overwrited values on config list command (EmailOperator dag case)
I was trying to setup the EmailOperator of Airflow to finish my pipeline with a notification. Following the various steps I found this problem:
Aiflow is not actually showing the variables I passed through the environment key in doc... | https://stackoverflow.com/questions/78231211/airflow-not-show-the-overwrited-values-on-config-list-command-emailoperator-dag | docker, docker-compose, airflow | 1,711,537,622 |
se_78230703 | stackoverflow | DATA_ENGINEERING | ModuleNotFoundError: No module named 'airflow.providers.snowflake.transfers.s3_to_snowflake' | ModuleNotFoundError: No module named 'airflow.providers.snowflake.transfers.s3_to_snowflake'
Context
I'm trying to setup an airflow/dbt docker infrastructure with Snowflake as a database, AWS S3 as a file management system and MongoDB as a data source.
Issue
I installed apache-airflow-providers-snowflake, I ca... | https://stackoverflow.com/questions/78230703/modulenotfounderror-no-module-named-airflow-providers-snowflake-transfers-s3-t | python, docker, airflow | 1,711,532,748 |
se_78230070 | stackoverflow | DATA_ENGINEERING | Not able to kick start Airflow | Not able to kick start Airflow
I am stuck with an error for the past 3 days. So reaching out to the community.
I installed airflow (version = 2.7.2). When I kick-start airflow using terminal, I am getting the following error:
TIMEZONE = pendulum.tz.timezone(tz)
^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'module' object is ... | https://stackoverflow.com/questions/78230070/not-able-to-kick-start-airflow | python-3.x, pip, airflow, installation-package, pendulum | 1,711,525,883 |
se_78229798 | stackoverflow | DATA_ENGINEERING | Using Composer version 2.6.2 and Airflow version 2.5.3, getting AttributeError: 'bytes' object has no attribute 'encode' error in pubsub message | Using Composer version 2.6.2 and Airflow version 2.5.3, getting AttributeError: 'bytes' object has no attribute 'encode' error in pubsub message
In logs can see the following error and DAG gets failed:-
[2024-03-27, 06:25:37 UTC] {logging_mixin.py:137} INFO - data:b'DNB-MS-MY,2024-03-26,Location' [2024... | https://stackoverflow.com/questions/78229798/using-composer-version-2-6-2-and-airflow-version-2-5-3-getting-attributeerror | python, python-3.x, airflow, google-cloud-composer | 1,711,522,148 |
se_53654302 | stackoverflow | DATA_ENGINEERING | Tasks are moved to removed state in Airflow when they are queued and not restored | Tasks are moved to removed state in Airflow when they are queued and not restored
When task instances marked with State.REMOVED state in Airflow? When I am dynamically generating tasks using for loop, after execution of one of the tasks other tasks are getting removed and not restored back again. | https://stackoverflow.com/questions/53654302/tasks-are-moved-to-removed-state-in-airflow-when-they-are-queued-and-not-restore | airflow | 1,544,108,886 |
se_78226892 | stackoverflow | DATA_ENGINEERING | Difference between dagbag_import_timeout and dag-file-processor-timeout | Difference between dagbag_import_timeout and dag-file-processor-timeout
What is the difference between these variables:
dagbag_import_timeout: https://airflow.apache.org/docs/apache-airflow/stable/configurations-ref.html#dagbag-import-timeout
dag-file-processor-timeout: https://airflow.apache.org/docs/apache-airflow... | https://stackoverflow.com/questions/78226892/difference-between-dagbag-import-timeout-and-dag-file-processor-timeout | airflow | 1,711,471,154 |
se_74300916 | stackoverflow | DATA_ENGINEERING | Postgres database refusing connection from Airflow: Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP connections port 5432? | Postgres database refusing connection from Airflow: Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP connections port 5432?
I have an existing database (Postgres) that i want to connect to apache-Airflow on my host machine(Windows 10), I installed the apache-airflow on the WSL runni... | https://stackoverflow.com/questions/74300916/postgres-database-refusing-connection-from-airflow-is-the-server-running-on-hos | python, postgresql, airflow, airflow-webserver | 1,667,468,601 |
se_78155880 | stackoverflow | DATA_ENGINEERING | How to link Gmail with Airflow 2.8.2 running on a docker image | How to link Gmail with Airflow 2.8.2 running on a docker image
I am struggling to connect my Gmail account to Airflow. I've followed ChatGPT suggestions and searched in this site for solutions but i haven't crossed upon one that addresses my context, and I don't know what else ask to chat gpt.
I am working in Ubuntu 2... | https://stackoverflow.com/questions/78155880/how-to-link-gmail-with-airflow-2-8-2-running-on-a-docker-image | docker, ubuntu, airflow | 1,710,352,285 |
se_69132849 | stackoverflow | DATA_ENGINEERING | Airflow KubernetesExecutor and minikube: Scheduler can't connect to Minikube | Airflow KubernetesExecutor and minikube: Scheduler can't connect to Minikube
I have a MiniKube that is running and I deploy Airflow via docker-compose this way:
---
version: '3'
x-airflow-common:
&airflow-common
# In order to add custom dependencies or upgrade provider packages you can use your extended image.... | https://stackoverflow.com/questions/69132849/airflow-kubernetesexecutor-and-minikube-scheduler-cant-connect-to-minikube | kubernetes, docker-compose, airflow, minikube, kubeconfig | 1,631,279,955 |
se_78222808 | stackoverflow | DATA_ENGINEERING | Airflow schedule once but doesn't start | Airflow schedule once but doesn't start
I scheduled an Airflow dag like below. What I expect to see is the dag runs once with execution date 2023-08-01. However nothing happens and no dag runs were created. How can I schedule a job to be run once on a specific date?
start_date: '2023-08-01T00:00:00'
catchup: True
... | https://stackoverflow.com/questions/78222808/airflow-schedule-once-but-doesnt-start | python, airflow | 1,711,423,608 |
se_78219314 | stackoverflow | DATA_ENGINEERING | How to Enable Basic Authentication (user& password) to apache airflow(2.8.1) API | How to Enable Basic Authentication (user& password) to apache airflow(2.8.1) API
I was trying to authenticate airflow API using user:password but getting following error.
error {
"detail": null,
"status": 403,
"title": "Forbidden",
"type": "https://airflow.apache.org/docs/apache-airflow/2.8.1/stable-rest-api-ref... | https://stackoverflow.com/questions/78219314/how-to-enable-basic-authentication-user-password-to-apache-airflow2-8-1-api | airflow, airflow-2.x, airflow-api | 1,711,372,109 |
se_77233311 | stackoverflow | DATA_ENGINEERING | sqlalchemy and airflow connection | sqlalchemy and airflow connection
Using an UBUNTU 22.04
I recently updated my airflow to the newest version 2.7.1 and everything turns out fine. But there is one thing that went broken.
Many of my dags connect to an ORACLE database and execute scripts such as updates, inserts etc...
For that, I import the connection d... | https://stackoverflow.com/questions/77233311/sqlalchemy-and-airflow-connection | python, linux, sqlalchemy, airflow | 1,696,458,011 |
se_78203503 | stackoverflow | DATA_ENGINEERING | Airlfow DAG DataflowTemplatedJobStartOperator with Google Provided Template GCS_Text_to_Cloud_PubSub | Airlfow DAG DataflowTemplatedJobStartOperator with Google Provided Template GCS_Text_to_Cloud_PubSub
Basically, I simply want to use the existing Google template GCS_Text_to_Cloud_PubSub for using it in my DAG for DataflowTemplatedJobStartOperator.
I searched a lot but couldn't find a way to download the template and ... | https://stackoverflow.com/questions/78203503/airlfow-dag-dataflowtemplatedjobstartoperator-with-google-provided-template-gcs | google-cloud-platform, airflow, google-cloud-dataflow | 1,711,068,514 |
se_72617725 | stackoverflow | DATA_ENGINEERING | How to run airflow 2.0+ with openlineage and marquez in docker? | How to run airflow 2.0+ with openlineage and marquez in docker?
I'm trying to running the DAG in this example with airflow 2.0+. I setup an airflow project on docker following this example, and I want to integrate it with openlieage. I wonder how can I do that? I set environment variables for openlineage in the .env f... | https://stackoverflow.com/questions/72617725/how-to-run-airflow-2-0-with-openlineage-and-marquez-in-docker | docker, airflow | 1,655,212,835 |
se_78131051 | stackoverflow | DATA_ENGINEERING | "ValueError: non-default argument follows default argument" when upgrading from Airflow 2.2.2 to 2.8.1 | "ValueError: non-default argument follows default argument" when upgrading from Airflow 2.2.2 to 2.8.1
Have been doing an upgrade from Airflow 2.2.2 to 2.8.1. All of my DAGs parse after doing relatively minor modifications, except for one.
Using the TaskFlow API, I have a task with this structure:
@task(mult... | https://stackoverflow.com/questions/78131051/valueerror-non-default-argument-follows-default-argument-when-upgrading-from | airflow, airflow-taskflow | 1,709,951,243 |
se_78204065 | stackoverflow | DATA_ENGINEERING | Using Airflow version 2.5.3 and Cloud Composer version 2.6.2, DAGs frequently throw this error of log file not found | Using Airflow version 2.5.3 and Cloud Composer version 2.6.2, DAGs frequently throw this error of log file not found
Error message - "*** Log file is not found:
*** The task might not have been executed, or the worker executing it might have finished abnormally (e.g., was evicted)."
Please, refer https://cloud.google... | https://stackoverflow.com/questions/78204065/using-airflow-version-2-5-3-and-cloud-composer-version-2-6-2-dags-frequently-th | google-cloud-platform, airflow, google-cloud-composer, logfile | 1,711,082,364 |
se_79934238 | stackoverflow | DATA_ENGINEERING | Architecture for collecting flight pricing data at scale with inconsistent sources (API vs scraping) | Architecture for collecting flight pricing data at scale with inconsistent sources (API vs scraping)
I’m designing a backend system that collects flight pricing data across routes and future dates (~12 months ahead) for trend analysis.
The main issue is that the data sources are inconsistent and unreliable:
The same ... | https://stackoverflow.com/questions/79934238/architecture-for-collecting-flight-pricing-data-at-scale-with-inconsistent-sourc | web-scraping, data-pipeline | 1,777,554,210 |
se_76420884 | stackoverflow | DATA_ENGINEERING | How to execute Step based on condition in Tranformation Level in Pentaho? | How to execute Step based on condition in Tranformation Level in Pentaho?
I know that I can use condition executing at Job Level like below
But I want to use condition executing at Tranformation level. For example I have a simple Table Input step, which have a query like "select id from tableA". Now based on the valu... | https://stackoverflow.com/questions/76420884/how-to-execute-step-based-on-condition-in-tranformation-level-in-pentaho | pentaho, pentaho-data-integration, data-pipeline | 1,686,123,123 |
se_79783873 | stackoverflow | DATA_ENGINEERING | snappy compression for log files to be kept in S3 and to be processed by Databricks | snappy compression for log files to be kept in S3 and to be processed by Databricks
We are using vector data pipeline. https://vector.dev/docs/reference/configuration/sinks/aws_s3/?utm_source=chatgpt.com
In VRL under sinks we have current compression: gzip and encoding-->codec: json. We now want codec to stay json but... | https://stackoverflow.com/questions/79783873/snappy-compression-for-log-files-to-be-kept-in-s3-and-to-be-processed-by-databri | json, data-pipeline, aws-data-pipeline, vector-vrl | 1,759,767,067 |
se_62086958 | stackoverflow | DATA_ENGINEERING | Is there a way in airflow where a Daily DAG is dependent on weekly (on weekends) DAG? | Is there a way in airflow where a Daily DAG is dependent on weekly (on weekends) DAG?
I have these Dags DAG_A (runs daily) , DAG_B (runs mon-fri) and DAG_C (runs on sat and sun) where DAG_A is dependent on both DAG_B and DAG_C.
I tried setting the dependencies using External Task Sensor but everytime my scheduler stop... | https://stackoverflow.com/questions/62086958/is-there-a-way-in-airflow-where-a-daily-dag-is-dependent-on-weekly-on-weekends | python-3.x, airflow, data-pipeline | 1,590,758,376 |
se_79461433 | stackoverflow | DATA_ENGINEERING | Stream data to a model form tensorflow datasets without having it to download locally | Stream data to a model form tensorflow datasets without having it to download locally
I was trying to load the dataset from tensorflow datasets without having it to download locally and process it to a pipeline in batches so i can feed it into my model. I'm not sure if I'm doing it correct, if it is not the correct ap... | https://stackoverflow.com/questions/79461433/stream-data-to-a-model-form-tensorflow-datasets-without-having-it-to-download-lo | tensorflow2.0, batch-processing, tensorflow-datasets, loaddata, data-pipeline | 1,740,322,988 |
se_78995929 | stackoverflow | DATA_ENGINEERING | The AWS event bridge pipe with multiple enrichment steps | The AWS event bridge pipe with multiple enrichment steps
Is it possible to add more than one enrichment step before invoke the target stage ? | https://stackoverflow.com/questions/78995929/the-aws-event-bridge-pipe-with-multiple-enrichment-steps | amazon-web-services, aws-event-bridge, data-pipeline | 1,726,610,266 |
se_39152605 | stackoverflow | DATA_ENGINEERING | Different tools available for creating data pipelines | Different tools available for creating data pipelines
I need to create data pipelines in hadoop. I have data import, export, scripts to clean data set up and need to set it up in a pipeline now.
I have been using Oozie for data import and export schedules but now need to integrate R scripts for data cleaning process... | https://stackoverflow.com/questions/39152605/different-tools-available-for-creating-data-pipelines | hadoop, cloudera, data-pipeline | 1,472,150,549 |
se_79240681 | stackoverflow | DATA_ENGINEERING | Generic DataPipeline Framework Using Scala3 | Generic DataPipeline Framework Using Scala3
I have the following design for writing a generic data pipeline using GenericReader[+Out] and GenericWriter[-In] And a Transformer[From, To] which will convert Out => In. These readers and writers are defined as the part of IOClient and I have multiple IOClients example Mong... | https://stackoverflow.com/questions/79240681/generic-datapipeline-framework-using-scala3 | scala, generics, implicit, scala-3, data-pipeline | 1,733,010,804 |
se_79165994 | stackoverflow | DATA_ENGINEERING | Clickhouse Materialized Views not inserting new rows automatically from source to target table | Clickhouse Materialized Views not inserting new rows automatically from source to target table
I'm using the following workflow for Clickhouse data workflows. Clickpipe moves data from a GCS bucket to a table that stores 2 columns user and metadata as String because they contain JSON. Then to denormalize the data I fi... | https://stackoverflow.com/questions/79165994/clickhouse-materialized-views-not-inserting-new-rows-automatically-from-source-t | clickhouse, materialized-views, data-pipeline | 1,730,974,927 |
se_75307457 | stackoverflow | DATA_ENGINEERING | Azure Data Factory - Retrieve next pagination link (decoded) from response headers in a copy data activity of Azure Data Factory | Azure Data Factory - Retrieve next pagination link (decoded) from response headers in a copy data activity of Azure Data Factory
I have created a copy data activity in azure data factory and this data pipeline pulls the data from an API (via REST activity source) and writes the response body (json) on a file kept in t... | https://stackoverflow.com/questions/75307457/azure-data-factory-retrieve-next-pagination-link-decoded-from-response-heade | azure, pagination, azure-data-factory, data-pipeline | 1,675,240,669 |
se_79024630 | stackoverflow | DATA_ENGINEERING | Can TFRecordDataSetm start reading elements from a random spot in the file? | Can TFRecordDataSetm start reading elements from a random spot in the file?
I have an application with 200GB data and I can't load it in RAM. Based on the data/problem, it will be extremely beneficial to have TFRecord files "sorted" in a certain way that makes them NOT random/shuffled. A key benefit of having sorted s... | https://stackoverflow.com/questions/79024630/can-tfrecorddatasetm-start-reading-elements-from-a-random-spot-in-the-file | tensorflow, tensorflow-datasets, tfrecord, data-pipeline | 1,727,295,266 |
se_78940933 | stackoverflow | DATA_ENGINEERING | Apache NiFi to ElasticSearch connection is slow | Apache NiFi to ElasticSearch connection is slow
We are trying to build a data pipeline in Apache Nifi which will:
Pull huge data several MySQL Database (in total more than 150 million rows)
Convert it to JSON format (arrays or objects)
Push them to ElasticSearch (later Apache Superset will use those indices as datase... | https://stackoverflow.com/questions/78940933/apache-nifi-to-elasticsearch-connection-is-slow | elasticsearch, apache-nifi, data-pipeline | 1,725,286,824 |
se_78863654 | stackoverflow | DATA_ENGINEERING | Google script to Pull Data Range of Emails into Gsheet | Google script to Pull Data Range of Emails into Gsheet
I have frankensteined this code a little, and it gets me 95% of what I want, but I can't figure out how to have it pull just a specific date range. Right now it grabs the whole inbox, and I don't need that each time I run it.
Any help would be amazing! Thank you.
... | https://stackoverflow.com/questions/78863654/google-script-to-pull-data-range-of-emails-into-gsheet | google-sheets, google-apps-script, pipeline, gmail-api, data-pipeline | 1,723,498,081 |
se_44925030 | stackoverflow | DATA_ENGINEERING | Time Series Windowing for streaming applications | Time Series Windowing for streaming applications
we are developing data pipeline app using Kafka, storm and redis. Realtime events from different systems will be published to Kafka and storm do the event processing based on rules configured. State is managed in redis.
we have a requirement to implement different WA... | https://stackoverflow.com/questions/44925030/time-series-windowing-for-streaming-applications | redis, apache-storm, complex-event-processing, data-pipeline, data-lake | 1,499,254,209 |
se_78557474 | stackoverflow | DATA_ENGINEERING | "BigQuery Dataset Not Found: 404 Error in Mage Data Pipeline" | "BigQuery Dataset Not Found: 404 Error in Mage Data Pipeline"
I am following Data Engineering Zoomcamp course and in module 2 for workflow orchestration with mage.ai (ETL: GCS to BigQuery, I am trying to load data from google cloud storage to BigQuery but I get an error
NotFound: 404 Not found: Dataset magea... | https://stackoverflow.com/questions/78557474/bigquery-dataset-not-found-404-error-in-mage-data-pipeline | google-bigquery, google-cloud-storage, etl, data-pipeline | 1,717,108,258 |
se_78473926 | stackoverflow | DATA_ENGINEERING | how to convert string to datetime in azure data factory | how to convert string to datetime in azure data factory
In a Copy data activity , I am reading data from Stored procedure (SQL Server) and passing a datTime parameter. In this parameter I am using an expression formatDateTime(adddays(utcnow(),-10),'yyyy-MM-dd') which returns the date in yyyy-mm-dd in the String format... | https://stackoverflow.com/questions/78473926/how-to-convert-string-to-datetime-in-azure-data-factory | azure, azure-data-factory, etl, data-pipeline | 1,715,621,838 |
se_78366026 | stackoverflow | DATA_ENGINEERING | Unable to specify wwilakehouse as Destination Lakehouse in Microsoft Fabric | Unable to specify wwilakehouse as Destination Lakehouse in Microsoft Fabric
I am a beginner in using Micrsoft Fabric. Currently I follow the Lakehouse tutorial to create an end-to-end data pipeline.
In step 4 Ingest data after building a lakehouse, I would like to specify wwilakehouse as Lakehouse from Destination tab... | https://stackoverflow.com/questions/78366026/unable-to-specify-wwilakehouse-as-destination-lakehouse-in-microsoft-fabric | data-ingestion, data-pipeline, microsoft-fabric, data-lakehouse, copy-data | 1,713,786,646 |
se_49436189 | stackoverflow | DATA_ENGINEERING | Best approach to automate archiving aws-redshift table | Best approach to automate archiving aws-redshift table
I have a big table in redshift I need to automate the process of archiving monthly data.
The current approach is as follows(Manual):
unload the redshift query result to s3
create new backup table
copy files from s3 to redshift table
remove data from the or... | https://stackoverflow.com/questions/49436189/best-approach-to-automate-archiving-aws-redshift-table | amazon-web-services, amazon-s3, amazon-redshift, amazon-data-pipeline, data-pipeline | 1,521,744,091 |
se_78320065 | stackoverflow | DATA_ENGINEERING | apache beam| unable to install apache beam and showing subprocess error | apache beam| unable to install apache beam and showing subprocess error
I have installed latest pip, python 3.12, and what not.. still this error is showing:
" Building wheels for collected packages: grpcio-tools
Building wheel for grpcio-tools (setup.py): started
Building wheel for grpcio-tools (setup.py): finished w... | https://stackoverflow.com/questions/78320065/apache-beam-unable-to-install-apache-beam-and-showing-subprocess-error | google-cloud-platform, google-bigquery, google-cloud-dataflow, apache-beam, data-pipeline | 1,712,998,599 |
se_78234981 | stackoverflow | DATA_ENGINEERING | Delete using SQL Merge statement for subsequent Incremental Runs? | Delete using SQL Merge statement for subsequent Incremental Runs?
I have 2 tables in SQL Server - staging_table and final_table.
Data is pulled from an API and goes through staging_table and from there it is merged into the final table.
The final_table contains 20 million rows accumulated over time. The staging table ... | https://stackoverflow.com/questions/78234981/delete-using-sql-merge-statement-for-subsequent-incremental-runs | sql, sql-server, data-pipeline | 1,711,579,355 |
se_78121098 | stackoverflow | DATA_ENGINEERING | Airflow dag running forever when trying to insert into ChromaDB | Airflow dag running forever when trying to insert into ChromaDB
I was trying to trigger a script through AirFlow which inserts the data into ChromaDB, the script works correctly and data gets inserted but when I trigger it through an AirFlow, the dag keeps running and no data gets inserted into the Database either. Th... | https://stackoverflow.com/questions/78121098/airflow-dag-running-forever-when-trying-to-insert-into-chromadb | python, airflow, langchain, chromadb, data-pipeline | 1,709,812,016 |
se_78083004 | stackoverflow | DATA_ENGINEERING | Django DeserializationError: "string indices must be integers, not 'str'" when loading large JSON data into SQLite | Django DeserializationError: "string indices must be integers, not 'str'" when loading large JSON data into SQLite
I'm encountering a TypeError: string indices must be integers, not 'str' error while trying to load large JSON data into my Django application using the load data command. The data is st... | https://stackoverflow.com/questions/78083004/django-deserializationerror-string-indices-must-be-integers-not-str-when-l | python, django, database, django-models, data-pipeline | 1,709,224,797 |
se_78080462 | stackoverflow | DATA_ENGINEERING | Azure Data Factory Copy Data HTTP source zip file and sink as azure blob storage, asking to create two copy activities to work around it | Azure Data Factory Copy Data HTTP source zip file and sink as azure blob storage, asking to create two copy activities to work around it
I am getting this error message when trying to copy data from a HTTP source and my sink destination is an azure blob storage
I have a simple setup. I am visting the URL anonymously a... | https://stackoverflow.com/questions/78080462/azure-data-factory-copy-data-http-source-zip-file-and-sink-as-azure-blob-storage | azure, azure-blob-storage, oracle-adf, data-pipeline | 1,709,201,150 |
se_77910030 | stackoverflow | DATA_ENGINEERING | Creating a datafactory pipeline for updating an insering records | Creating a datafactory pipeline for updating an insering records
I have one csv file which has data of 3 months and have a key column but it has empty values and I have a second file which has also three months records but one week after the records from the first file. They have overlapping records.
Now, I want to cr... | https://stackoverflow.com/questions/77910030/creating-a-datafactory-pipeline-for-updating-an-insering-records | azure-data-factory, etl, insert-update, data-pipeline | 1,706,658,169 |
se_77528369 | stackoverflow | DATA_ENGINEERING | couldn't understand path error while importing schema on ADF datapipeline | couldn't understand path error while importing schema on ADF datapipeline
I am trying to create a data pipeline in ADF. Where I am creating a copy activity to extract data from a REST API and store it in azure SQL database.
The REST API I am trying to extract have column names and values in different arrays. Follo... | https://stackoverflow.com/questions/77528369/couldnt-understand-path-error-while-importing-schema-on-adf-datapipeline | rest, azure-data-factory, data-pipeline | 1,700,641,896 |
se_77508041 | stackoverflow | DATA_ENGINEERING | Normalize two different jsons according to shared values | Normalize two different jsons according to shared values
I have two data sources that I retrieve different format Json's from and I want to create a normalized object that will represent the merged Json's according to distinct values.
For example, the first json:
[
{
"zone_group": "us-east-1b",
"kernel_versi... | https://stackoverflow.com/questions/77508041/normalize-two-different-jsons-according-to-shared-values | python, pandas, normalize, data-pipeline | 1,700,329,294 |
se_59267949 | stackoverflow | DATA_ENGINEERING | Can I use Prometheus to list the files processing or already processed? | Can I use Prometheus to list the files processing or already processed?
I need to know the time per service of an application, which is processing some files. So I mean: the same file passes through each service and I need to know each pipeline time. Is that possible with Prometheus and, for example, Grafana? Or there... | https://stackoverflow.com/questions/59267949/can-i-use-prometheus-to-list-the-files-processing-or-already-processed | python, logging, prometheus, grafana, data-pipeline | 1,575,983,269 |
se_77399227 | stackoverflow | DATA_ENGINEERING | What are the best ways to optimize this mongo query? | What are the best ways to optimize this mongo query?
I inherited a mongo query that I've been tasked to put into a GCP cloud function. The cloud function is getting a mongo timeout when it hits this query. When running locally, it takes quite a while as well ~ 40 seconds - but it does finish. I could use help in 2 way... | https://stackoverflow.com/questions/77399227/what-are-the-best-ways-to-optimize-this-mongo-query | python, mongodb, google-cloud-functions, data-pipeline | 1,698,788,641 |
se_66550118 | stackoverflow | DATA_ENGINEERING | Estimate duration of DynamoDB data export via Data Pipeline | Estimate duration of DynamoDB data export via Data Pipeline
My DynamoDB table has around 100 million (30GB) items and I provisioned it with 10k RCUs. I'm using a data pipeline job to export the data.
The DataPipeline Read Throughput Ratio set to 0.9.
How do I calculate the time for the export to be completed (The pip... | https://stackoverflow.com/questions/66550118/estimate-duration-of-dynamodb-data-export-via-data-pipeline | amazon-dynamodb, amazon-data-pipeline, data-pipeline | 1,615,304,671 |
se_60816041 | stackoverflow | DATA_ENGINEERING | Google Data Fusion: "Looping" over input data to then execute multiple Restful API calls per input row | Google Data Fusion: "Looping" over input data to then execute multiple Restful API calls per input row
I have the following challenge I would like to solve preferably in Google Data Fusion:
I have one web service that returns about 30-50 elements describing an invoice in a JSON payload like this:
{
"inv... | https://stackoverflow.com/questions/60816041/google-data-fusion-looping-over-input-data-to-then-execute-multiple-restful-a | google-cloud-data-fusion, cdap, data-pipeline | 1,584,975,480 |
se_46676449 | stackoverflow | DATA_ENGINEERING | How to access the response from Airflow SimpleHttpOperator GET request | How to access the response from Airflow SimpleHttpOperator GET request
I'm learning Airflow and have a simple question. Below is my DAG called dog_retriever:
import airflow
from airflow import DAG
from airflow.operators.http_operator import SimpleHttpOperator
from airflow.operators.sensors import HttpSensor
from datet... | https://stackoverflow.com/questions/46676449/how-to-access-the-response-from-airflow-simplehttpoperator-get-request | airflow, data-pipeline | 1,507,671,553 |
se_76307098 | stackoverflow | DATA_ENGINEERING | Data Flow ERROR java.lang.OutOfMemoryError: Java heap space | Data Flow ERROR java.lang.OutOfMemoryError: Java heap space
I have to create the pipeline to transfer the data from BigQuery and save it as json file. But I got this error. The result from sql query is 30 million records. How to improve this code?
Error:
[error] (run-main-0) java.lang.OutOfMemoryError: Java heap spac... | https://stackoverflow.com/questions/76307098/data-flow-error-java-lang-outofmemoryerror-java-heap-space | java, scala, google-cloud-dataflow, data-pipeline | 1,684,764,824 |
se_76335586 | stackoverflow | DATA_ENGINEERING | sqlite3.OperationalError: unable to open database file in Airflow | sqlite3.OperationalError: unable to open database file in Airflow
So I am trying to use sqlite database for my airflow project.
I set up the database and connected it to my Airflow project (which I am running using Docker)
airflow connections get podcasts
The connection is pointed to the correct directory.
But when I... | https://stackoverflow.com/questions/76335586/sqlite3-operationalerror-unable-to-open-database-file-in-airflow | sqlite, airflow, data-pipeline | 1,685,042,328 |
se_74178198 | stackoverflow | DATA_ENGINEERING | How to generate kedro pipelines automatically (like DataEngineerOne does)? | How to generate kedro pipelines automatically (like DataEngineerOne does)?
Having seen the video of DataEngineerOne: How To Use a Parameter Range to Generate Pipelines Automatically I want to automate a pipeline that simulates an electronic circuit. I want to do a grid search over multiple central frequencies of a ban... | https://stackoverflow.com/questions/74178198/how-to-generate-kedro-pipelines-automatically-like-dataengineerone-does | python, python-3.x, grid-search, kedro, data-pipeline | 1,666,598,909 |
se_76207845 | stackoverflow | DATA_ENGINEERING | Ghost jobs that continue to work despite the removal of dag | Ghost jobs that continue to work despite the removal of dag
I am trying to understand how airflow works, I have a problem i created a dag in the order to check if my flask api works correctly, if it is not the case it must send an email.
Attached is the code
def check_api_prod(id):
data = ""
url_siv = "ht... | https://stackoverflow.com/questions/76207845/ghost-jobs-that-continue-to-work-despite-the-removal-of-dag | python, airflow, data-pipeline | 1,683,624,842 |
se_76027885 | stackoverflow | DATA_ENGINEERING | Error: "zsh: no matches found: apache-beam[gcp]" while installing Apache Beam | Error: "zsh: no matches found: apache-beam[gcp]" while installing Apache Beam
I am working on a project and trying to install Apache Beam from the terminal using this command: pip3 install apache-beam[gcp] however I get this error: zsh: no matches found: apache-beam[gcp]
I created a virtual env using these c... | https://stackoverflow.com/questions/76027885/error-zsh-no-matches-found-apache-beamgcp-while-installing-apache-beam | apache-beam, data-pipeline | 1,681,649,673 |
se_75679274 | stackoverflow | DATA_ENGINEERING | Beam pipeline spark runner issue | Beam pipeline spark runner issue
i have a beam pipeline that reads from a kinesis stream, deserialized protobuf data inside, change to byte array and writes it to another kinesis stream (just a dummy pipeline)
This pipeline executes successfully if i run
mvn compile exec:java -Dexec.mainClass=org.example.StarterPipeli... | https://stackoverflow.com/questions/75679274/beam-pipeline-spark-runner-issue | apache-spark, apache-flink, apache-beam, data-pipeline | 1,678,319,733 |
se_75894340 | stackoverflow | DATA_ENGINEERING | Tensorflow: How to add a property in execution object in MLMD MetadataStore? | Tensorflow: How to add a property in execution object in MLMD MetadataStore?
I'm using the MLMD MetadataStore to manage the data pipelines and I need to add an execution property in MLMD to get this property later.
I'm trying add with this:
from ml_metadata.proto import metadata_store_pb2
from ml_metadata.metadata_sto... | https://stackoverflow.com/questions/75894340/tensorflow-how-to-add-a-property-in-execution-object-in-mlmd-metadatastore | tensorflow, tfx, data-pipeline, mlmd | 1,680,229,040 |
se_75771711 | stackoverflow | DATA_ENGINEERING | How do I add parameters to a data pipeline in Foundry? | How do I add parameters to a data pipeline in Foundry?
I have a PySpark data pipeline that I want to parameterize in Foundry. How can I get Foundry to read a “configuration file” when running the pipeline?
I want the pipeline to be flexible and parameterizable, but if I define the parameters in the code, I will need t... | https://stackoverflow.com/questions/75771711/how-do-i-add-parameters-to-a-data-pipeline-in-foundry | pyspark, palantir-foundry, foundry-code-repositories, data-pipeline | 1,679,082,877 |
se_75743011 | stackoverflow | DATA_ENGINEERING | How to automate data pipeline in Palantir Foundry? | How to automate data pipeline in Palantir Foundry?
I'm new to Palantir Foundery. I need to know how to automate the data pipeline? Is that same if we do the data ingestion to foundry while setting schedule at data sync? OR after all done (such as coding to data transformation etc.) when we see the data lineage at that... | https://stackoverflow.com/questions/75743011/how-to-automate-data-pipeline-in-palantir-foundry | synchronization, schedule, palantir-foundry, data-pipeline | 1,678,873,839 |
se_75641630 | stackoverflow | DATA_ENGINEERING | stream data between tasks in pipeline orchestration tool Prefect/Dagster/Airflow | stream data between tasks in pipeline orchestration tool Prefect/Dagster/Airflow
How can I stream data between tasks in a workflow with the help of a data pipeline orchestration tool like Prefect, Dagster or Airflow?
I am looking for a good data pipeline orchestration tool.
I think I have a fairly decent overview now ... | https://stackoverflow.com/questions/75641630/stream-data-between-tasks-in-pipeline-orchestration-tool-prefect-dagster-airflow | airflow, data-pipeline, prefect, dagster | 1,678,012,820 |
se_75256446 | stackoverflow | DATA_ENGINEERING | How do I trigger Apache Beam side inputs periodically? | How do I trigger Apache Beam side inputs periodically?
I have a Dataflow Pipeline with streaming data, and I am using an Apache Beam Side Input of a bounded data source, which may have updates. How do I trigger a periodic update of this side input? E.g. The side input should be refreshed once every 12 hours.
With refe... | https://stackoverflow.com/questions/75256446/how-do-i-trigger-apache-beam-side-inputs-periodically | triggers, refresh, google-cloud-dataflow, apache-beam, data-pipeline | 1,674,813,168 |
se_75190990 | stackoverflow | DATA_ENGINEERING | Design Airflow Pipeline to perform sequential tasks based on payload sent to Airflow REST API | Design Airflow Pipeline to perform sequential tasks based on payload sent to Airflow REST API
I intend to create a data pipeline in Airflow that reads data from a source and perform multiple operations on the data in sequence and outputs a file.
Example 1 payload to rest api :
{ 'inputFileLocation': '[input s3 key]' ,... | https://stackoverflow.com/questions/75190990/design-airflow-pipeline-to-perform-sequential-tasks-based-on-payload-sent-to-air | python, airflow, pipeline, airflow-2.x, data-pipeline | 1,674,272,038 |
se_75089660 | stackoverflow | DATA_ENGINEERING | Use CI/CD Pipeline in Gitlab to periodically retrieve data from a REST endpoint and save to Gitlab repo | Use CI/CD Pipeline in Gitlab to periodically retrieve data from a REST endpoint and save to Gitlab repo
I've got a Dash Enterprise app that uses some monthly data reports. Every month I manually upload the new data files which are stored at a Rest endpoint. I want to automate this process using GitLab. Can the GitLab ... | https://stackoverflow.com/questions/75089660/use-ci-cd-pipeline-in-gitlab-to-periodically-retrieve-data-from-a-rest-endpoint | rest, gitlab, yaml, plotly-dash, data-pipeline | 1,673,476,003 |
se_74975501 | stackoverflow | DATA_ENGINEERING | ValueError when running Python function in data pipeline | ValueError when running Python function in data pipeline
I'm building a data pipeline using Python and I'm running into an issue when trying to execute a certain function. The error message I'm receiving is: ValueError: Could not convert string to float: 'N/A'
Here is the function in question:
def process_data(data):
... | https://stackoverflow.com/questions/74975501/valueerror-when-running-python-function-in-data-pipeline | python, amazon-web-services, data-pipeline | 1,672,587,194 |
se_74943433 | stackoverflow | DATA_ENGINEERING | Design ideas for importing multiple customer csv files into a transactional database | Design ideas for importing multiple customer csv files into a transactional database
I am working on redesigning a data pipeline that is responsible for importing customer data in CSV format from cloud buckets that customers own(We have the connection details already) into a transactional database that we own.
Constra... | https://stackoverflow.com/questions/74943433/design-ideas-for-importing-multiple-customer-csv-files-into-a-transactional-data | design-patterns, architecture, airflow, data-pipeline | 1,672,249,706 |
se_74778938 | stackoverflow | DATA_ENGINEERING | Dagster sensor to check for new records in a table | Dagster sensor to check for new records in a table
I have 2 tables where 2nd is dependent on 1st. Whenever new records are added in 1st, I want to run a dagster job. I came across sensors but I am not sure if my requirement can be fulfilled using the functionality they provide. Any ideas? | https://stackoverflow.com/questions/74778938/dagster-sensor-to-check-for-new-records-in-a-table | python, data-pipeline, dagster | 1,670,893,273 |
se_72179442 | stackoverflow | DATA_ENGINEERING | Why PyTorch creates another data repro TorchData | Why PyTorch creates another data repro TorchData
Why PyTorch creates another repro called TorchData for similar/new Dataset and DataLoader instead of adding them in the existing PyTorch repro? What's the difference of Dataset and Datapipe? Thanks. | https://stackoverflow.com/questions/72179442/why-pytorch-creates-another-data-repro-torchdata | pytorch, dataset, dataloader, pytorch-dataloader, data-pipeline | 1,652,141,724 |
se_74452579 | stackoverflow | DATA_ENGINEERING | Cloud data fusion Parameterized pipeline using argument setter and wrangler | Cloud data fusion Parameterized pipeline using argument setter and wrangler
Is there a way to create reusable data fusion pipeline that can handle multiple table transformations.
Example: I have 2 tables in BigQuery dataset in raw format and I would like to create data fusion pipeline and load transformed data in anot... | https://stackoverflow.com/questions/74452579/cloud-data-fusion-parameterized-pipeline-using-argument-setter-and-wrangler | google-cloud-platform, google-bigquery, parameter-passing, google-cloud-data-fusion, data-pipeline | 1,668,548,984 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.