我在运行气流 DAG 时遇到问题。有时我在日志中收到以下消息,并且 DAG 停止执行,但有时它工作正常。我尝试用谷歌搜索该错误,但没有找到任何内容。以下是我的日志。
[2020-06-17 14:50:06,983] {__init__.py:1133} INFO - Dependencies not met for <TaskInstance: feeds__my_feed.my_feed_feed_processor 2020-06-16T12:13:00+00:00 [running]>, dependency 'Task Instance State' FAILED: Task is in the 'running' state which is not a valid state for execution. The task must be cleared in order to be run.
[2020-06-17 14:50:06,984] {__init__.py:1133} INFO - Dependencies not met for <TaskInstance: feeds__my_feed.my_feed_feed_processor 2020-06-16T12:13:00+00:00 [running]>, dependency 'Task Instance Not Already Running' FAILED: Task is already running, it started on 2020-06-17 12:13:32.150826+00:00.
[2020-06-17 14:50:06,987] {logging_mixin.py:95} INFO …
Run Code Online (Sandbox Code Playgroud) 我刚刚开始学习Plotly
,它在Jupyter Notebook
. 但是当我运行相同的脚本时.py
它会在浏览器中打开一个窗口,但随后显示
\n\n\n无法连接\n Firefox 无法\xe2\x80\x99 建立与位于 127.0.0.1:5875 的服务器的连接。\n 并且未显示图表或图形。
\n
有人知道如何做到这一点吗?基本上我想显示来自csv
在网络浏览器中显示数据。
我有以下表格结构,其中我只想要那些连续5个日期和uid分组的记录.
这是我的数据结构
user_master
uid | name
1 | A
2 | B
3 | C
4 | D
Run Code Online (Sandbox Code Playgroud)
tbl_referral
refId | uid | Date
1 | 1 | 01-09-2018
2 | 1 | 02-09-2018
3 | 1 | 03-09-2018
4 | 2 | 01-09-2018
5 | 2 | 02-09-2018
6 | 1 | 04-09-2018
7 | 2 | 05-09-2018
8 | 2 | 06-09-2018
9 | 1 | 05-09-2018
10 | 2 | 06-09-2018
Run Code Online (Sandbox Code Playgroud)
现在我想从tbl_referral获取那些日期连续出现5次的记录
要求的输出是
uid | …
Run Code Online (Sandbox Code Playgroud)