Skip to content

Commit

Permalink
more logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Lorna Barber authored and SimbaGithub committed Jun 30, 2022
1 parent d63eb5f commit 7163cfd
Show file tree
Hide file tree
Showing 4 changed files with 51 additions and 51 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ private boolean fetchNextRowUnsorted() throws SnowflakeSQLException {
try {
currentChunkIterator.getChunk().freeData();
if (chunkCount > 0) {
logger.debug("End of chunks");
logger.debug("End of chunks", false);
DownloaderMetrics metrics = chunkDownloader.terminate();
logChunkDownloaderMetrics(metrics);
}
Expand Down
20 changes: 10 additions & 10 deletions src/main/java/net/snowflake/client/core/SFJsonResultSet.java
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ public short getShort(int columnIndex) throws SFException {

@Override
public int getInt(int columnIndex) throws SFException {
logger.debug("public int getInt(int columnIndex)");
logger.debug("public int getInt(int columnIndex)", false);

// Column index starts from 1, not 0.
Object obj = getObjectInternal(columnIndex);
Expand All @@ -331,7 +331,7 @@ public int getInt(int columnIndex) throws SFException {

@Override
public long getLong(int columnIndex) throws SFException {
logger.debug("public long getLong(int columnIndex)");
logger.debug("public long getLong(int columnIndex)", false);

// Column index starts from 1, not 0.
Object obj = getObjectInternal(columnIndex);
Expand Down Expand Up @@ -369,7 +369,7 @@ public long getLong(int columnIndex) throws SFException {

@Override
public BigDecimal getBigDecimal(int columnIndex) throws SFException {
logger.debug("public BigDecimal getBigDecimal(int columnIndex)");
logger.debug("public BigDecimal getBigDecimal(int columnIndex)", false);

// Column index starts from 1, not 0.
Object obj = getObjectInternal(columnIndex);
Expand All @@ -395,7 +395,7 @@ public BigDecimal getBigDecimal(int columnIndex) throws SFException {

@Override
public BigDecimal getBigDecimal(int columnIndex, int scale) throws SFException {
logger.debug("public BigDecimal getBigDecimal(int columnIndex)");
logger.debug("public BigDecimal getBigDecimal(int columnIndex)", false);

Object obj = getObjectInternal(columnIndex);

Expand Down Expand Up @@ -425,7 +425,7 @@ private TimeZone adjustTimezoneForTimestampTZ(int columnIndex) throws SFExceptio
}

private SFTimestamp getSFTimestamp(int columnIndex) throws SFException {
logger.debug("public Timestamp getTimestamp(int columnIndex)");
logger.debug("public Timestamp getTimestamp(int columnIndex)", false);

Object obj = getObjectInternal(columnIndex);

Expand All @@ -444,7 +444,7 @@ private SFTimestamp getSFTimestamp(int columnIndex) throws SFException {

@Override
public Time getTime(int columnIndex) throws SFException {
logger.debug("public Time getTime(int columnIndex)");
logger.debug("public Time getTime(int columnIndex)", false);

int columnType = resultSetMetaData.getColumnType(columnIndex);
if (Types.TIME == columnType) {
Expand Down Expand Up @@ -552,7 +552,7 @@ else if (resultSetSerializable.getTreatNTZAsUTC()

@Override
public float getFloat(int columnIndex) throws SFException {
logger.debug("public float getFloat(int columnIndex)");
logger.debug("public float getFloat(int columnIndex)", false);

// Column index starts from 1, not 0.
Object obj = getObjectInternal(columnIndex);
Expand Down Expand Up @@ -594,7 +594,7 @@ public float getFloat(int columnIndex) throws SFException {

@Override
public double getDouble(int columnIndex) throws SFException {
logger.debug("public double getDouble(int columnIndex)");
logger.debug("public double getDouble(int columnIndex)", false);

// Column index starts from 1, not 0.
Object obj = getObjectInternal(columnIndex);
Expand Down Expand Up @@ -636,7 +636,7 @@ public double getDouble(int columnIndex) throws SFException {

@Override
public byte[] getBytes(int columnIndex) throws SFException {
logger.debug("public byte[] getBytes(int columnIndex)");
logger.debug("public byte[] getBytes(int columnIndex)", false);

// Column index starts from 1, not 0.
Object obj = getObjectInternal(columnIndex);
Expand Down Expand Up @@ -694,7 +694,7 @@ public Date getDate(int columnIndex) throws SFException {

@Override
public Date getDate(int columnIndex, TimeZone tz) throws SFException {
logger.debug("public Date getDate(int columnIndex)");
logger.debug("public Date getDate(int columnIndex)", false);

// Column index starts from 1, not 0.
Object obj = getObjectInternal(columnIndex);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ public String[] getChildQueryIds(String queryID) throws SQLException {
*/
@Override
public void close() throws SQLException {
logger.debug(" public void close()");
logger.debug(" public void close()", false);

if (isClosed) {
// No exception is raised even if the connection is closed.
Expand Down Expand Up @@ -360,7 +360,7 @@ public void setReadOnly(boolean readOnly) throws SQLException {
logger.debug("void setReadOnly(boolean readOnly)", false);
raiseSQLExceptionIfConnectionIsClosed();
if (readOnly) {
logger.debug("setReadOnly not supported.");
logger.debug("setReadOnly not supported.", false);
}
}

Expand Down
Loading

0 comments on commit 7163cfd

Please sign in to comment.