Skip to content

Commit

Permalink
change sql 2008r2 to not build a 1M row table due to a current issue …
Browse files Browse the repository at this point in the history
…being investigated
  • Loading branch information
rgward committed Feb 19, 2019
1 parent 6258ba6 commit b7a231f
Showing 1 changed file with 7 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,17 +66,13 @@ CREATE EXTERNAL TABLE sqlserver.suppliers
DATA_SOURCE=SqlServerInstance
)
GO
-- Note: NOt doing the scan because with CTP 2.3 against a SQL 2008R2 server
-- the query fails when the data source has a large number of rows like 1M
-- This is still being investigated.
--CREATE STATISTICS SupplierNameStatistics ON sqlserver.suppliers ([SupplierName]) WITH FULLSCAN
--0GO
-- Scan the table to make sure it works
-- Note: NOt doing the scan because with CTP 2.3 against a SQL 2008R2 server
-- the query fails when the data source has a large number of rows like 1M
-- This is still being investigated.
--SELECT * FROM sqlserver.suppliers
--GO
CREATE STATISTICS SupplierNameStatistics ON sqlserver.suppliers ([SupplierName]) WITH FULLSCAN
GO

-- Do a quick scan to test it
--
SELECT * FROM sqlserver.suppliers
GO

-- Find a specific supplier
--
Expand Down

0 comments on commit b7a231f

Please sign in to comment.