File tree 2 files changed +3
-0
lines changed
2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -1554,6 +1554,7 @@ class Table extends ServiceObject {
1554
1554
( data : any ) => {
1555
1555
const job = this . bigQuery . job ( data . jobReference . jobId , {
1556
1556
location : data . jobReference . location ,
1557
+ projectId : data . jobReference . projectId ,
1557
1558
} ) ;
1558
1559
job . metadata = data ;
1559
1560
dup . emit ( 'job' , job ) ;
Original file line number Diff line number Diff line change @@ -1783,6 +1783,7 @@ describe('BigQuery/Table', () => {
1783
1783
jobReference : {
1784
1784
jobId : 'job-id' ,
1785
1785
location : 'location' ,
1786
+ projectId : 'project-id' ,
1786
1787
} ,
1787
1788
a : 'b' ,
1788
1789
c : 'd' ,
@@ -1792,6 +1793,7 @@ describe('BigQuery/Table', () => {
1792
1793
assert . strictEqual ( id , metadata . jobReference ! . jobId ) ;
1793
1794
assert . deepStrictEqual ( options , {
1794
1795
location : metadata . jobReference ! . location ,
1796
+ projectId : metadata . jobReference ! . projectId ,
1795
1797
} ) ;
1796
1798
return fakeJob ;
1797
1799
} ;
You can’t perform that action at this time.
0 commit comments