Skip to content

Commit

Permalink
Remove null char from contract data asset_code in avro files
Browse files Browse the repository at this point in the history
  • Loading branch information
chowbao committed Oct 11, 2024
1 parent 755d435 commit 46caa1a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dags/queries/generate_avro/contract_data.sql
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ options (
as (
select
*
except (batch_id, batch_insert_ts, batch_run_date)
except (batch_id, batch_insert_ts, batch_run_date, asset_code)
, REPLACE(asset_code, '\u0000', '') as asset_code
from {project_id}.{dataset_id}.contract_data
where
true
Expand Down

0 comments on commit 46caa1a

Please sign in to comment.