I manually add some info into logs by api.log in python3 operator, but I want the log to only work on the development system, but not in the production system.
How can implement this by python script in Data intelligence.
Regards,
Simon
I have graph A and graph B, and I don't want them executed in parallel, so I add a checker in graph A to check if graph B is running now when I trigger graph A.
First, you have to involve the Date because start and end date might be different and DSP doesn't support Time type. second, you can replcae the function DAYS_BETWEEN with SECONDS_BETWEEN to get the seconds, then convert the seconds to hours you want
You need to concatenate The Date and Time column to generate a timestamp, then calculate the interval:Formula of the calculate column "IntervalDays": : DAYS_BETWEEN(TO_TIMESTAMP(CONCAT(START_DATE,START_TIME),'YYYYMMDDHHMISS'),TO_TIMESTAMP(CONCAT(END_...