diff --git a/gcp-test/tests/gcp_sql_backup/test-not-found-expected.json b/gcp-test/tests/gcp_sql_backup/test-not-found-expected.json index 19765bd5..fe51488c 100644 --- a/gcp-test/tests/gcp_sql_backup/test-not-found-expected.json +++ b/gcp-test/tests/gcp_sql_backup/test-not-found-expected.json @@ -1 +1 @@ -null +[] diff --git a/gcp/table_gcp_sql_backup.go b/gcp/table_gcp_sql_backup.go index c8077933..eff2d69e 100644 --- a/gcp/table_gcp_sql_backup.go +++ b/gcp/table_gcp_sql_backup.go @@ -57,6 +57,7 @@ func tableGcpSQLBackup(ctx context.Context) *plugin.Table { Name: "end_time", Description: "Specifies the time when the backup operation completed.", Type: proto.ColumnType_TIMESTAMP, + Transform: transform.FromField("EndTime").NullIfZero(), }, { Name: "enqueued_time",