Skip to content

Commit

Permalink
feat: users table loading from user load files
Browse files Browse the repository at this point in the history
  • Loading branch information
achettyiitr committed Aug 23, 2024
1 parent 0ba8297 commit 0ca01db
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions warehouse/integrations/bigquery/bigquery.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,16 +145,6 @@ func getTableSchema(tableSchema model.TableSchema) []*bigquery.FieldSchema {
})
}

func (bq *BigQuery) partitionColumn(workspaceID, destinationID string) string {
workspaceKey := "Warehouse.bigquery.partitionColumn." + workspaceID
destinationKey := "Warehouse.bigquery.partitionColumn." + workspaceID + "." + destinationID

if bq.conf.IsSet(destinationKey) {
return bq.conf.GetString(destinationKey, "")
}
return bq.conf.GetString(workspaceKey, "")
}

func (bq *BigQuery) DeleteTable(ctx context.Context, tableName string) (err error) {
tableRef := bq.db.Dataset(bq.namespace).Table(tableName)
err = tableRef.Delete(ctx)
Expand Down

0 comments on commit 0ca01db

Please sign in to comment.