@@ -421,7 +421,7 @@ func TestColumnsWithDirectResults(t *testing.T) {
421421 ctx := driverctx .NewContextWithConnId (context .Background (), "connId" )
422422 ctx = driverctx .NewContextWithCorrelationId (ctx , "corrId" )
423423
424- d , err := NewRows (ctx , nil , client , nil , nil )
424+ d , err := NewRows (ctx , nil , client , nil , nil , nil , nil )
425425 assert .Nil (t , err )
426426
427427 rowSet := d .(* rows )
@@ -720,7 +720,7 @@ func TestRowsCloseOptimization(t *testing.T) {
720720 ctx := driverctx .NewContextWithConnId (context .Background (), "connId" )
721721 ctx = driverctx .NewContextWithCorrelationId (ctx , "corrId" )
722722 opHandle := & cli_service.TOperationHandle {OperationId : & cli_service.THandleIdentifier {GUID : []byte {'f' , 'o' }}}
723- rowSet , _ := NewRows (ctx , opHandle , client , nil , nil )
723+ rowSet , _ := NewRows (ctx , opHandle , client , nil , nil , nil , nil )
724724
725725 // rowSet has no direct results calling Close should result in call to client to close operation
726726 err := rowSet .Close ()
@@ -733,7 +733,7 @@ func TestRowsCloseOptimization(t *testing.T) {
733733 ResultSet : & cli_service.TFetchResultsResp {Results : & cli_service.TRowSet {Columns : []* cli_service.TColumn {}}},
734734 }
735735 closeCount = 0
736- rowSet , _ = NewRows (ctx , opHandle , client , nil , directResults )
736+ rowSet , _ = NewRows (ctx , opHandle , client , nil , directResults , nil , nil )
737737 err = rowSet .Close ()
738738 assert .Nil (t , err , "rows.Close should not throw an error" )
739739 assert .Equal (t , 1 , closeCount )
@@ -746,7 +746,7 @@ func TestRowsCloseOptimization(t *testing.T) {
746746 ResultSetMetadata : & cli_service.TGetResultSetMetadataResp {Schema : & cli_service.TTableSchema {}},
747747 ResultSet : & cli_service.TFetchResultsResp {Results : & cli_service.TRowSet {Columns : []* cli_service.TColumn {}}},
748748 }
749- rowSet , _ = NewRows (ctx , opHandle , client , nil , directResults )
749+ rowSet , _ = NewRows (ctx , opHandle , client , nil , directResults , nil , nil )
750750 err = rowSet .Close ()
751751 assert .Nil (t , err , "rows.Close should not throw an error" )
752752 assert .Equal (t , 0 , closeCount )
@@ -816,7 +816,7 @@ func TestGetArrowBatches(t *testing.T) {
816816
817817 client := getSimpleClient ([]cli_service.TFetchResultsResp {fetchResp1 , fetchResp2 })
818818 cfg := config .WithDefaults ()
819- rows , err := NewRows (ctx , nil , client , cfg , executeStatementResp .DirectResults )
819+ rows , err := NewRows (ctx , nil , client , cfg , executeStatementResp .DirectResults , nil , nil )
820820 assert .Nil (t , err )
821821
822822 rows2 , ok := rows .(dbsqlrows.Rows )
@@ -889,7 +889,7 @@ func TestGetArrowBatches(t *testing.T) {
889889
890890 client := getSimpleClient ([]cli_service.TFetchResultsResp {fetchResp1 , fetchResp2 , fetchResp3 })
891891 cfg := config .WithDefaults ()
892- rows , err := NewRows (ctx , nil , client , cfg , nil )
892+ rows , err := NewRows (ctx , nil , client , cfg , nil , nil , nil )
893893 assert .Nil (t , err )
894894
895895 rows2 , ok := rows .(dbsqlrows.Rows )
@@ -950,7 +950,7 @@ func TestGetArrowBatches(t *testing.T) {
950950
951951 client := getSimpleClient ([]cli_service.TFetchResultsResp {fetchResp1 })
952952 cfg := config .WithDefaults ()
953- rows , err := NewRows (ctx , nil , client , cfg , nil )
953+ rows , err := NewRows (ctx , nil , client , cfg , nil , nil , nil )
954954 assert .Nil (t , err )
955955
956956 rows2 , ok := rows .(dbsqlrows.Rows )
@@ -977,7 +977,7 @@ func TestGetArrowBatches(t *testing.T) {
977977
978978 client := getSimpleClient ([]cli_service.TFetchResultsResp {})
979979 cfg := config .WithDefaults ()
980- rows , err := NewRows (ctx , nil , client , cfg , executeStatementResp .DirectResults )
980+ rows , err := NewRows (ctx , nil , client , cfg , executeStatementResp .DirectResults , nil , nil )
981981 assert .Nil (t , err )
982982
983983 rows2 , ok := rows .(dbsqlrows.Rows )
@@ -1556,7 +1556,7 @@ func TestFetchResultPage_PropagatesGetNextPageError(t *testing.T) {
15561556
15571557 executeStatementResp := cli_service.TExecuteStatementResp {}
15581558 cfg := config .WithDefaults ()
1559- rows , _ := NewRows (ctx , nil , client , cfg , executeStatementResp .DirectResults )
1559+ rows , _ := NewRows (ctx , nil , client , cfg , executeStatementResp .DirectResults , nil , nil )
15601560 // Call Next and ensure it propagates the error from getNextPage
15611561 actualErr := rows .Next (nil )
15621562
0 commit comments