snowflakedb / snowflake-ingest-java

Java SDK for the Snowflake Ingest Service -
http://www.snowflake.net
Apache License 2.0
71 stars 57 forks source link

SNOW-1768252 Ignore getStringForLogging in the requests #875

Closed sfc-gh-ggeng closed 2 weeks ago

sfc-gh-ggeng commented 2 weeks ago

SNOW-1768252 Ignore getStringForLogging in the requests

We introduced the getStringForLogging for SDK side debugging log purpose. However since we do not ignore the property during serialization, we are actually sending the property in the http request entity. This is not entity and would largely increase the payload size of the request. Adding the JsonIgnore to make sure we are not accidentally include the property in the http request