Skip to content

Commit 2b2549c

Browse files
authored
Merge pull request #1163 from data-integrations/fix-bq-read-log
Fixed log message for BQ read errors
2 parents 9cd0f45 + 47580e3 commit 2b2549c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/io/cdap/plugin/gcp/bigquery/sqlengine/BigQueryReadDataset.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,8 +194,8 @@ private SQLReadResult readInternal(SQLReadRequest readRequest,
194194
if (!Objects.equals(srcDataset.getLocation(), destDataset.getLocation())) {
195195
LOG.error("Direct table read is only supported if both datasets are in the same location. "
196196
+ "'{}' is '{}' , '{}' is '{}' .",
197-
sourceDatasetId.getDataset(), srcDataset.getLocation(),
198-
sourceDatasetId.getDataset(), destDataset.getLocation());
197+
sourceDatasetId.getDataset(), srcDataset.getLocation(),
198+
destinationDatasetId.getDataset(), destDataset.getLocation());
199199
return SQLReadResult.unsupported(datasetName);
200200
}
201201

0 commit comments

Comments
 (0)