From bd8fb2c7fd9cfcc083c177fed0996932bd903fde Mon Sep 17 00:00:00 2001 From: Adrien Aury <44274230+adrienaury@users.noreply.github.com> Date: Thu, 21 Nov 2024 14:18:33 +0100 Subject: [PATCH] feat(export): fix presence for oracle --- internal/infra/commonsql/dialect_oracle.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/infra/commonsql/dialect_oracle.go b/internal/infra/commonsql/dialect_oracle.go index 031dfba1..c3cdae8a 100644 --- a/internal/infra/commonsql/dialect_oracle.go +++ b/internal/infra/commonsql/dialect_oracle.go @@ -133,5 +133,5 @@ func (od OracleDialect) CreateSelect(sel string, where string, limit string, col } func (od OracleDialect) selectPresence(column string) string { - return fmt.Sprintf("CASE WHEN %s IS NOT NULL THEN TRUE ELSE NULL END AS %s", od.Quote(column), od.Quote(column)) + return fmt.Sprintf("CASE WHEN %s IS NOT NULL THEN 'TRUE' ELSE NULL END AS %s", od.Quote(column), od.Quote(column)) }