ad1happy2go commented on issue #8321:
URL: https://github.com/apache/hudi/issues/8321#issuecomment-1596104437
@rubenssoto I tried reproducing this issue but it was working okay for me
even with multiple runs. I was using spark connection with thrift and trying to
run exactly same model you had.
Were you able to resolve this issue. if yes can you let us know what problem
you had here.
```
{{
config(
materialized='incremental',
file_format='hudi',
incremental_strategy='merge',
options={
"hoodie.table.name": "my_first_dbt_model",
"hoodie.datasource.write.recordkey.field": "id",
"hoodie.datasource.write.precombine.field": "data_lake_ts"
},
unique_key='id',
location_root='file:///tmp/dbt/default_test/'
)
}}
with source_data as (
select format_number(rand()*1000, 0) as id
union all
select null as id
)
select *, current_timestamp() as data_lake_ts
from source_data
where id is not null
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]