在以下情况下,我正在尝试格式化D列中的所有单元格:
这是我在Google表格中的自定义公式。不起作用D列中的所有单元格都突出显示
=COUNTIFS(R:R, "Closed", D:D, "")
将公式更改为: =COUNTIFS(R:R, "Closed", D:D, "", E:E, "<>NOT ON CR")
我也尝试过此操作,但不起作用。 D列中没有任何单元格突出显示
=COUNTIFS(R:R, "Closed", D:D, "<0")
将公式更改为: =COUNTIFS(R:R, "Closed", D:D, "<0", E:E, "<>NOT ON CR")
答案 0 :(得分:1)
尝试一下:
val datasource37 = glueContext.getCatalogSource(database = "data", tableName = "term", redshiftTmpDir = "", transformationContext = "datasource37").getDynamicFrame()
val applymapping37 = datasource37.applyMapping(mappings = Seq(("id", "bigint", "id", "bigint"), ("name", "string", "name", "varchar(256)"), ("date", "timestamp", "date_start", "timestamp")), caseSensitive = false, transformationContext = "applymapping37")
val resolvechoice37 = applymapping37.resolveChoice(choiceOption = Some(ChoiceOption("make_cols")), transformationContext = "resolvechoice37")
val dropnullfields37 = resolvechoice37.dropNulls(transformationContext = "dropnullfields37")
val datasink37 = glueContext.getJDBCSink(catalogConnection = "dataConnection", options = JsonOptions("""{"dbtable": "term", "database": "data"}"""), redshiftTmpDir = args("TempDir"), transformationContext = "datasink37").writeDynamicFrame(dropnullfields37)
应用于D1:D