Skip to content

fix: heap timestamp mapping - #2451

Merged
Gauravudia merged 1 commit into
release/v1.37.0from
fix/heap-timestamp-mapping
Aug 8, 2023
Merged

Gauravudia merged 1 commit into
release/v1.37.0from
fix/heap-timestamp-mapping

Conversation

@Gauravudia

@Gauravudia Gauravudia commented Aug 8, 2023 •

Copy link
Copy Markdown
Contributor

Description of the change

Timestamp mapping ordering is wrong in GenericFieldMapping.json of CDK repo. Removed fetching timestamp mapping from GenericFieldMapping.json and used the correct mapping in heap destination of transformer.

Type of change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Related issues

Fix #1

Checklists

Development

  • Lint rules pass locally
  • The code changed/added as part of this pull request has been covered with tests
  • All tests related to the changed code pass in development

Code review

  • This pull request has a descriptive title and information useful to a reviewer. There may be a screenshot or screencast attached
  • "Ready for review" label attached to the PR and reviewers mentioned in a comment
  • Changes have been reviewed by at least one other engineer
  • Issue from task tracker has a link to this pull request

@Gauravudia Gauravudia self-assigned this Aug 8, 2023
@Gauravudia
Gauravudia requested review from a team as code owners August 8, 2023 06:00
Comment thread src/cdk/v1/heap/mapping/track.yaml Resolved
@codecov

codecov Bot commented Aug 8, 2023

Copy link
Copy Markdown

Codecov Report

Patch and project coverage have no change.

Comparison is base (4524547) 86.63% compared to head (86df1a1) 86.63%.

Additional details and impacted files
@@               Coverage Diff                @@
##           release/v1.37.0    #2451   +/-   ##
================================================
  Coverage            86.63%   86.63%           
================================================
  Files                  557      557           
  Lines                27822    27822           
  Branches              6648     6648           
================================================
  Hits                 24103    24103           
  Misses                3364     3364           
  Partials               355      355           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@sonarqubecloud

sonarqubecloud Bot commented Aug 8, 2023

Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

95.7% 95.7% Coverage
0.0% 0.0% Duplication

warning The version of Java (11.0.17) you have used to run this analysis is deprecated and we will stop accepting it soon. Please update to at least Java 17.
Read more here

@Gauravudia
Gauravudia merged commit 713fcc2 into release/v1.37.0 Aug 8, 2023
@linear

linear Bot commented Aug 8, 2023

Copy link
Copy Markdown
INT-283 Heap's destination transformation: Incorrect timestamp priority ordering

Hey team, i'm having a difficulty figuring Heap's destination transformation: I'm testing passing explicit timestamp in the payload (some date in the past). In the destination transformer, the timestamp is showing as expected in the transformed payload (what I passed in the payload). In the UI's Live Events however, the timestamp is not what I passed in the event payload (instead, it's picking up today's datetime). Any idea why? there's no UT connected to the destination


Notion document: https://www.notion.so/Hey-team-i-m-having-a-difficulty-figuring-Heap-s-destination-transformation-I-m-testing-passing-ex-279a408c6f904e6cbbd57b5dd4ce97dd
Slack Link: https://rudderlabs.slack.com/archives/C02A3UAU9UN/p1691437997856099?thread_ts=1691437997.856099&cid=C02A3UAU9UN
Channel: ask-integrations
Created By: David Tenenbaum

koladilip added a commit that referenced this pull request Aug 8, 2023
* chore: onboard swagger api on docker (#2400)

onboard swagger api on docker

* refactor: migrate destinations from cdk v1 to v2 (#2381)

* refactor: migrate autopilot to cdkv2

* refactor: migrate heap to cdkv2

Modified the tests according to cdk v2 style.

* refactor: migrate vitally to cdk v2

* chore: remove legacy profile routes

* chore: remove legacy profile routes

* refactor: migrate variance to cdk v2

* refactor: migrate statsig to cdkv2

* refactor: migrate userlist to cdkv2

* refactor: migrate zapier to cdk v2

* refactor: migrate lytics to cdk v2

* fix: pr comments

* refactor: migrate new relic to cdk v2

Migrate cdk v1 implementation to v2.

* refactor: migrate dcm_floodlight to cdk v1

* refactor: migrate kochava to cdk v2

* fix: pr comments

* fix:  stat labels (#2412)

fix stat labels

* feat: sessionId stitching (#2204)

* feat: sessionId stitching

* chore: comments addressed

* chore: test coverage improved

* chore: small fixes

* chore: update test file coverage and improvised metrics

* chore: update test file coverage

* Update src/v0/sources/shopify/transform.js

Co-authored-by: Utsab Chowdhury <[email protected]>

* chore: shifted to hgetall to retrieve all data from redis in one go

* chore: test case fix

* chore: increase test coverage

* chore: increase test coverage+1

* chore: sonarcloud issues

* chore: separate util test file for redis related test cases

---------

Co-authored-by: Sai Sankeerth <[email protected]>
Co-authored-by: Utsab Chowdhury <[email protected]>

* fix: customerIO source bugsnag issue for invalid timestamp (#2413)

* chore: outgoing request latency metric (#2421)

* fix: update images to fix integration tests (#2417)

* chore: update tiktok ads api version to 1.3 (#2423)

chore: update tiktok version to 1.3

* chore(transformation): set to default dns servers (#2416)

* chore: tags for missed destinations for latency metric (#2425)

Co-authored-by: Chandra shekar Varkala <[email protected]>

* fix: rETL timestamp order (#2343)

* fix(transformation): return retryable error when faas service exists … (#2427)

* feat: return relevant stack trace as error from ivm (#2314)

* feat: return relevant stack trace as error from ivm

* chore: throw platform error for get recordId

* chore: change error type for get recordId

* fix: continue on git action failure to next steps (#2429)

* fix(INT-256): handling non float price input for braze purchase events (#2431)

* fix: handling non fload price input for braze purchase events

Braze purchase events require the price value to be float. This commit is purposed to solve that

* fix: add test cases and refactored the code for puchase events for braze

---------

Co-authored-by: Mihir Bhalala <[email protected]>

* fix(tiktok_ads): format productId to string data type (#2434)

* fix: handle marketo auth token response when expires_in is 0 sec  (#2432)

* fix: handle marketo auth token response when expires_in is 0 sec

* Update src/v0/destinations/marketo/util.js

Co-authored-by: Dilip Kola <[email protected]>

---------

Co-authored-by: Dilip Kola <[email protected]>

* chore(release): 1.37.0

* fix(tiktok_ads): format products array product ids to string (#2445)

* fix: heap timestamp mapping (#2451)

* chore: update changelog entry for heap and tiktok (#2452)

---------

Co-authored-by: Utsab Chowdhury <[email protected]>
Co-authored-by: sandeepdigumarty <[email protected]>
Co-authored-by: Krishna Chaitanya <[email protected]>
Co-authored-by: Dilip Kola <[email protected]>
Co-authored-by: Anant Jain <[email protected]>
Co-authored-by: Sai Sankeerth <[email protected]>
Co-authored-by: chandumlg <[email protected]>
Co-authored-by: Jayachand <[email protected]>
Co-authored-by: Yashasvi Bajpai <[email protected]>
Co-authored-by: Chandra shekar Varkala <[email protected]>
Co-authored-by: Sankeerth <[email protected]>
Co-authored-by: Daniyal Parveez <[email protected]>
Co-authored-by: Gauravudia <[email protected]>
Co-authored-by: AASHISH MALIK <[email protected]>
Co-authored-by: Gauravudia <[email protected]>
Co-authored-by: Mihir Bhalala <[email protected]>
Co-authored-by: GitHub Actions <[email protected]>
@devops-github-rudderstack
devops-github-rudderstack deleted the fix/heap-timestamp-mapping branch November 9, 2023 01:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants