Hello everyone,
I am copying a previously opened thread, since I am encountering the exact the same issue, I just updated the version of Alteryx Desktop, the link is provided below:
Alteryx changes my sql code by adding spaces before and after dash/hypen.
Step 1 I put this functioning workflow into the SQL Editor:
Select *
from `alpha-data-main-bfg.D6_FACT_MAC.WJ_BT_APPLES`
(works great)
Step 2. Click on the Visual Query Builder and add/remove columns / change anything.
Then click back on SQL Editor and my code has changed to
Select *
from `alpha - data - main - bfg.D6_FACT_MAC.WJ_BT_APPLES`
(spaces added before and after dashes)
Now my query won't run and gives error messages indicating that the data source doesn't exist.
So i have to go back in and find/replace to remove the spaces Alteryx added.
Is this a known problem with a solution?
I'm on Version: 2021.3.4.00445
Previous thread: https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Alteryx-SQL-Editor-adding-spaces-before-and-after-dashes/td-p/839026