Forum Discussion
Ariunbold_Chimeddorj
Jan 05, 2021Copper Contributor
Sql server 2019 polybase: 100001;Failed to generate query plan.
Hello all, I have enabled the polybase on my sql server. When i try to create external data source, below error throws. What is the cause of this error? Error: 100001;Failed to generate query plan...
DennesTorres
Jan 05, 2021MVP
Ariunbold_Chimeddorj Verify if the polybase services are enabled on the server and show us the statement you are using.
Ariunbold_Chimeddorj
Feb 03, 2021Copper Contributor
Yes, it is enabled on the server. I can query external tables but external table contains column with decimal type, it throws this error. Workaround is cast the decimal columns when execute the select statement.
Ex: select cast(a as float) from external_table;
Ex: select cast(a as float) from external_table;