-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Integer overflow #139
Comments
hey there @stdiopt thanks for taking the time to open this issue! i think you're certainly right that we'll need to cast as a bigint. i've made the change in a testing branch if you'd like to test it out: # packages.yml -- replace hubspot reference with the below
packages:
- git: https://github.com/fivetran/dbt_hubspot.git
revision: bug/cast-vid_to_merge-bigint
warn-unpinned: false also i don't think this really changes things at all, but do you have the thanks! |
Hey Jamie,
to be honest I'm not entirely sure since this is managed by fivetran and based on quickstart transformations, I just disabled those transformations now since I noticed that we aren't using it |
Ah ok, the As for testing, since you're on Quickstart, we'll work to recreate the issue on our end, see if the |
Hi @stdiopt , we have been able to recreate the error and find the fix on our end. We'll be including this fix in our upcoming sprint, so keep an eye out for a new release! |
🙏 this is currently biting us -- any indication of when |
Hi @EPNickBosma , thanks for the patience-- we've just merged the branch with fix, so expect the release within the next few hours! cc @stdiopt |
Is there an existing issue for this?
Describe the issue
DBT transformation fails with an integer overflow most likely related to the cast to int where it could be dbt.type_bigint()?
https://github.com/fivetran/dbt_hubspot/blob/main/models/marketing/intermediate/int_hubspot__contact_merge_adjust.sql#L22
Relevant error log or model output
11:43:06 Database Error in model int_hubspot__contact_merge_adjust (models/marketing/intermediate/int_hubspot__contact_merge_adjust.sql) 11:43:06 Overflow (Integer valid range -2147483648 to 2147483647) 11:43:06 compiled Code at target/run/hubspot/models/marketing/intermediate/int_hubspot__contact_merge_adjust.sql
Expected behavior
No error in sync
What database are you using dbt with?
redshift
dbt Version
1.5.1
Are you willing to open a PR to help address this issue?
The text was updated successfully, but these errors were encountered: