All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.databricks.jdbc.commons.EnvironmentVariables Maven / Gradle / Ivy

There is a newer version: 2.6.40-patch-1
Show newest version
package com.databricks.jdbc.commons;

import com.databricks.jdbc.client.impl.thrift.generated.TProtocolVersion;

public final class EnvironmentVariables {
  public static final int DEFAULT_STATEMENT_TIMEOUT_SECONDS = 300; // Timeout of 5 minutes
  public static final int DEFAULT_ROW_LIMIT =
      2000000; // Setting a limit for resource and cost efficiency
  public static final int DEFAULT_BYTE_LIMIT = 404857600;
  public static final boolean DEFAULT_ESCAPE_PROCESSING =
      false; // By default, we should not process the sql

  public static final TProtocolVersion JDBC_THRIFT_VERSION =
      TProtocolVersion.SPARK_CLI_SERVICE_PROTOCOL_V9;

  public static final int DEFAULT_SLEEP_DELAY = 100; // 100 milliseconds
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy