Skip to content

Commit 496845a

Browse files
committed
Python sample, new partitiion by sample
1 parent 45f6a05 commit 496845a

5 files changed

Lines changed: 2 additions & 1 deletion

File tree

samples/features/sql-big-data-cluster/bootstrap-sample-db.sql

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ AS
3232
q.clicks_in_category,
3333
CASE WHEN cd.cd_education_status IN ('Advanced Degree', 'College', '4 yr Degree', '2 yr Degree') THEN 1 ELSE 0 END AS college_education,
3434
CASE WHEN cd.cd_gender = 'M' THEN 1 ELSE 0 END AS male,
35+
COALESCE(cd.cd_credit_rating, 'Unknown') as cd_credit_rating,
3536
q.clicks_in_1,
3637
q.clicks_in_2,
3738
q.clicks_in_3,
@@ -68,7 +69,7 @@ IF NOT EXISTS(SELECT * FROM sys.tables WHERE name = 'sales_models')
6869
CREATE TABLE sales_models (
6970
model_name varchar(100) NOT NULL PRIMARY KEY,
7071
model varbinary(max) NOT NULL,
71-
model_native varbinary(max) NOT NULL,
72+
model_native varbinary(max) NULL,
7273
created_by nvarchar(300) NOT NULL DEFAULT(SYSTEM_USER),
7374
create_time datetime2 NOT NULL DEFAULT(SYSDATETIME())
7475
);
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)