From f14be6ef943601fb309774064d0a46d8ab1ba658 Mon Sep 17 00:00:00 2001 From: Umachandar Jayachandran Date: Thu, 18 Oct 2018 16:41:41 -0700 Subject: [PATCH] Removed -o in Linux since some version of bcp doesn't support it --- samples/features/sql-big-data-cluster/bootstrap-sample-db.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/features/sql-big-data-cluster/bootstrap-sample-db.sh b/samples/features/sql-big-data-cluster/bootstrap-sample-db.sh index a707f42a..c869f5b1 100644 --- a/samples/features/sql-big-data-cluster/bootstrap-sample-db.sh +++ b/samples/features/sql-big-data-cluster/bootstrap-sample-db.sh @@ -39,7 +39,7 @@ for table in web_clickstreams inventory do echo Exporting $table data... # WSL ex: "/mnt/c/Program Files/Microsoft SQL Server/Client SDK/ODBC/130/Tools/Binn/bcp.exe" - $DEBUG bcp sales.dbo.$table out "$table.csv" -S $SQL_MASTER_INSTANCE -Usa -P$SQL_MASTER_SA_PASSWORD -c -t, -o "$table.out" -e "$table.err" || (echo $ERROR_MESSAGE && exit 3) + $DEBUG bcp sales.dbo.$table out "$table.csv" -S $SQL_MASTER_INSTANCE -Usa -P$SQL_MASTER_SA_PASSWORD -c -t, -e "$table.err" || (echo $ERROR_MESSAGE && exit 3) done # Copy the data file to HDFS