Closed iMayK closed 4 months ago
Hello Mayank,
The problem you are facing happens because, by default, SQL Server uses some parallelization level, which creates these "Parallelism" nodes. In order to mitigate that, we need to turn off parallelism, i.e., set the parallelism level to 1.
This snippet will do just that (if your database's name is not spider
, change the first line):
USE spider;
GO
EXEC sp_configure 'show advanced options', 1;
GO
RECONFIGURE WITH OVERRIDE;
GO
EXEC sp_configure 'max degree of parallelism', 1;
GO
RECONFIGURE WITH OVERRIDE;
GO
You only need to run this once per database. You can either run this snippet in SQL Server Management Studio or through the sqlcmd
command line tool.
Hi,
I followed the instructions in the
dataset_creation
directory, and Step 1 completed successfully. However, I encountered an error during Step 2.The error seems to be caused by a scenario not covered in
dataset_creation/mssql-execution-plans-to-qpl/src/main/scala/com/beneyal/qpl/parsing.scala
. Specifically, when logicalOp is 'Gather Streams' and physicalOp is 'Parallelism'.Error: