vatsrahul1001 opened a new issue, #47770:
URL: https://github.com/apache/airflow/issues/47770

   ### Apache Airflow version
   
   3.0.0
   
   ### If "Other Airflow 2 version" selected, which one?
   
   _No response_
   
   ### What happened?
   
   When I am trying to read asset events details using classic operator task, 
it gets stuck in running state with no error in logs
   
   <img width="1680" alt="Image" 
src="https://github.com/user-attachments/assets/a73e6f22-e03b-4428-a2b1-83970b343247";
 />
   
   ### What you think should happen instead?
   
   Should be able to read asset evets using classic operator
   
   ### How to reproduce
   
   1. Create an asset_event with some extra
   
   ```
   with DAG(
       dag_id="dataset_with_extra_by_yield",
       catchup=False,
       start_date=datetime.datetime.min,
       schedule="@daily",
       tags=["datasets"],
   ):
   
       @task(outlets=[ds])
       def dataset_with_extra_by_yield():
           yield Metadata(ds, {"hi": "bye"})
   ```
   2. Try to read extra with the below DAG
   
   
   ```
   with DAG(
       dag_id="read_dataset_event_from_classic",
       catchup=False,
       start_date=datetime.datetime.min,
       schedule="@daily",
       tags=["dataset"],
   ):
       BashOperator(
           task_id="read_dataset_event_from_classic",
           inlets=[ds],
           bash_command="echo {{ inlet_events['s3://output/1.txt'][-1].extra 
}}",
       )
   ```
   
   ### Operating System
   
   linux
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Other
   
   ### Deployment details
   
   _No response_
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@airflow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to