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

Snow 348856 xp regress revert lastknown version centos7 builds #314

Conversation

sfc-gh-vreddy
Copy link
Contributor

@sfc-gh-vreddy sfc-gh-vreddy commented May 4, 2021

Do not Merge
This branch is currently used by XP to build libsnowflakeclient.
The master has Arrow and JSON result set refactoring which is not yet tested. So the XP team continues to use this branch for a while until the master is tested.

* SNOW-301717 Libsnowflakeclient build for XP

 * Add a flag to disable certain pieces of code for XP
 * Add gcc82 to list of compilers that can be picked up
 * Macro the pieces that XP does not use with the defined flag

Description

Testing

* Pass build source only options to build scripts to turn off building tests
* fix centos 7 compiler errors with strncpy

* using sb_strcpy instead of strcpy
…301)

SNOW-301714 prevent mixing up of XP artifacts with ODBC
SNOW-301727 upload xp artifacts to a different stage

Description
Libsnowflakeclient for XP built using gcc/g++82 compiler toolchain
Testing
For ODBC tested on Jenkins and Github actions
XP build will be tested separately
@sfc-gh-vreddy sfc-gh-vreddy requested a review from a team as a code owner May 4, 2021 01:32
@sfc-gh-vreddy sfc-gh-vreddy marked this pull request as draft May 4, 2021 01:32
@sfc-gh-vreddy sfc-gh-vreddy changed the base branch from master to SNOW-348856-xp-regress-revert-lastknown-version May 4, 2021 17:56
@sfc-gh-vreddy sfc-gh-vreddy changed the base branch from SNOW-348856-xp-regress-revert-lastknown-version to master May 4, 2021 18:01
@sfc-gh-vreddy sfc-gh-vreddy changed the base branch from master to SNOW-348856-xp-regress-revert-lastknown-version May 4, 2021 18:02
saber mirzaei and others added 13 commits May 27, 2021 18:36
Description

Testing
…l-logger

SNOW-176219 augmenting external logger to be used for every log line
In rare occasions LibSfClient complains that the received response from GS does not contain query code (which is set null for success and the corresponding error code in case of failure). With this task we want to log response in such case
Add more logs in snowflake_execute and snowflake_prepare function
Snowhouse has the limitation of the log message size. Therefore, we need to keep the useful information and delete inessential attributes in response json.
1. Add log around the curl_easy_perform function because this is a function that may cause the query stuck in libsfclient, we should add log in advance so when the issue happens again, we could direct check it.
2. Delete some useless logs, it should be my fault, I made a small mistake in the curl_get_call and curl_post_call, the outside do while loop, the condition is while(0) so it will not cause an infinite loop here.
This PR is the exact equivalent of #37217. In that PR the changes were done in ported version of LibSfClient and in this one are copied over to the open source version.
Description

Testing
@sfc-gh-dprzybysz
Copy link
Collaborator

libsnowflakeclient is not necessary in XP anymore - we can close it

@sfc-gh-dprzybysz sfc-gh-dprzybysz deleted the SNOW-348856-xp-regress-revert-lastknown-version-centos7-builds branch May 27, 2024 11:56
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.

4 participants