AuthTypeExternalBrowser is to use a browser to access an Fed and perform SSO authentication.
AuthTypeJwt is to use Jwt to perform authentication.
AuthTypeOAuth is the OAuth authentication.
AuthTypeOkta is to use a native okta URL to perform SSO authentication on Okta.
AuthTypeSnowflake is the general username password authentication.
AuthTypeTokenAccessor is to use the provided token accessor and bypass authentication.
AuthTypeUsernamePasswordMFA is to use username and password with mfa.
ConfigBoolFalse represents false for the config field.
ConfigBoolTrue represents true for the config field.
DateType denotes a date type for array binds.
ErrAsync is an error code for an unknown async error.
ErrBindSerialization is an error code for a failed serialization of bind variables.
ErrBindUpload is an error code for the uploading process of bind elements to the stage.
ErrCodeClientConfigFailed is an error code for the case where clientConfigFile is invalid or applying client configuration fails.
ErrCodeEmptyAccountCode is an error code for the case where a DNS doesn't include account parameter.
ErrCodeEmptyPasswordCode is an error code for the case where a DNS doesn't include password parameter.
ErrCodeEmptyUsernameCode is an error code for the case where a DNS doesn't include user parameter.
ErrCodeFailedToConnect is an error code for the case where a DB connection failed due to wrong account name.
ErrCodeFailedToParseAuthenticator is an error code for the case where a DNS includes an invalid authenticator.
ErrCodeFailedToParseHost is an error code for the case where a DNS includes an invalid host name.
ErrCodeFailedToParsePort is an error code for the case where a DNS includes an invalid port number.
ErrCodeIdpConnectionError is an error code for the case where a IDP connection failed.
ErrCodePrivateKeyParseError is an error code for the case where the private key is not parsed correctly.
ErrCodeRegionOverlap is an error code for the case where a region is specified despite an account region present.
ErrCodeServiceUnavailable is an error code for the case where service is unavailable.
ErrCodeSSOURLNotMatch is an error code for the case where a SSO URL doesn't match.
ErrCommandNotRecognized is an error code denoting the PUT/GET command was not recognized.
ErrCompressionNotSupported is an error code denoting the user specified compression type is not supported.
ErrFailedToAuth is an error code for the case where authentication failed for unknown reason.
ErrFailedToAuthOKTA is an error code for the case where authentication via OKTA failed for unknown reason.
ErrFailedToAuthSAML is an error code for the case where authentication via SAML failed for unknown reason.
ErrFailedToCancelQuery is an error code for the case where cancel query failed.
ErrFailedToCloseSession is an error code for the case where close session failed.
ErrFailedToConvertToS3Client is an error code denoting the failure of an interface to s3.Client conversion.
ErrFailedToDownloadFromStage is an error code denoting the failure to download a file from the stage.
ErrFailedToGetChunk is an error code for the case where it failed to get chunk of result set.
ErrFailedToGetExternalBrowserResponse is an error code for when there's an error reading from the open socket.
ErrFailedToGetSSO is an error code for the case where authentication via OKTA failed for unknown reason.
ErrFailedToHeartbeat is an error code when a heartbeat fails.
ErrFailedToParseResponse is an error code for when we cannot parse an external browser response from Snowflake.
ErrFailedToPostQuery is an error code for the case where HTTP POST failed.
ErrFailedToRenewSession is an error code for the case where session renewal failed.
ErrFailedToUploadToStage is an error code denoting the failure to upload a file to the stage.
ErrFileNotExists is an error code denoting the file to be transferred does not exist.
ErrInternalNotMatchEncryptMaterial is an error code denoting the encryption material specified does not match.
ErrInvalidBinaryHexForm is an error code for the case where a binary data in hex form is invalid.
ErrInvalidOffsetStr is an error code for the case where a offset string is invalid.
ErrInvalidPadding is an error code denoting the invalid padding of decryption key.
ErrInvalidStageFs is an error code denoting an invalid stage in the file system.
ErrInvalidStageLocation is an error code denoting an invalid stage location.
ErrInvalidTimestampTz is an error code for the case where a returned TIMESTAMP_TZ internal value is invalid.
ErrLocalPathNotDirectory is an error code denoting a local path that is not a directory.
ErrNoDefaultTransactionIsolationLevel is an error code for the case where non default isolation level is specified.
ErrNoReadOnlyTransaction is an error code for the case where readonly mode is specified.
ErrNoResultIDs is an error code for empty result IDs for multi statement queries.
ErrNotImplemented is an error code denoting the file transfer feature is not implemented.
ErrObjectNotExistOrAuthorized is a GS error code for the case that the server-side object specified does not exist.
ErrOCSPInvalidValidity is an error code for the case where the OCSP response validity is invalid.
ErrOCSPNoOCSPResponderURL is an error code for the case where the OCSP responder URL is not attached.
ErrOCSPStatusRevoked is an error code for the case where the certificate is revoked.
ErrOCSPStatusUnknown is an error code for the case where the certificate revocation status is unknown.
ErrQueryIDFormat the query ID given to fetch its result is not valid.
ErrQueryIsRunning the query is still running.
ErrQueryReportedError server side reports the query failed with error.
ErrQueryStatus when check the status of a query, receive error or no status.
ErrRoleNotExist is a GS error code for the case that the role specified does not exist.
ErrSessionGone is an GS error code for the case that session is already closed.
ErrTooHighTimestampPrecision is an error code for the case where cannot convert Snowflake timestamp to arrow.Timestamp.
OCSPFailOpenFalse represents OCSP fail closed mode.
OCSPFailOpenTrue represents OCSP fail open mode.
QueryFailed denotes a failed query.
QueryStatusComplete denotes a completed query execution.
QueryStatusInProgress denotes a query execution in progress.
Query Status defined at server side.
Query Status defined at server side.
SFQueryBlocked is when a statement is waiting on a lock on resource held by another statement.
Query Status defined at server side.
Query Status defined at server side.
Query Status defined at server side.
Query Status defined at server side.
Query Status defined at server side.
SFQueryQueueRepairingWarehouse present in QueryDTO.java.
Query Status defined at server side.
Query Status defined at server side.
Query Status defined at server side.
Query Status defined at server side.
SFSessionIDKey is context key of session id.
SFSessionUserKey is context key of user id of a session.
SnowflakeGoDriverVersion is the version of Go Snowflake Driver.
SQLStateConnectionFailure is a SQL State code indicating connection failed.
SQLStateConnectionRejected is a SQL State code indicating connection was rejected.
SQLStateConnectionWasNotEstablished is a SQL State code indicating connection was not established.
SQLStateFeatureNotSupported is a SQL State code indicating the feature is not enabled.
SQLStateInvalidDataTimeFormat is a SQL State code indicating DataTime format is invalid.
SQLStateNumericValueOutOfRange is a SQL State code indicating Numeric value is out of range.
TimestampLTZType denotes a LTZ timezoneType for array binds.
TimestampNTZType denotes a NTZ timezoneType for array binds.
TimestampTZType denotes a TZ timezoneType for array binds.
TimeType denotes a time type for array binds.
UseMicrosecondTimestamp uses arrow.Timestamp in microsecond precision.
UseMillisecondTimestamp uses arrow.Timestamp in millisecond precision.
UseNanosecondTimestamp uses arrow.Timestamp in nanosecond precision, could cause ErrTooHighTimestampPrecision if arrow.Timestamp cannot fit original timestamp values.
UseOriginalTimestamp uses original timestamp struct returned by Snowflake.
UseSecondTimestamp uses arrow.Timestamp in second precision.