我正在设置一些Cloud Function来处理Firestore文档事件。我正在使用标准的DATA table1;
infile datalines DELIMITER=',';
INFORMAT id 2. type $10. date date2 MMDDYY10. ;
INPUT id date type date2;
format date date9.
date2 date9.;
DATALINES;
1,02/09/2012,BIG,02/09/2012
2,05/16/2012,BIG,05/18/2012
2,06/18/2012,BIG,06/18/2012
2,06/18/2012,SMALL,
3,08/08/2011,BIG,08/08/2012
3,09/13/2011,BIG,09/13/2012
4,06/08/2016,BIG,06/12/2016
4,06/10/2016,SMALL,
5,08/16/2012,BIG,08/16/2012
5,08/15/2012,SMALL,
;
run;
/*removing same date for an id with different type- only the record with
SMALL is REMOVED*/
proc sql;
create table comb as
Select id, date, type,date2 from table1 t
Where type <> "SMALL" or
not exists(select date from table1
where id = t.id and date = t.date and type <> "SMALL");
run;
命令来部署我的功能。按照in this doc的说明进行操作时,我在GCP控制台上转到功能的配置,并看到我需要启用的复选框显示为灰色,没有更多信息:
关于为什么我无法通过GCP控制台启用自动重试的任何想法?前述文档将这种方法(通过GCP控制台)描述为启用重试的唯一方法。理想情况下,我可以通过某种方式注释我的函数代码,以启用/禁用每个函数的重试。