Skip to content

Commit

Permalink
fix(warehouse): snowflakes user identifies table getting skipped (#3113)
Browse files Browse the repository at this point in the history
  • Loading branch information
achettyiitr committed Mar 17, 2023
1 parent 2abecaa commit dd626b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions warehouse/integrations/docker-compose.test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,7 @@ services:
- BIGQUERY_INTEGRATION_TEST_CREDENTIALS
- REDSHIFT_INTEGRATION_TEST_CREDENTIALS
- SNOWFLAKE_INTEGRATION_TEST_CREDENTIALS
- SNOWFLAKE_RBAC_INTEGRATION_TEST_CREDENTIALS
- DATABRICKS_INTEGRATION_TEST_CREDENTIALS
- BIGQUERY_INTEGRATION_TEST_SCHEMA
- REDSHIFT_INTEGRATION_TEST_SCHEMA
Expand Down
2 changes: 1 addition & 1 deletion warehouse/upload.go
Original file line number Diff line number Diff line change
Expand Up @@ -1192,7 +1192,7 @@ func (job *UploadJob) loadUserTables(loadFilesTableMap map[tableNameT]bool) ([]e
}

// Skip loading user tables if identifies table schema is not present
if identifiesSchema := job.GetTableSchemaInUpload(warehouseutils.IdentifiesTable); len(identifiesSchema) == 0 {
if identifiesSchema := job.GetTableSchemaInUpload(job.identifiesTableName()); len(identifiesSchema) == 0 {
return []error{}, nil
}

Expand Down

0 comments on commit dd626b3

Please sign in to comment.