Skip to content

Commit

Permalink
reverting regex
Browse files Browse the repository at this point in the history
  • Loading branch information
DylanBaker committed Jun 3, 2020
1 parent 069a904 commit b8bccac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/stg_marketo__lead_describe.sql
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ with base as (
select
*,
case
when rest_name like '%__c%' then lower(rest_name)
when rest_name like '%\\_\\_c%' then lower(rest_name)
else ltrim(lower(regexp_replace(rest_name, '[A-Z]','_\\0')),'_')
end as rest_name_xf
from fields
Expand Down

0 comments on commit b8bccac

Please sign in to comment.