Skip to content
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

fix: snowflake identifier issue #2471

Merged
merged 1 commit into from
Sep 23, 2022

Conversation

achettyiitr
Copy link
Member

Description

Use namespace as an identifier for snowflake queries. No need to add a database since we are already adding that in the connection itself.

Notion Ticket

https://www.notion.so/rudderstacks/Schema-identifier-for-Snowflake-d3a9c90bd69f44a893e600c869958f6d

Security

  • The code changed/added as part of this pull request won't create any security issues with how the software is being used.

@codecov
Copy link

codecov bot commented Sep 22, 2022

Codecov Report

Base: 37.33% // Head: 36.13% // Decreases project coverage by -1.20% ⚠️

Coverage data is based on head (22f919b) compared to base (bf719d8).
Patch coverage: 0.00% of modified lines in pull request are covered.

Additional details and impacted files
@@                Coverage Diff                @@
##           release/1.1.x    #2471      +/-   ##
=================================================
- Coverage          37.33%   36.13%   -1.21%     
=================================================
  Files                200      200              
  Lines              40477    39644     -833     
=================================================
- Hits               15114    14324     -790     
+ Misses             24447    24415      -32     
+ Partials             916      905      -11     
Impacted Files Coverage Δ
warehouse/snowflake/snowflake.go 0.00% <0.00%> (ø)
utils/httputil/server.go 80.76% <0.00%> (-11.54%) ⬇️
gateway/gateway.go 52.25% <0.00%> (-5.12%) ⬇️
router/router.go 67.48% <0.00%> (-3.97%) ⬇️
jobsdb/jobsdb.go 68.50% <0.00%> (-2.83%) ⬇️
router/internal/eventorder/eventorder.go 97.05% <0.00%> (-0.10%) ⬇️
processor/processor.go 72.42% <0.00%> (+0.82%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@achettyiitr achettyiitr requested a review from a team September 22, 2022 18:52
@achettyiitr achettyiitr merged commit d4b2583 into release/1.1.x Sep 23, 2022
atzoum pushed a commit that referenced this pull request Sep 23, 2022
atzoum added a commit that referenced this pull request Sep 23, 2022
* fix: snowflake identifier issue (#2471)

* chore: release 1.1.2 (#2472)

Co-authored-by: Akash Chetty <[email protected]>
Co-authored-by: Rudder Bot (server team) <[email protected]>
fracasula pushed a commit that referenced this pull request Oct 3, 2022
fracasula added a commit that referenced this pull request Oct 3, 2022
* fix: close http response body only if there is no error (#2447)

* exp: test to reproduce

* fix: fallback to standar lib json and report

* fmt

* fix: snowflake identifier issue (#2471)

* chore: release 1.1.2 (#2472)

* lint

* Apply suggestions from code review

Co-authored-by: Francesco Casula <[email protected]>

* pr fixes

* chore: changing log entry

* chore: removing unnecessary inits

* chore: re-panicking

Co-authored-by: Aris Tzoumas <[email protected]>
Co-authored-by: Akash Chetty <[email protected]>
Co-authored-by: Rudder Bot (server team) <[email protected]>
Co-authored-by: Francesco Casula <[email protected]>
Co-authored-by: Francesco Casula <[email protected]>
@github-actions github-actions bot deleted the fix.snowflakeIdentifierIssue branch November 23, 2022 02:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants