Skip to content

fix: json paths for non tracks events for warehouse - #2571

Merged
achettyiitr merged 1 commit into
hotfix/sep.11from
fix.warehouse-json-support
Sep 8, 2023
Merged

achettyiitr merged 1 commit into
hotfix/sep.11from
fix.warehouse-json-support

Conversation

@achettyiitr

Copy link
Copy Markdown
Member

Description of the change

Current implementation:

  1. Support JSON for tracks events and only for the properties and userProperties attribute.
  2. Here customer used to specify <relative_path_for_attribute_in_properties>.

New implementation:

  1. Support JSON for all types of events (extract, tracks, pages, screens, aliases, groups and identifies) and all types of attributes.
  2. Customer need to specify <event_type>.<full_path_of_attribute> like track.properties.Map.nestedMap.

Linear Ticket

https://linear.app/rudderstack/issue/PIPE-144/json-column-support-for-all-events

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)

@achettyiitr
achettyiitr requested review from a team as code owners September 8, 2023 06:07
@achettyiitr
achettyiitr requested review from Jayachand, anantjain45823, lvrach and mihir-4116 and removed request for a team September 8, 2023 06:07
@achettyiitr achettyiitr changed the title fix: json paths for all events for warehouse fix: json paths for non tracks events for warehouse Sep 8, 2023
@codecov

codecov Bot commented Sep 8, 2023 •

Copy link
Copy Markdown

Codecov Report

Patch coverage: 96.66% and project coverage change: +0.02% 🎉

Comparison is base (dfd6af6) 86.84% compared to head (67819a7) 86.87%.
Report is 2 commits behind head on hotfix/sep.11.

Additional details and impacted files
@@                Coverage Diff                @@
##           hotfix/sep.11    #2571      +/-   ##
=================================================
+ Coverage          86.84%   86.87%   +0.02%     
=================================================
  Files                566      569       +3     
  Lines              27946    27999      +53     
  Branches            6655     6665      +10     
=================================================
+ Hits               24271    24323      +52     
- Misses              3342     3343       +1     
  Partials             333      333              
Files Changed Coverage Δ
src/warehouse/util.js 90.90% <94.44%> (ø)
src/warehouse/index.js 92.69% <100.00%> (+0.14%) ⬆️

... and 3 files with indirect coverage changes

☔ View full report in Codecov by Sentry.

📢 Have feedback on the report? Share it here.

@achettyiitr
achettyiitr force-pushed the fix.warehouse-json-support branch from eccebee to 67819a7 Compare September 8, 2023 10:26
@sonarqubecloud

sonarqubecloud Bot commented Sep 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 1 Code Smell

93.2% 93.2% Coverage
3.4% 3.4% Duplication

@achettyiitr
achettyiitr merged commit e455368 into hotfix/sep.11 Sep 8, 2023
@devops-github-rudderstack
devops-github-rudderstack deleted the fix.warehouse-json-support branch December 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