Comments (6)
Hi @brettkobo I apologize for the delayed response. I have been able to dive into this a bit more and was able to push a commit to a working branch that I feel should resolve this error. You can give this a try by using the below config in your packages.yml
.
packages:
- git: https://github.com/fivetran/dbt_hubspot.git
revision: feature/timestamp-fix
warn-unpinned: false
I am still working with our product team to gain an understanding of why this field may have a different datatype in other warehouses, but this should work in the meantime. Let me know if you have any questions. Thanks!
from dbt_hubspot.
Hi @brettkobo thanks so much for raising this issue. This issue is most likely related to this PR from our dbt_hubspot_source package. The legacy version of the hubspot connector synced the completion_date
field within the engagement_task
table as a string and our package corrected this to convert to a timestamp.
However, it seems that the new history mode for hubspot syncs this field correctly as a timestamp. Would you be able to confirm what the datatype of the completion_date
field is within your hubspot source engagement_task
table? If this truly is a timestamp then we can combine the efforts of the feature request #54 with this bug fix as this seems it is a result of the history mode for hubspot syncing a different datatype for this field.
from dbt_hubspot.
Looks like it is coming out of Fivetran as a timestamp_tz(9). I am also able to query the raw table from Snowflake with no problem. So I assume it is working correctly from there.
from dbt_hubspot.
@brettkobo thanks so much for providing the screenshot, this is extremely helpful! It looks like the datatype for the completion_date
has changed in the newer version of the hubspot connector.
Previously this field was synced as a string and our package correctly changed the datatype to a timestamp. However, now it is being synced as a timestamp and understandably snowflake does not want to cast a timestamp to a timestamp.
I will investigate this some more and will let you know here once we have a working branch for you to try out!
from dbt_hubspot.
Hi @brettkobo just wanted to check back in if this update ended up working for you?
from dbt_hubspot.
@brettkobo the fix for this has been applied to the latest release of the dbt_hubspot_source package! You should be able to re-run your project models at the top of the hour to reflect the changes within dbt_hubspot_sourcev0.4.3
once they are live on the dbt hub.
Please feel free to open a new issue if you have any questions or requests. Thanks!
from dbt_hubspot.
Related Issues (20)
- TimeStamp Adjustment HOT 7
- [Bug] Missing column in intermediate model if variable is set HOT 3
- Understanding pass through columns HOT 2
- [Bug] Poor performance on int_hubspot__contact_merge_adjust
- [Feature] Include Description for HubSpot Custom Properties in dbt Models HOT 2
- [Feature] Include property labels alongside property internal values HOT 10
- [Feature] update dbt-expectations version range HOT 1
- [Bug] Duplicate column on stg_hubspot__engagement_meeting HOT 23
- [Feature] Leverage macro to test uniqueness of models HOT 1
- stg_hubspot__engagement_email depreciated columns breaking build HOT 13
- [Bug] hubspot_engagement_contact_enabled needs to be taken into consideration within hubspot__contacts model HOT 1
- [Feature] Add conversations model HOT 2
- [Bug] Include Owner variable to disable int_hubspot__deals_enhanced model
- [Feature] Union Feature Enhancement
- [Bug] Merged deals don't get remove in final models HOT 6
- Ability to disable specific tests HOT 5
- [Bug] Removal of deleted record filter resulting in uniqueness test failures HOT 8
- [Bug] dbt Cloud PR builds fail when hubspot models are disabled and I run `dbt build --select state:modified+` HOT 2
- [Feature] Ability to filter out is_filtered_event events HOT 10
- [Bug] The hubspot__contacts calls upon the contact_merge_audits even though the table has been deprecated from the connector HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dbt_hubspot.