Steps to Reproduce:
Connect to a BDC running CU5
Pick any User Database
Run the "Virtualize Data" Wizard
Pick SQL Server as your Source
Provide master key, data source and credentials (I used another BDC and an azure SQL DB with adventureworksLT to test)
in the table selection dialogue:
expand tables, select one table, click on that table: columns don't load and the wizard is now non-functioning.
We need more info to debug your particular issue. If you could attach your logs to the issue (ensure no private data is in them), it would help us fix the issue much faster.
To find your logs:
Developer: Open Logs FolderThis will open the log file locally. Please include renderer.log
Full logs attached. Also, happy to jump on a call or try a preview VSIX if that helps.
In the meantime - putting the instructions here for anyone else hitting issues using the new version of the Wizard.
To roll back and use the previous version of the Wizard :

That should revert back to the previous version of the extension. Note that by doing this you will only be able to virtualize data from SQL and Oracle instances again - MongoDB and Teradata won't be supported.
@bweissman Does this happen even if you create a smaller source database? There's some perf issues with larger databases that I'm going to look into improving, but I want to make sure there's nothing else you might be running in to as well.
It even happens with adventureworksLT - switching back to CU4 or the previous extension fixes it for me so far consistently every single time.
Could you run this command on the BDC that has CU5 (replacing the data_source value with the name of the External Data Source you created for your source server)
declare @data_source SYSNAME = <External Data Source Name here>;
declare @object_root_name NVARCHAR(MAX) = NULL;
declare @max_search_depth INT = 3;
EXEC sp_data_source_objects @data_source, @object_root_name, @max_search_depth
I just want to know if it runs successfully and about how long it took - no need to paste the contents.
If that runs successfully could you then still try just making an empty database/table and virtualizing that to make sure it's not just a perf issue?
The query works. Takes 5 seconds on first run, 1 second after that.
Doing this with an empty database doesn't help as the error requires me to select a table.
When doing it with a database that only holds one table, same error occurs.
Also, just tried on a non-BDC SQL Server 2019 CU5 running on Linux: same issue
And on Windows CU5: same
And when you say "error" - there isn't any actual error that pops up right? It just doesn't do anything?
Could you capture a recording of you going through the wizard and hitting this? I want to make sure I'm not missing anything here since currently I'm not able to repro this myself with similar setups.
@bweissman Ok so we've identified an issue with the geography type. This is unfortunately an issue with the Polybase backend so isn't something we can fix on the extension side. We'll work on a fix which should be included in CU7 but there isn't any workaround aside from not virtualizing tables with that type aside from rolling back to a previous version of the extension.
You're saying you see this even with a simple table though?
@bweissman Alright, I've made a change to how we fetch the data that should help with the perf problems I mentioned before. When you get a chance could try it out and let me know if you're still seeing issues?
File -> Install Extension Package from VSIXThis version of the extension fixes the issue! Thanks!
@bweissman Alright, I've published the new extension to the gallery. I'd suggest uninstalling the current version and then reinstalling from the gallery. Thanks for the help tracking down these issues!
Most helpful comment
20200625T152100.zip
Full logs attached. Also, happy to jump on a call or try a preview VSIX if that helps.