You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: morpheus-examples/src/main/resources/northwind/sql/northwind_data.sql
+9-9Lines changed: 9 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -57,15 +57,15 @@ INSERT INTO Territories VALUES ('98004','Bellevue',2);
57
57
INSERT INTO Territories VALUES ('98052','Redmond',2);
58
58
INSERT INTO Territories VALUES ('98104','Seattle',2);
59
59
60
-
INSERT INTO Employees VALUES(2,'Fuller','Andrew','Vice President, Sales','Dr.',TO_DATE('1952-02-19','YYYY-MM-DD'),TO_DATE('1992-08-14','YYYY-MM-DD'),'908 W. Capital Way','Tacoma','WA','98401','USA','(206) 555-9482','3457',NULL,NULL,NULL,'http://accweb/emmployees/fuller.bmp');
INSERT INTO Employees VALUES(3,'Leverling','Janet','Sales Representative','Ms.',TO_DATE('1963-08-30','YYYY-MM-DD'),TO_DATE('1992-04-01','YYYY-MM-DD'),'722 Moss Bay Blvd.','Kirkland','WA','98033','USA','(206) 555-3412','3355',NULL,NULL,2,'http://accweb/emmployees/leverling.bmp');
63
-
INSERT INTO Employees VALUES(4,'Peacock','Margaret','Sales Representative','Mrs.',TO_DATE('1937-09-19','YYYY-MM-DD'),TO_DATE('1993-05-03','YYYY-MM-DD'),'4110 Old Redmond Rd.','Redmond','WA','98052','USA','(206) 555-8122','5176',NULL,NULL,2,'http://accweb/emmployees/peacock.bmp');
64
-
INSERT INTO Employees VALUES(5,'Buchanan','Steven','Sales Manager','Mr.',TO_DATE('1955-03-04','YYYY-MM-DD'),TO_DATE('1993-10-17','YYYY-MM-DD'),'14 Garrett Hill','London',NULL,'SW1 8JR','UK','(71) 555-4848','3453',NULL,NULL,2,'http://accweb/emmployees/buchanan.bmp');
65
-
INSERT INTO Employees VALUES(6,'Suyama','Michael','Sales Representative','Mr.',TO_DATE('1963-07-02','YYYY-MM-DD'),TO_DATE('1993-10-17','YYYY-MM-DD'),'Coventry House Miner Rd.','London',NULL,'EC2 7JR','UK','(71) 555-7773','428',NULL,NULL,5,'http://accweb/emmployees/davolio.bmp');
66
-
INSERT INTO Employees VALUES(7,'King','Robert','Sales Representative','Mr.',TO_DATE('1960-05-29','YYYY-MM-DD'),TO_DATE('1994-01-02','YYYY-MM-DD'),'Edgeham Hollow Winchester Way','London',NULL,'RG1 9SP','UK','(71) 555-5598','465',NULL,NULL,5,'http://accweb/emmployees/davolio.bmp');
INSERT INTO Employees VALUES(9,'Dodsworth','Anne','Sales Representative','Ms.',TO_DATE('1966-01-27','YYYY-MM-DD'),TO_DATE('1994-11-15','YYYY-MM-DD'),'7 Houndstooth Rd.','London',NULL,'WG2 7LT','UK','(71) 555-4444','452',NULL,NULL,5,'http://accweb/emmployees/davolio.bmp');
60
+
INSERT INTO Employees VALUES(2,'Fuller','Andrew','Vice President, Sales','Dr.',DATE'1952-02-19',DATE'1992-08-14','908 W. Capital Way','Tacoma','WA','98401','USA','(206) 555-9482','3457',NULL,NULL,NULL,'http://accweb/emmployees/fuller.bmp');
INSERT INTO Employees VALUES(3,'Leverling','Janet','Sales Representative','Ms.',DATE'1963-08-30',DATE'1992-04-01','722 Moss Bay Blvd.','Kirkland','WA','98033','USA','(206) 555-3412','3355',NULL,NULL,2,'http://accweb/emmployees/leverling.bmp');
63
+
INSERT INTO Employees VALUES(4,'Peacock','Margaret','Sales Representative','Mrs.',DATE'1937-09-19',DATE'1993-05-03','4110 Old Redmond Rd.','Redmond','WA','98052','USA','(206) 555-8122','5176',NULL,NULL,2,'http://accweb/emmployees/peacock.bmp');
64
+
INSERT INTO Employees VALUES(5,'Buchanan','Steven','Sales Manager','Mr.',DATE'1955-03-04',DATE'1993-10-17','14 Garrett Hill','London',NULL,'SW1 8JR','UK','(71) 555-4848','3453',NULL,NULL,2,'http://accweb/emmployees/buchanan.bmp');
65
+
INSERT INTO Employees VALUES(6,'Suyama','Michael','Sales Representative','Mr.',DATE'1963-07-02',DATE'1993-10-17','Coventry House Miner Rd.','London',NULL,'EC2 7JR','UK','(71) 555-7773','428',NULL,NULL,5,'http://accweb/emmployees/davolio.bmp');
66
+
INSERT INTO Employees VALUES(7,'King','Robert','Sales Representative','Mr.',DATE'1960-05-29',DATE'1994-01-02','Edgeham Hollow Winchester Way','London',NULL,'RG1 9SP','UK','(71) 555-5598','465',NULL,NULL,5,'http://accweb/emmployees/davolio.bmp');
// Required for left outer join without join expressions in OPTIONAL MATCH (leads to cartesian product)
103
103
conf.set("spark.sql.crossJoin.enabled", "true")
104
104
// We should probably remove this setting. Hide errors like: You're using untyped Scala UDF, which does not have the input type information. Spark may blindly pass null to the Scala closure with primitive-type argument, and the closure will see the default value of the Java type for the null argument, e.g. `udf((x: Int) => x, IntegerType)`, the result is 0 for null input.
0 commit comments