From 81a6da9628771aa460a0d72fdf75cd561f4c7b4e Mon Sep 17 00:00:00 2001 From: David Coe Date: Mon, 4 Sep 2023 14:21:26 -0400 Subject: [PATCH] commit fix --- go/adbc/driver/snowflake/connection.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/go/adbc/driver/snowflake/connection.go b/go/adbc/driver/snowflake/connection.go index 8de1cd2639..29cef53cd6 100644 --- a/go/adbc/driver/snowflake/connection.go +++ b/go/adbc/driver/snowflake/connection.go @@ -465,7 +465,6 @@ func toField(name string, isnullable bool, dataType string, numPrec, numPrecRadi } func toXdbcDataType(dt arrow.DataType) (xdbcType XdbcDataType) { - xdbcType = XdbcDataType_XDBC_UNKNOWN_TYPE switch dt.ID() { case arrow.EXTENSION: @@ -509,7 +508,6 @@ func toXdbcDataType(dt arrow.DataType) (xdbcType XdbcDataType) { default: return XdbcDataType_XDBC_UNKNOWN_TYPE } - return } func (c *cnxn) getObjectsTables(ctx context.Context, depth adbc.ObjectDepth, catalog *string, dbSchema *string, tableName *string, columnName *string, tableType []string) (result internal.SchemaToTableInfo, err error) {