1- DROP TABLE IF EXISTS ibis_testing .dbo .diamonds;
1+ DROP TABLE IF EXISTS [ibis - testing] .dbo .diamonds ;
22
3- CREATE TABLE ibis_testing .dbo .diamonds (
3+ CREATE TABLE [ibis - testing] .dbo .diamonds (
44 carat FLOAT,
55 cut VARCHAR (MAX),
66 color VARCHAR (MAX),
@@ -17,13 +17,13 @@ CREATE TABLE ibis_testing.dbo.diamonds (
1717-- /data is a volume mount to the ibis testing data
1818-- used for snappy test data loading
1919-- DataFrame.to_sql is unusably slow for loading CSVs
20- BULK INSERT ibis_testing .dbo .diamonds
20+ BULK INSERT [ibis - testing] .dbo .diamonds
2121FROM ' /data/diamonds.csv'
2222WITH (FORMAT = ' CSV' , FIELDTERMINATOR = ' ,' , ROWTERMINATOR = ' \n ' , FIRSTROW = 2 )
2323
24- DROP TABLE IF EXISTS ibis_testing .dbo .astronauts;
24+ DROP TABLE IF EXISTS [ibis - testing] .dbo .astronauts ;
2525
26- CREATE TABLE ibis_testing .dbo .astronauts (
26+ CREATE TABLE [ibis - testing] .dbo .astronauts (
2727 " id" BIGINT ,
2828 " number" BIGINT ,
2929 " nationwide_number" BIGINT ,
@@ -50,13 +50,13 @@ CREATE TABLE ibis_testing.dbo.astronauts (
5050 " total_eva_hrs" DOUBLE PRECISION
5151);
5252
53- BULK INSERT ibis_testing .dbo .astronauts
53+ BULK INSERT [ibis - testing] .dbo .astronauts
5454FROM ' /data/astronauts.csv'
5555WITH (FORMAT = ' CSV' , FIELDTERMINATOR = ' ,' , ROWTERMINATOR = ' \n ' , FIRSTROW = 2 )
5656
57- DROP TABLE IF EXISTS ibis_testing .dbo .batting;
57+ DROP TABLE IF EXISTS [ibis - testing] .dbo .batting ;
5858
59- CREATE TABLE ibis_testing .dbo .batting (
59+ CREATE TABLE [ibis - testing] .dbo .batting (
6060 " playerID" VARCHAR (MAX),
6161 " yearID" BIGINT ,
6262 stint BIGINT ,
@@ -81,13 +81,13 @@ CREATE TABLE ibis_testing.dbo.batting (
8181 " GIDP" BIGINT
8282);
8383
84- BULK INSERT ibis_testing .dbo .batting
84+ BULK INSERT [ibis - testing] .dbo .batting
8585FROM ' /data/batting.csv'
8686WITH (FORMAT = ' CSV' , FIELDTERMINATOR = ' ,' , ROWTERMINATOR = ' \n ' , FIRSTROW = 2 )
8787
88- DROP TABLE IF EXISTS ibis_testing .dbo .awards_players;
88+ DROP TABLE IF EXISTS [ibis - testing] .dbo .awards_players ;
8989
90- CREATE TABLE ibis_testing .dbo .awards_players (
90+ CREATE TABLE [ibis - testing] .dbo .awards_players (
9191 " playerID" VARCHAR (MAX),
9292 " awardID" VARCHAR (MAX),
9393 " yearID" BIGINT ,
@@ -96,13 +96,13 @@ CREATE TABLE ibis_testing.dbo.awards_players (
9696 notes VARCHAR (MAX)
9797);
9898
99- BULK INSERT ibis_testing .dbo .awards_players
99+ BULK INSERT [ibis - testing] .dbo .awards_players
100100FROM ' /data/awards_players.csv'
101101WITH (FORMAT = ' CSV' , FIELDTERMINATOR = ' ,' , ROWTERMINATOR = ' \n ' , FIRSTROW = 2 )
102102
103- DROP TABLE IF EXISTS ibis_testing .dbo .functional_alltypes;
103+ DROP TABLE IF EXISTS [ibis - testing] .dbo .functional_alltypes ;
104104
105- CREATE TABLE ibis_testing .dbo .functional_alltypes (
105+ CREATE TABLE [ibis - testing] .dbo .functional_alltypes (
106106 id INTEGER ,
107107 bool_col BIT ,
108108 tinyint_col SMALLINT ,
@@ -118,21 +118,21 @@ CREATE TABLE ibis_testing.dbo.functional_alltypes (
118118 month INTEGER
119119);
120120
121- BULK INSERT ibis_testing .dbo .functional_alltypes
121+ BULK INSERT [ibis - testing] .dbo .functional_alltypes
122122FROM ' /data/functional_alltypes.csv'
123123WITH (FORMAT = ' CSV' , FIELDTERMINATOR = ' ,' , ROWTERMINATOR = ' \n ' , FIRSTROW = 2 )
124124
125- DROP TABLE IF EXISTS ibis_testing .dbo .win;
125+ DROP TABLE IF EXISTS [ibis - testing] .dbo .win ;
126126
127- CREATE TABLE ibis_testing .dbo .win (g VARCHAR (MAX), x BIGINT NOT NULL , y BIGINT );
128- INSERT INTO ibis_testing .dbo .win VALUES
127+ CREATE TABLE [ibis - testing] .dbo .win (g VARCHAR (MAX), x BIGINT NOT NULL , y BIGINT );
128+ INSERT INTO [ibis - testing] .dbo .win VALUES
129129 (' a' , 0 , 3 ),
130130 (' a' , 1 , 2 ),
131131 (' a' , 2 , 0 ),
132132 (' a' , 3 , 1 ),
133133 (' a' , 4 , 1 );
134134
135- DROP TABLE IF EXISTS ibis_testing .dbo .topk;
135+ DROP TABLE IF EXISTS [ibis - testing] .dbo .topk ;
136136
137- CREATE TABLE ibis_testing .dbo .topk (x BIGINT );
138- INSERT INTO ibis_testing .dbo .topk VALUES (1 ), (1 ), (NULL );
137+ CREATE TABLE [ibis - testing] .dbo .topk (x BIGINT );
138+ INSERT INTO [ibis - testing] .dbo .topk VALUES (1 ), (1 ), (NULL );
0 commit comments